/* ==========================================================================
   DayHocGioi.com - Custom Site Styles & High Contrast Controls
   Khắc phục triệt để vấn đề Dropdown & Controls bị chìm trên nền trắng
   ========================================================================== */

/* 1. TĂNG CƯỜNG ĐỘ TƯƠNG PHẢN CHO FORM-SELECT VÀ FORM-CONTROL */
.form-select,
.form-control {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
}

.form-select:hover,
.form-control:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

.form-select:focus,
.form-control:focus {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
    color: #0f172a !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.16), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* Biểu tượng mũi tên tùy chỉnh rõ nét cho form-select */
.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23334155' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 14px center !important;
    background-size: 14px 10px !important;
    padding-right: 38px !important;
}

/* 2. SELECT2 DROPDOWN CONTROLS (Thanh chọn chính) */
.select2-container .select2-selection--single {
    height: 42px !important;
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 50rem !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 16px !important;
    padding-right: 36px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease-in-out !important;
}

.select2-container--default .select2-selection--single:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.18) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    line-height: 40px !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #64748b !important;
    font-weight: 400 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 14px !important;
    top: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #334155 transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #2563eb transparent !important;
    border-width: 0 5px 6px 5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #94a3b8 !important;
    font-size: 18px !important;
    margin-right: 22px !important;
    font-weight: bold;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #ef4444 !important;
}

/* 3. MENU POPUP XỔ XUỐNG CỦA SELECT2 (.select2-dropdown) */
.select2-dropdown {
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.16), 0 6px 14px -2px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    margin-top: 4px !important;
    z-index: 99999 !important;
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Ô tìm kiếm bên trong popup Select2 */
.select2-search--dropdown {
    padding: 10px !important;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.select2-search--dropdown .select2-search__field {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    outline: none !important;
    transition: all 0.15s ease-in-out !important;
}

.select2-search--dropdown .select2-search__field:focus {
    background-color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Danh sách các kết quả lựa chọn */
.select2-results__options {
    padding: 4px 6px !important;
    max-height: 240px !important;
}

.select2-results__option {
    padding: 9px 14px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    border-radius: 8px !important;
    margin-bottom: 2px !important;
    transition: all 0.15s ease-in-out !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #2563eb !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    font-weight: 600 !important;
}

/* 4. BOOTSTRAP DROPDOWN MENUS (Theme Dropdown, User Dropdown, Card Action Dropdown) */
.dropdown-menu {
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.16), 0 6px 14px -2px rgba(0, 0, 0, 0.08);
    padding: 8px;
    z-index: 1060;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13.5px;
    color: #334155;
    font-weight: 500;
    transition: all 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #eff6ff;
    color: #1d4ed8;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #2563eb;
    color: #ffffff;
}

/* 5. HỖ TRỢ CHẾ ĐỘ TỐI (DARK THEME) TOÀN DIỆN */
[data-bs-theme="dark"] .form-select,
[data-bs-theme="dark"] .form-control {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .form-select:hover,
[data-bs-theme="dark"] .form-control:hover {
    background-color: #243044 !important;
    border-color: #475569 !important;
}

[data-bs-theme="dark"] .form-select:focus,
[data-bs-theme="dark"] .form-control:focus {
    background-color: #0f172a !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.25) !important;
}

[data-bs-theme="dark"] .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

[data-bs-theme="dark"] .select2-container .select2-selection--single {
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single:hover {
    background-color: #243044 !important;
    border-color: #475569 !important;
}

[data-bs-theme="dark"] .select2-container--default.select2-container--open .select2-selection--single,
[data-bs-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--single {
    background-color: #0f172a !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.25) !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #94a3b8 transparent transparent transparent !important;
}

[data-bs-theme="dark"] .select2-dropdown,
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #0f172a !important;
    border-color: #334155 !important;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.6) !important;
}

[data-bs-theme="dark"] .select2-search--dropdown {
    background-color: #0f172a !important;
    border-bottom-color: #1e293b !important;
}

[data-bs-theme="dark"] .select2-search--dropdown .select2-search__field {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

[data-bs-theme="dark"] .select2-results__option {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .select2-container--default .select2-results__option--selected {
    background-color: #1e3a8a !important;
    color: #93c5fd !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .dropdown-item:hover,
[data-bs-theme="dark"] .dropdown-item:focus {
    background-color: #1e293b;
    color: #60a5fa;
}

/* ==========================================================================
   Logo Styles (Height: 56px)
   ========================================================================== */
:root {
    --theme-logo-lg-height: 56px;
}

.logo-lg img,
.sidenav-menu .logo .logo-lg img,
.dhg-header a img[src*="logo"],
footer a img[src*="logo"],
.card-body a img[src*="logo"] {
    height: 56px !important;
    width: auto !important;
    max-width: 100%;
}

/* ==========================================================================
   Enforce Fixed Sidenav Menu
   ========================================================================== */
.sidenav-menu,
.sidenav-menu[style],
html[data-sidenav-size=condensed] .sidenav-menu,
html[data-sidenav-size=compact] .sidenav-menu,
html[data-sidenav-size=on-hover] .sidenav-menu,
html[data-sidenav-size=on-hover-active] .sidenav-menu,
html[data-sidenav-size=default] .sidenav-menu,
html[data-sidenav-size=full] .sidenav-menu,
html[data-layout-position=fixed] .sidenav-menu,
html[data-layout-position=scrollable] .sidenav-menu {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    z-index: 1005 !important;
}

.app-topbar,
html[data-layout-position=scrollable] .app-topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1001 !important;
}

/* ==========================================================================
   DayHocGioi.com - Educational Theme & Modern Split Auth / Dashboard Styles
   ========================================================================== */

/* 1. Split Auth Layout */
.auth-split-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f4f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
}

.auth-split-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    width: 100%;
    max-width: 1080px;
}

.auth-brand-side {
    background: linear-gradient(145deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    color: #ffffff;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.auth-brand-side::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.auth-brand-side::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0) 70%);
    bottom: -80px;
    left: -80px;
    pointer-events: none;
}

.auth-form-side {
    padding: 3.5rem 3rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .auth-brand-side {
        padding: 2.5rem 2rem;
    }
    .auth-form-side {
        padding: 2.5rem 2rem;
    }
}

.auth-feature-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    margin-bottom: 0.85rem;
    transition: all 0.2s ease;
}

.auth-feature-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.auth-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    flex-shrink: 0;
}

.auth-quote-box {
    background: rgba(0, 0, 0, 0.15);
    border-left: 3px solid #facc15;
    padding: 0.85rem 1.15rem;
    border-radius: 0 12px 12px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Quick Demo Role Buttons */
.demo-role-chip {
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 50rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.demo-role-chip:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #1d4ed8;
    transform: translateY(-1px);
}

/* 2. Educational Dashboard Components */
.dashboard-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25);
    margin-bottom: 1.75rem;
}

.dashboard-banner.banner-student {
    background: linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.25);
}

