/* =============================================
   Sistem Pengajuan Cuti Pegawai
   Kabupaten Seluma, Provinsi Bengkulu
   Custom Stylesheet
   ============================================= */

:root {
    --primary: #1a3a5c;
    --primary-light: #244e7a;
    --primary-dark: #0f2440;
    --secondary: #d4a937;
    --secondary-light: #e8c45a;
    --accent: #28a745;
    --danger: #dc3545;
    --info: #17a2b8;
    --warning: #ffc107;
    --bg-light: #f4f6f9;
    --bg-white: #ffffff;
    --sidebar-width: 260px;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-lg: 0 5px 25px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* =============================================
   Scrollbar
   ============================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* =============================================
   Landing Page / Beranda
   ============================================= */
.navbar-landing {
    background: var(--primary) !important;
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.navbar-landing .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-landing .navbar-brand i {
    color: var(--secondary);
    font-size: 1.5rem;
}

.navbar-landing .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
}

.navbar-landing .nav-link:hover,
.navbar-landing .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.1);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: rgba(212, 169, 55, 0.1);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-hero-primary {
    background: var(--secondary);
    color: var(--primary-dark);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--secondary-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212,169,55,0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #fff;
    font-size: 1.75rem;
}

.feature-card h5 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.landing-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
}

.landing-footer a {
    color: var(--secondary);
    text-decoration: none;
}

/* =============================================
   Ketentuan Cuti ASN Section
   ============================================= */
.section-title-main {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title-main.text-white {
    color: #fff !important;
}

.section-title-main.text-white::after {
    background: var(--secondary);
}

.ketentuan-card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.ketentuan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ketentuan-card-header {
    background: var(--primary) !important;
    color: #fff;
    border: none;
    padding: 1rem 1.25rem;
}

.ketentuan-card-header-alt {
    background: var(--secondary) !important;
    color: var(--primary-dark);
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.ketentuan-card-header h5,
.ketentuan-card-header-alt h5 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ketentuan-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.ketentuan-list li i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.hak-cuti-list li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.hak-cuti-list li:last-child {
    border-bottom: none;
}

.ketentuan-ol {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.ketentuan-ol li {
    margin-bottom: 0.75rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.ketentuan-ol li:last-child {
    margin-bottom: 0;
}

.ketentuan-sub-list {
    list-style-type: disc;
    padding-left: 1.25rem;
}

.ketentuan-sub-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* =============================================
   Alur Proses Section
   ============================================= */
.alur-section {
    background: #FFF8E7;
    position: relative;
    overflow: hidden;
}

.alur-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: rgba(212, 169, 55, 0.07);
    border-radius: 50%;
}

.alur-flow-container {
    max-width: 900px;
    margin: 0 auto;
}

.alur-step {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    margin: 0.5rem;
    transition: var(--transition);
}

.alur-step:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.alur-step-highlight {
    background: rgba(212,169,55,0.2);
    border-color: var(--secondary);
}

.alur-step-decision {
    background: rgba(255,193,7,0.15);
    border-color: var(--warning);
    border-width: 2px;
}

.alur-step-finish {
    background: rgba(40,167,69,0.2);
    border-color: var(--accent);
}

.alur-number {
    width: 42px;
    height: 42px;
    background: var(--secondary);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(212,169,55,0.4);
}

.alur-number-decision {
    background: var(--warning);
    box-shadow: 0 3px 10px rgba(255,193,7,0.4);
}

.alur-number-finish {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 3px 10px rgba(40,167,69,0.4);
}

.alur-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.alur-connector {
    color: var(--secondary);
    font-size: 1.5rem;
    padding: 0.25rem 0;
    opacity: 0.7;
}

.alur-branch {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-align: center;
    margin: 0.5rem;
}

.alur-branch-no {
    background: rgba(220,53,69,0.2);
    border: 1px solid rgba(220,53,69,0.4);
}

.alur-branch-yes {
    background: rgba(40,167,69,0.2);
    border: 1px solid rgba(40,167,69,0.4);
}

.alur-branch-label {
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.alur-branch-no .alur-branch-label {
    color: #ff6b6b;
}

.alur-branch-yes .alur-branch-label {
    color: #51cf66;
}

.alur-branch-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}

/* =============================================
   Auth Pages
   ============================================= */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 2rem;
}

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.auth-header i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.auth-header h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.auth-header p {
    opacity: 0.85;
    font-size: 0.9rem;
}

.auth-body {
    padding: 2rem;
}

.auth-body .form-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.auth-body .form-control {
    border-radius: 8px;
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
}

.auth-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.15);
}

.btn-auth {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: var(--transition);
}

.btn-auth:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}

