/* --- GLOBAL STYLES --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa; /* Background sedikit lebih terang */
    font-size: 0.9rem; /* Ukuran font global diperkecil */
}
/* --- SIDEBAR TOGGLE / COLLAPSED STYLES --- */

/* Transisi halus saat sidebar berubah ukuran */
.sidebar, .main-content {
    transition: all 0.3s ease;
}

/* Kondisi Sidebar Mengecil (Desktop) */
.sidebar.collapsed {
    width: 80px; /* Lebar hanya cukup untuk ikon */
}

.sidebar.collapsed .sidebar-text, 
.sidebar.collapsed .logo-text,
.sidebar.collapsed small {
    display: none; /* Sembunyikan teks */
}

.sidebar.collapsed .logo-box-square {
    margin-right: 0 !important;
}

.sidebar.collapsed .nav-link-custom {
    justify-content: center; /* Ikon ke tengah */
    padding: 15px 0;
}

.sidebar.collapsed .nav-link-custom i {
    margin-right: 0;
    font-size: 1.4rem;
}

/* Sesuaikan konten utama saat sidebar mengecil */
.main-content.expanded {
    margin-left: 80px;
}

/* Tombol Toggle Sidebar */
.sidebar-toggle-btn {
    position: absolute;
    top: 20px;
    right: -15px; /* Keluar sedikit dari sidebar */
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1001;
    color: #0083b0;
}

.sidebar-toggle-btn:hover {
    background-color: #f8f9fa;
}

/* Mobile Toggle Button (Navbar) */
.mobile-nav-toggle {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: #333;
}
/* --- NEW SPLIT SCREEN AUTH STYLES --- */
.auth-container {
    height: 100vh;
    overflow: hidden; /* Mencegah scrollbar jika tidak perlu */
}

/* Bagian Kiri (Gambar) */
.auth-left {
    background-image: url('https://images.unsplash.com/photo-1576086213369-97a306d36557?q=80&w=2080&auto=format&fit=crop'); /* Gambar Placeholder Lab */
    background-size: cover;
    background-position: center;
    position: relative;
    /* Overlay biru transparan agar teks terbaca jika gambar gelap/terang */
    box-shadow: inset 0 0 0 2000px rgba(0, 131, 176, 0.2); 
}

/* Teks Copyright di pojok kiri bawah gambar */
.auth-copyright {
    position: absolute;
    bottom: 30px;
    left: 40px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Bagian Kanan (Form) */
.auth-right {
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 400px; /* Membatasi lebar form agar tidak terlalu lebar */
}

/* Form Input Styling sesuai Referensi */
.form-label-auth {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.form-control-auth {
    background-color: #fff;
    border: 1px solid #ced4da;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control-auth:focus {
    border-color: #0083b0;
    box-shadow: 0 0 0 3px rgba(0, 131, 176, 0.1);
}

/* Button Sign In */
.btn-auth-primary {
    background-color: #0d6efd; /* Biru terang seperti referensi */
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-auth-primary:hover {
    background-color: #0b5ed7;
}

/* Responsive: Sembunyikan gambar di HP */
@media (max-width: 992px) {
    .auth-left {
        display: none;
    }
    .auth-right {
        height: 100vh;
    }
}

/* --- SIDEBAR --- */
.sidebar {
    width: 250px;
    background: white;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    border-right: 1px solid #eee;
    z-index: 1000;
}

.main-content {
    margin-left: 250px;
    padding: 30px;
    min-height: 100vh;
}

/* Logo Box Square */
.logo-box-square {
    width: 40px;
    height: 40px;
    background-color: #0083b0;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Menu Navigasi */
.nav-link-custom {
    color: #6c757d;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.nav-link-custom i {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Active State seperti screenshot: Background biru muda, teks biru tua */
.nav-link-custom:hover, .nav-link-custom.active {
    background-color: #e0f2fe; /* Light Blue */
    color: #0284c7; /* Dark Blue */
}

/* --- CARD & BUTTONS --- */
.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    background-color: white;
}

.btn-primary-custom {
    background-color: #0083b0;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #006080;
}

/* --- USER DROPDOWN --- */
.user-dropdown .dropdown-toggle::after {
    display: none; /* Hilangkan panah default */
}
.materi-dropdown .dropdown-toggle::after {
    display: none; /* Hilangkan panah default */
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #0083b0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.mhs-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #198754;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
/* --- TABLE COMPACT --- */
.table-compact th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 700;
    padding: 12px;
}
.table-compact td {
    font-size: 0.85rem;
    padding: 12px;
    vertical-align: middle;
}
.img-thumbnail-small {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}
/* --- LANDING PAGE (INDEX) STYLES --- */
body.landing-page {
    /* Background Biru Gelap sesuai referensi */
    background-color: #082846; 
    background-image: radial-gradient(circle at 10% 20%, #0d3b66 0%, #082846 90%);
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header Logo di Kanan Atas */
.landing-header {
    padding: 30px 50px;
    display: flex;
    justify-content: flex-end; /* Logo di kanan */
    align-items: center;
}

.landing-logo-text {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1.2rem;
    color: #a4b0be;
    margin-left: 10px;
    text-transform: uppercase;
}

.landing-logo-icon {
    width: 35px;
    height: 35px;
    background: white; /* Logo putih kotak */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #082846;
    font-weight: bold;
}

/* Konten Utama (Tengah Kiri) */
.landing-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 10%; /* Indentasi dari kiri */
    padding-right: 5%;
}

.landing-tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #a4b0be;
    margin-bottom: 10px;
    font-weight: 500;
}

.landing-title {
    font-size: 3.5rem; /* Ukuran font besar */
    font-weight: 700;
    margin-bottom: 20px;
    color: #4dd0e1; /* Warna Cyan Terang seperti di gambar */
    line-height: 1.2;
}

.landing-desc {
    font-size: 1.1rem;
    color: #dcdde1;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.5;
}

/* Tombol Khusus Landing */
.btn-landing {
    padding: 15px 35px;
    border-radius: 50px; /* Bentuk Pill/Lonjong */
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: none;
    transition: transform 0.2s;
}

.btn-landing:hover {
    transform: translateY(-3px);
}

.btn-landing-primary {
    background-color: #0077c2; /* Biru terang */
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 194, 0.4);
}

.btn-landing-secondary {
    background-color: #cfd8dc; /* Abu-abu terang */
    color: #37474f;
    margin-left: 15px;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    .landing-content-wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }
    .landing-title {
        font-size: 2.5rem;
    }
    .btn-landing {
        width: 100%;
        margin-bottom: 10px;
        margin-left: 0;
        display: block;
    }
}
/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; padding: 15px; }
}
/* Custom Icon SVG Style */
.icon-microscope {
    width: 16px;
    height: 16px;
    fill: currentColor; /* Mengikuti warna teks (text-primary) */
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px; /* Jarak ke teks */
}
/* --- PROGRESS PAGE STYLES --- */

/* Membuat ikon status bisa diklik */
.status-clickable {
    cursor: pointer;
    transition: transform 0.2s;
}

.status-clickable:hover {
    transform: scale(1.2); /* Efek membesar sedikit saat di-hover */
}

/* Styling Gambar di dalam Modal */
.modal-evidence-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
    background-color: #f8f9fa;
}

/* Styling Search Bar agar rounded */
.search-rounded {
    border-radius: 50px;
    padding-left: 20px;
}