.dashboard-banner.banner-parent {
    background: linear-gradient(135deg, #1e293b 0%, #1e40af 60%, #3b82f6 100%);
    box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.25);
}

.dashboard-banner::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    top: -80px;
    right: -40px;
    pointer-events: none;
}

.edu-kpi-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    height: 100%;
}

.edu-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.edu-icon-bubble {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.edu-child-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px -3px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
    overflow: hidden;
}

.edu-child-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -8px rgba(15, 23, 42, 0.1);
    border-color: #bfdbfe;
}

.hover-lift {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.25) !important;
}

/* ==========================================================================
   Comprehensive Spacing & Padding System (Fix text hugging edges & decimal classes)
   ========================================================================== */

/* 1. Global Page Layout & Content Padding */
.content-page {
    transition: all 0.2s ease-in-out;
}

.content-page .container-fluid {
    padding: 2rem 2.25rem 3.5rem 2.25rem !important;
    max-width: 1650px;
}

@media (max-width: 767.98px) {
    .content-page .container-fluid {
        padding: 1.25rem 1rem 2.5rem 1rem !important;
    }
}

/* 2. Universal Text & Content Spacing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: #1e293b;
}

p, .text-muted, .text-secondary {
    line-height: 1.6;
}

/* 3. Cards & Containers Comfort Padding */
.card {
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.25s ease;
}

.card-body {
    padding: 1.6rem 1.75rem !important;
}

.card-header {
    padding: 1.25rem 1.75rem !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background-color: transparent !important;
}

.card-footer {
    padding: 1.15rem 1.75rem !important;
    border-top: 1px solid #f1f5f9 !important;
    background-color: #fafbfc !important;
}