/* =============================================
   Sidebar
   ============================================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition);
}

.sidebar-header {
    padding: 1.5rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--secondary);
    font-size: 1.75rem;
}

.sidebar-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sidebar-nav {
    padding: 1rem 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
}

.sidebar-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.sidebar-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 600;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 4px;
    height: 30px;
    background: var(--secondary);
    border-radius: 0 4px 4px 0;
}

.sidebar-link i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}

.sidebar-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 0.5rem 0;
}

/* =============================================
   Main Content Area
   ============================================= */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
}

.topbar {
    background: #fff;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
}

.topbar-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    display: none;
    padding: 0.25rem;
}

.topbar-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.topbar-user .user-avatar {
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.content-wrapper {
    padding: 1.5rem;
}

/* =============================================
   Cards & Stats
   ============================================= */
.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card.warning { border-left-color: var(--warning); }
.stat-card.info { border-left-color: var(--info); }
.stat-card.success { border-left-color: var(--accent); }
.stat-card.danger { border-left-color: var(--danger); }

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.stat-card .stat-icon.bg-primary-light { background: var(--primary); }
.stat-card .stat-icon.bg-warning-light { background: var(--warning); color: var(--text-dark); }
.stat-card .stat-icon.bg-info-light { background: var(--info); }
.stat-card .stat-icon.bg-success-light { background: var(--accent); }
.stat-card .stat-icon.bg-danger-light { background: var(--danger); }

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* =============================================
   Tables
   ============================================= */
.card-custom {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: none;
    overflow: hidden;
}

.card-custom .card-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.card-custom .card-body {
    padding: 1.25rem 1.5rem;
}

.table-custom {
    margin-bottom: 0;
}

.table-custom thead th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.table-custom tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.table-custom tbody tr:hover {
    background: rgba(26, 58, 92, 0.03);
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}

.btn-success-custom {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-success-custom:hover {
    background: #218838;
    color: #fff;
}

.btn-danger-custom {
    background: var(--danger);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-danger-custom:hover {
    background: #c82333;
    color: #fff;
}

.btn-warning-custom {
    background: var(--warning);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

.btn-action {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* =============================================
   Form Styles
   ============================================= */
.form-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section .form-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-section .form-control,
.form-section .form-select {
    border-radius: 8px;
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--border-color);
    transition: var(--transition);
    font-size: 0.9rem;
}

.form-section .form-control:focus,
.form-section .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.15);
}

.form-section .form-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-light);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(26, 58, 92, 0.03);
}

.upload-area i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* =============================================
   Search & Filter Bar
   ============================================= */
.search-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-bar .form-control,
.search-bar .form-select {
    border-radius: 8px;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem;
    border: 1.5px solid var(--border-color);
}

.search-bar .form-control:focus,
.search-bar .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}

/* =============================================
   Status Timeline
   ============================================= */
.status-timeline {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 1rem 0;
}

.timeline-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.timeline-step::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-step:last-child::after {
    display: none;
}

.timeline-step.active::after {
    background: var(--accent);
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 1rem;
}

.timeline-step.active .timeline-dot {
    background: var(--accent);
}

.timeline-step.current .timeline-dot {
    background: var(--info);
    animation: pulse 2s infinite;
}

.timeline-step.rejected .timeline-dot {
    background: var(--danger);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(23, 162, 184, 0); }
    100% { box-shadow: 0 0 0 0 rgba(23, 162, 184, 0); }
}

.timeline-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* =============================================
   Welcome / Dashboard User
   ============================================= */
.welcome-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.welcome-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.welcome-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.welcome-card p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* =============================================
   Step Cards for Tata Cara
   ============================================= */
.step-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-card h6 {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =============================================
   Print Styles
   ============================================= */
@media print {
    .sidebar, .topbar, .no-print, .btn {
        display: none !important;
    }
    .main-content {
        margin-left: 0 !important;
    }
    .content-wrapper {
        padding: 0 !important;
    }
    body {
        background: #fff !important;
    }
    .card-custom {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .topbar-toggle {
        display: block;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }

    .sidebar-overlay.show {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .content-wrapper {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .stat-card {
        margin-bottom: 0.75rem;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .auth-card {
        margin: 0 0.5rem;
    }
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
}

/* =============================================
   File Viewer
   ============================================= */
#fileViewerBody canvas {
    max-width: 100%;
    height: auto;
}

#fileViewerBody img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.file-preview-btn {
    cursor: pointer;
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.file-preview-btn:hover {
    color: var(--primary-light);
}

/* =============================================
   Checkbox Export
   ============================================= */
.export-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* =============================================
   Detail Page
   ============================================= */
.detail-group {
    margin-bottom: 0.75rem;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.15rem;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}
