/* judgment.css - 判决结果界面样式 */

/* 基础和容器 */
body {
    font-family: 'Noto Serif SC', serif;
    margin: 0;
    padding: 0;
    background-color: #2c3e50; /* 深色背景 */
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* iOS状态栏样式 (从 courtroom.css 复制并适配) */
.ios-statusbar {
    height: 24px;
    background-color: rgba(10, 15, 20, 0.8); /* 更深的半透明背景 */
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.status-icons i {
    margin-left: 6px;
}

.judgment-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    /* 添加背景图片 */
    background-image: url('../assets/images/bg/fail.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden; /* 隐藏容器溢出 */
}

/* 背景遮罩 */
.judgment-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 40, 54, 0.85) 0%, rgba(30, 40, 54, 0.95) 100%);
    z-index: 0;
}

/* 标题 */
.judgment-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    position: relative; /* 确保在遮罩上方 */
    z-index: 1;
}

/* 判决书滚动区域和样式 */
.verdict-scroll {
    flex: 1; /* 占据剩余空间 */
    overflow-y: auto; /* 允许内容滚动 */
    margin-bottom: 20px;
    position: relative; /* 确保在遮罩上方 */
    z-index: 1;
    /* 细化滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.verdict-scroll::-webkit-scrollbar {
    width: 6px;
}

.verdict-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.verdict-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.verdict-paper {
    background-color: rgba(245, 245, 220, 0.9); /* 泛黄纸张效果 */
    color: #333;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-size: 15px;
}

.verdict-paper h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a2533;
}

.verdict-section {
    margin-bottom: 20px;
}

.verdict-section h3 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #5c3c20; /* 深棕色小标题 */
    border-bottom: 1px solid rgba(92, 60, 32, 0.2);
    padding-bottom: 4px;
}

.verdict-section p,
.verdict-section ol {
    margin-bottom: 10px;
}

.verdict-section ol {
    padding-left: 25px;
}

.judge-signature {
    margin-top: 30px;
    text-align: right;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.judge-signature p {
    margin-bottom: 5px;
}

/* 按钮组和按钮 */
.button-group {
    display: flex;
    justify-content: space-around; /* 分散对齐 */
    gap: 15px;
    padding-top: 15px; /* 增加与上方内容的间距 */
    position: relative; /* 确保在遮罩上方 */
    z-index: 1;
    flex-shrink: 0; /* 防止按钮被压缩 */
}

.judgment-btn {
    flex: 1; /* 让按钮平分空间 */
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.judgment-btn i {
    font-size: 18px;
}

.knowledge-btn {
    background-color: #3498db; /* 蓝色 */
    color: #fff;
    border: 1px solid #2980b9;
}

.knowledge-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

.back-btn {
    background-color: #bdc3c7; /* 灰色 */
    color: #34495e;
    border: 1px solid #a5aaae;
}

.back-btn:hover {
    background-color: #a5aaae;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}

/* 可选：添加一些响应式调整 */
@media (max-width: 480px) {
    .judgment-container {
        padding: 15px;
    }
    .judgment-title {
        font-size: 24px;
    }
    .verdict-paper {
        padding: 20px;
        font-size: 14px;
    }
    .verdict-paper h2 {
        font-size: 18px;
    }
    .verdict-section h3 {
        font-size: 15px;
    }
    .judgment-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    .judgment-btn i {
        font-size: 16px;
    }
} 