/* 4. Table Padding & Legibility */
.table:not(.table-sm) > :not(caption) > * > * {
    padding: 1rem 1.35rem !important;
    vertical-align: middle;
}

.table thead th {
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.04em !important;
    color: #475569 !important;
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

/* 5. Badges with Generous Breathing Room */
.badge {
    padding: 0.42em 0.85em !important;
    font-weight: 600 !important;
    font-size: 0.785rem;
    letter-spacing: 0.015em;
    border-radius: 50rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    line-height: 1.35 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.badge i {
    font-size: 1.1em;
    vertical-align: -1px;
}

/* 6. Buttons with Comfort Ergonomics */
.btn {
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sm {
    padding: 0.38rem 0.95rem !important;
    font-size: 0.8125rem !important;
}

.btn-lg {
    padding: 0.75rem 1.75rem !important;
    font-size: 1rem !important;
}

/* 7. Alerts */
.alert {
    padding: 1.1rem 1.4rem !important;
    border-radius: 16px !important;
    border: 1px solid transparent;
}

/* 8. Educational KPI Cards */
.edu-kpi-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.05) !important;
    padding: 1.6rem !important;
    transition: all 0.25s ease;
    height: 100%;
}

.edu-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.09) !important;
    border-color: #cbd5e1 !important;
}

