/**
 * Tema ANBK / UNBK (Asesmen & Ujian Nasional Berbasis Komputer)
 * Palet Warna Resmi Puspendik / Pusmendik Kemdikbudristek
 * - Deep Navy Blue: #112c4e / #173f6e
 * - Accent Gold / Amber: #f39c12 / #e67e22
 * - Clean Slate: #f4f6fa
 */

/* ==========================================
   GLOBAL & BODY
   ========================================== */
body {
    background-color: #f0f3f8 !important;
    font-family: 'Open Sans', 'Segoe UI', Helvetica, Arial, sans-serif !important;
    color: #333333;
}

/* ==========================================
   TOP NAVBAR (ANBK NAVY HEADER)
   ========================================== */
.navbar-fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar .navbar-inner {
    background: linear-gradient(135deg, #102744 0%, #173d6b 100%) !important;
    border-bottom: 3px solid #f39c12 !important;
    box-shadow: 0 3px 12px rgba(16, 39, 68, 0.25) !important;
    min-height: 48px;
    padding-left: 20px;
    padding-right: 20px;
}

.navbar .brand {
    color: #ffffff !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    padding: 12px 20px 12px 0;
}

.navbar .brand .brand-txt {
    color: #ffffff !important;
    font-size: 18px;
}

.navbar .nav > li > a {
    color: #f0f4f9 !important;
    text-shadow: none !important;
    font-weight: 600;
    padding: 14px 15px;
    transition: all 0.2s ease;
}

.navbar .nav > li > a:hover,
.navbar .nav > li > a:focus {
    color: #ffcf40 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar .nav li.dropdown.open > .dropdown-toggle,
.navbar .nav li.dropdown.active > .dropdown-toggle {
    background-color: rgba(0, 0, 0, 0.25) !important;
    color: #ffcf40 !important;
}

.navbar .nav .dropdown-menu {
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #dce2eb;
}

.navbar .navbar-search .search-query,
.navbar .navbar-search input[type="text"] {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 20px 0 0 20px !important;
    box-shadow: none !important;
}

.navbar .navbar-search input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.navbar .navbar-search .btn {
    border-radius: 0 20px 20px 0 !important;
    background: #f39c12 !important;
    border: 1px solid #f39c12 !important;
    color: #fff !important;
}

/* ==========================================
   MODULES & CARDS
   ========================================== */
.module {
    background: #ffffff;
    border-radius: 8px !important;
    border: 1px solid #dce2ec !important;
    box-shadow: 0 2px 8px rgba(16, 39, 68, 0.06) !important;
    margin-bottom: 25px;
    overflow: hidden;
}

.module-head {
    background: linear-gradient(to right, #173d6b, #1f4f88) !important;
    color: #ffffff !important;
    border-bottom: 2px solid #f39c12 !important;
    padding: 14px 18px !important;
}

.module-head h3 {
    color: #ffffff !important;
    text-shadow: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0;
    letter-spacing: 0.3px;
}

.module-head h3 a {
    color: #ffcf40 !important;
}

.module-body {
    padding: 20px !important;
}

/* ==========================================
   SIDEBAR MENU
   ========================================== */
.widget-menu {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #dce2ec;
    box-shadow: 0 2px 8px rgba(16, 39, 68, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
}

.widget-menu > li > a {
    color: #334e68 !important;
    font-weight: 600;
    padding: 11px 16px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
    border-bottom: 1px solid #edf1f7;
}

.widget-menu > li > a:hover {
    background-color: #f0f5fb !important;
    color: #173d6b !important;
    border-left: 4px solid #f39c12 !important;
    padding-left: 20px;
}

.widget-menu > li > a .menu-icon {
    color: #173d6b;
    margin-right: 8px;
}

/* ==========================================
   BUTTONS (ANBK STYLING)
   ========================================== */
.btn {
    border-radius: 4px !important;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-primary {
    background: linear-gradient(to bottom, #1f4f88, #173d6b) !important;
    border-color: #102744 !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

.btn-primary:hover, .btn-primary:focus {
    background: #102744 !important;
    color: #ffffff !important;
}

.btn-warning {
    background: linear-gradient(to bottom, #f39c12, #e67e22) !important;
    border-color: #d35400 !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

.btn-success {
    background: linear-gradient(to bottom, #2ecc71, #27ae60) !important;
    border-color: #219653 !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

.btn-info {
    background: linear-gradient(to bottom, #3498db, #2980b9) !important;
    border-color: #1f618d !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

/* ==========================================
   TABLES
   ========================================== */
.table th {
    background-color: #eaf1f8 !important;
    color: #173d6b !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #cbd7e6 !important;
}

.table-striped tbody > tr:nth-child(odd) > td {
    background-color: #fbfcfe;
}

.table tbody tr:hover td {
    background-color: #f2f7fc !important;
}

/* ==========================================
   CALLOUTS & NOTIFICATIONS
   ========================================== */
.bs-callout-info {
    border-left: 4px solid #173d6b !important;
    background-color: #f4f8fc !important;
    border-radius: 0 6px 6px 0;
}
