/**
 * 审核人日管理系统 - 自定义样式
 */

:root {
    --primary: #0d6efd;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background-color: #f5f7fa;
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 1px;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.upload-zone {
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.upload-zone:hover {
    background: #f0f4ff;
    border-color: var(--primary);
}

.table th {
    font-weight: 600;
    color: #495057;
    border-bottom-width: 1px;
}

.table td {
    vertical-align: middle;
    padding: 0.75rem 1rem;
}

.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.5s ease;
}

.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}

.list-group-item {
    border-left: none;
    border-right: none;
    padding: 1rem 1.25rem;
}

.list-group-item:first-child {
    border-top: none;
}

.btn {
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-1px);
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    border-color: #dee2e6;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.alert {
    border: none;
    border-radius: 10px;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: none;
    color: #495057;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
}

.text-truncate {
    max-width: 200px;
}

footer {
    border-top: 1px solid #f0f0f0;
}

/* 登录页 */
.min-vh-100 {
    min-height: 100vh !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    .table th, .table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease;
}

/* 加载状态 */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}