.edu-icon-bubble {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

/* 9. Question Preview Box in Exam Details */
.question-preview-box {
    padding: 1.75rem !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

/* 10. Dashboard Banners */
.dashboard-banner {
    position: relative;
    padding: 2.25rem 2.5rem !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #3b82f6 100%) !important;
    color: #ffffff;
    box-shadow: 0 12px 32px -8px rgba(37, 99, 235, 0.32);
    overflow: hidden;
}

.dashboard-banner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-banner.banner-parent {
    background: linear-gradient(135deg, #312e81 0%, #4338ca 50%, #2563eb 100%) !important;
    box-shadow: 0 12px 32px -8px rgba(67, 56, 202, 0.32);
}

.dashboard-banner.banner-student {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #06b6d4 100%) !important;
    box-shadow: 0 12px 32px -8px rgba(6, 182, 212, 0.32);
}

/* 11. Complete Decimal Spacing Utility Classes (Tailwind-like classes used in markup) */
/* Padding */
.p-0\.5, .p-0-5 { padding: 0.25rem !important; }
.p-1\.5, .p-1-5 { padding: 0.5rem !important; }
.p-2\.5, .p-2-5 { padding: 0.85rem !important; }
.p-3\.5, .p-3-5 { padding: 1.35rem !important; }
.p-4\.5, .p-4-5 { padding: 1.85rem !important; }

.px-0\.5, .px-0-5 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-1\.5, .px-1-5 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-2\.5, .px-2-5 { padding-left: 0.85rem !important; padding-right: 0.85rem !important; }
.px-3\.5, .px-3-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-4\.5, .px-4-5 { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }

.py-0\.5, .py-0-5 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5, .py-1-5 { padding-top: 0.45rem !important; padding-bottom: 0.45rem !important; }
.py-2\.5, .py-2-5 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3\.5, .py-3-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-4\.5, .py-4-5 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }

.pt-0\.5, .pt-0-5 { padding-top: 0.25rem !important; }
.pt-1\.5, .pt-1-5 { padding-top: 0.5rem !important; }
.pt-2\.5, .pt-2-5 { padding-top: 0.85rem !important; }
.pt-3\.5, .pt-3-5 { padding-top: 1.35rem !important; }

.pb-0\.5, .pb-0-5 { padding-bottom: 0.25rem !important; }
.pb-1\.5, .pb-1-5 { padding-bottom: 0.5rem !important; }
.pb-2\.5, .pb-2-5 { padding-bottom: 0.85rem !important; }
.pb-3\.5, .pb-3-5 { padding-bottom: 1.35rem !important; }

.ps-0\.5, .ps-0-5 { padding-left: 0.25rem !important; }
.ps-1\.5, .ps-1-5 { padding-left: 0.5rem !important; }
.ps-2\.5, .ps-2-5 { padding-left: 0.85rem !important; }
.ps-3\.5, .ps-3-5 { padding-left: 1.35rem !important; }

.pe-0\.5, .pe-0-5 { padding-right: 0.25rem !important; }
.pe-1\.5, .pe-1-5 { padding-right: 0.5rem !important; }
.pe-2\.5, .pe-2-5 { padding-right: 0.85rem !important; }
.pe-3\.5, .pe-3-5 { padding-right: 1.35rem !important; }

/* Margin */
.m-0\.5, .m-0-5 { margin: 0.25rem !important; }
.m-1\.5, .m-1-5 { margin: 0.5rem !important; }
.m-2\.5, .m-2-5 { margin: 0.85rem !important; }
.m-3\.5, .m-3-5 { margin: 1.35rem !important; }

.mx-0\.5, .mx-0-5 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.mx-1\.5, .mx-1-5 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.mx-2\.5, .mx-2-5 { margin-left: 0.85rem !important; margin-right: 0.85rem !important; }
.mx-3\.5, .mx-3-5 { margin-left: 1.25rem !important; margin-right: 1.25rem !important; }

.my-0\.5, .my-0-5 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-1\.5, .my-1-5 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-2\.5, .my-2-5 { margin-top: 0.85rem !important; margin-bottom: 0.85rem !important; }
.my-3\.5, .my-3-5 { margin-top: 1.25rem !important; margin-bottom: 1.25rem !important; }

.mt-0\.5, .mt-0-5 { margin-top: 0.25rem !important; }
.mt-1\.5, .mt-1-5 { margin-top: 0.5rem !important; }
.mt-2\.5, .mt-2-5 { margin-top: 0.85rem !important; }
.mt-3\.5, .mt-3-5 { margin-top: 1.35rem !important; }

.mb-0\.5, .mb-0-5 { margin-bottom: 0.25rem !important; }
.mb-1\.5, .mb-1-5 { margin-bottom: 0.5rem !important; }
.mb-2\.5, .mb-2-5 { margin-bottom: 0.85rem !important; }
.mb-3\.5, .mb-3-5 { margin-bottom: 1.35rem !important; }

.ms-0\.5, .ms-0-5 { margin-left: 0.25rem !important; }
.ms-1\.5, .ms-1-5 { margin-left: 0.5rem !important; }
.ms-2\.5, .ms-2-5 { margin-left: 0.85rem !important; }
.ms-3\.5, .ms-3-5 { margin-left: 1.35rem !important; }

.me-0\.5, .me-0-5 { margin-right: 0.25rem !important; }
.me-1\.5, .me-1-5 { margin-right: 0.5rem !important; }
.me-2\.5, .me-2-5 { margin-right: 0.85rem !important; }
.me-3\.5, .me-3-5 { margin-right: 1.35rem !important; }

/* Gap & Grid */
.gap-0\.5, .gap-0-5 { gap: 0.25rem !important; }
.gap-1\.5, .gap-1-5 { gap: 0.5rem !important; }
.gap-2\.5, .gap-2-5 { gap: 0.85rem !important; }
.gap-3\.5, .gap-3-5 { gap: 1.35rem !important; }

.g-0\.5, .g-0-5 { --bs-gutter-x: 0.25rem; --bs-gutter-y: 0.25rem; }
.g-1\.5, .g-1-5 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.g-2\.5, .g-2-5 { --bs-gutter-x: 0.85rem; --bs-gutter-y: 0.85rem; }
.g-3\.5, .g-3-5 { --bs-gutter-x: 1.35rem; --bs-gutter-y: 1.35rem; }

/* 12. Exam Questions & Options Comfort Padding */
.answer-option-pill {
    padding: 0.85rem 1.15rem !important;
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f0;
    transition: all 0.2s ease;
}

.answer-option-pill:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

.answer-correct-highlight {
    background-color: #f0fdf4 !important;
    border-color: #86efac !important;
}

/* Hide Answers Toggle State */
.hide-answers .answer-correct-highlight {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

.hide-answers .answer-correct-highlight:hover {
    border-color: #94a3b8 !important;
    background-color: #f8fafc !important;
}

.hide-answers .answer-correct-highlight .opt-circle {
    background-color: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
}

.hide-answers .answer-key-indicator {
    display: none !important;
}

.hide-answers .explanation-box {
    display: none !important;
}

.explanation-box {
    padding: 1.25rem 1.45rem !important;
    border-radius: 14px !important;
    background-color: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
}

/* 13. Breadcrumb & Section Headers */
.breadcrumb {
    padding: 0.35rem 0 !important;
    margin-bottom: 0.5rem !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}