/*--------------------------------------------------------------
# VARIABLES & FONTS
--------------------------------------------------------------*/
:root {
    --default-color: #fbde9c;
    
    --btn-actions-color: #f7c35c;
    --kids-green: #05ae4d;
    --kids-yellow: #ffcb03;
    --kids-orange: #ff7b00;
    --gladiator-cat: #ddb471;
    --elite-cat: #fb040c;
    --open-cat: #0a50a8;
    --liberty-cat: #ffffff;
    --squad-color: #1d5520;
    --sprint-color: #606060;
    --duo-color: #ff00c8;
    --ryder-color: #75391A;
    --ultima-color: #000000;
    --peewee-color: #7aa6d4;
    --masai-color: #08a044;
    --touareg-color: #e8cb08;
    --zulu-color: #fcae02;

    --body-font: Verdana, Geneva, sans-serif;
    --custom-font: 'Viking-Normal', normal;
    --magazine-color: #6588c2;
    --podium-color: #d66363;
    --app-background: linear-gradient(120deg, #1b1009 0%, #2a150a 25%, #3e190b 60%, #2a150a 100%);
    --text-success: #34bb6a;
    --text-danger: #ef4444;
    --bs-secondary-color: #f5e6d8;
}

@font-face {
    font-family: 'Viking-Normal';
    src: url('../font/Viking-Normal.woff2') format('woff2'),
        url('../font/Viking-Normal.woff') format('woff'),
        url('../font/Viking-Normal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: var(--body-font);
}

/* Profiles index table overrides */

/* Ensure search input text is dark */
.fixed-table-toolbar .search-input,
.fixed-table-toolbar .search-input:focus,
.fixed-table-toolbar .search-input:-webkit-autofill,
.fixed-table-toolbar .search-input:-webkit-autofill:hover,
.fixed-table-toolbar .search-input:-webkit-autofill:focus {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.child-row td:first-child {
    padding-left: 28px;
    position: relative;
}

.child-row td:first-child::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 8px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%);
}

#profiles-table {
    border-collapse: separate;
    border-spacing: 0;
}

#profiles-table tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#profiles-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#profiles-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

/*--------------------------------------------------------------
# TYPOGRAPHY & UTILITIES
--------------------------------------------------------------*/
.text-small-caps { font-variant: small-caps; }
.custom-font-viking { font-family: var(--custom-font); }
.object-top { object-position: top; }
.fs-5-bigger { font-size: 5rem !important; }
.fs-4-bigger { font-size: 4.5rem !important; }
.fs-3-bigger { font-size: 4rem !important; }
.fs-2-bigger { font-size: 3.5rem !important; }
.fs-1-bigger { font-size: 3rem !important; }
.fs-7 { font-size: .9rem !important; }
.fs-8 { font-size: .75rem !important; }
.w-49 { width: 49%; }
.w-12_5 { width: 12.5%; }
.w-6_25 { width: 6.25%; }
.text-default { color: var(--default-color); }
.text-default-hover:hover { color: var(--default-color) !important; }
.cursor-pointer { cursor: pointer; }
.official-sponsor-strip {
    padding: 0.35rem 0 0;
}
.official-sponsor-label {
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    opacity: 0.9;
}
.official-sponsor-logos {
    gap: 0.75rem 1.25rem;
    padding: 0.35rem 0 0;
}
.official-sponsor-logo-link {
    padding: 0.25rem 0.5rem;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.9;
}
.official-sponsor-logo-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}
.official-sponsor-logo {
    max-height: 120px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}
.platinum-strip {
    padding: 0.2rem 0 0.55rem;
}
.platinum-logos {
    gap: 0.75rem 1.25rem;
}
.platinum-logo-link {
    padding: 0.35rem 0.75rem;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.92;
}
.platinum-logo-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}
.platinum-logo {
    max-height: 82px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
}

/* Bootstrap-table dropdown (pager) theming */
.bootstrap-table .dropdown-menu {
    background: #2b1a12;
    color: var(--bs-secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.bootstrap-table .dropdown-item {
    color: var(--bs-secondary-color);
}
.bootstrap-table .dropdown-item.active,
.bootstrap-table .dropdown-item:active {
    color: #fff;
    background-color: #0d6efd;
}
.bootstrap-table .dropdown-item:hover,
.bootstrap-table .dropdown-item:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
    .official-sponsor-strip { padding: 0.25rem 0 0.65rem; }
    .official-sponsor-label { font-size: 0.8rem; }
    .official-sponsor-logo { max-height: 48px; }
    .platinum-strip { padding: 0.15rem 0 0.5rem; }
    .platinum-logo { max-height: 68px; }
}
.pill-connected .btn {
    border-radius: 0;
}
.pill-connected .btn:first-of-type {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}
.pill-connected .btn:last-of-type {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}
.pill-connected .btn + .btn {
    margin-left: -1px;
}

/*--------------------------------------------------------------
# BUTTONS & LINKS
--------------------------------------------------------------*/
.custom-tooltip {
    --bs-tooltip-bg: var(--default-color);
    --bs-tooltip-color: black;
}
.btn-default { background-color: var(--default-color); }
.btn-default:hover,
.btn-default:focus,
.btn-default:active { background-color: var(--btn-actions-color) !important; }
.btn-primary-cr {
    background-color: #f97316;
    border-color: #f97316;
    color: #fff;
}
.btn-primary-cr:hover,
.btn-primary-cr:focus {
    background-color: #ea580c;
    border-color: #ea580c;
    color: #fff;
}
.btn-custom { background-color: color-mix(in srgb, var(--default-color) 15%, transparent); }
.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active {
    background-color: var(--default-color) !important;
    color: #000 !important;
}

/* Category colors */
.bg-green, .btn-green, .btn-green:hover { background-color: var(--kids-green) !important; }
.bg-yellow, .btn-yellow, .btn-yellow:hover { background-color: var(--kids-yellow) !important; }
.bg-orange, .btn-orange, .btn-orange:hover { background-color: var(--kids-orange) !important; }
.bg-gladiator, .btn-gladiator, .btn-gladiator:hover { background-color: var(--gladiator-cat) !important; }
.bg-open, .btn-open, .btn-open:hover { background-color: var(--open-cat) !important; }
.bg-squad, .btn-squad, .btn-squad:hover { background-color: var(--squad-color) !important; }
.bg-liberty, .btn-liberty, .btn-liberty:hover { background-color: var(--liberty-cat) !important; }
.bg-elite, .btn-elite, .btn-elite:hover { background-color: var(--elite-cat) !important; }
.bg-sprint, .btn-sprint, .btn-sprint:hover { background-color: var(--sprint-color) !important; }
.bg-duo, .btn-duo, .btn-duo:hover { background-color: var(--duo-color) !important; }
.bg-ryder, .btn-ryder, .btn-ryder:hover { background-color: var(--ryder-color) !important; }
.bg-ultima, .btn-ultima, .btn-ultima:hover { background-color: var(--ultima-color) !important; }
.bg-peewee, .btn-peewee, .btn-peewee:hover { background-color: var(--peewee-color) !important; }
.bg-masai, .btn-masai, .btn-masai:hover { background-color: var(--masai-color) !important; }
.bg-touareg, .btn-touareg, .btn-touareg:hover { background-color: var(--touareg-color) !important; }
.bg-zulu, .btn-zulu, .btn-zulu:hover { background-color: var(--zulu-color) !important; }
.btn-green:hover,
.btn-yellow:hover,
.btn-orange:hover,
.btn-gladiator:hover,
.btn-open:hover,
.btn-squad:hover,
.btn-sprint:hover,
.btn-duo:hover,
.btn-ryder:hover,
.btn-ultima:hover,
.btn-peewee:hover,
.btn-masai:hover,
.btn-touareg:hover,
.btn-zulu:hover,
.btn-elite:hover { opacity: 90%; }

/*--------------------------------------------------------------
# FORM VALIDATION STATES
--------------------------------------------------------------*/
.form-control.is-valid,
.form-select.is-valid {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 0.15rem rgba(34, 197, 94, 0.25);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 0.15rem rgba(239, 68, 68, 0.25);
}

/* Base select styling (dark theme) */
.form-select {
    background: rgba(146, 8, 8, 0.08);
    color: #fef3e7;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding-right: 1.5rem;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: auto;
}
.form-select:focus {
    color: #fef3e7;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15);
}

.ticket-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 120ms ease, box-shadow 120ms ease;
}
.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}
.ticket-action-btn {
    min-width: 140px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.ticket-status-pill {
    min-width: 140px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.35);
}

.text-success {
    color: var(--text-success) !important;
}

.text-danger {
    color: var(--text-danger) !important;
}
.form-control-line,
.form-select.form-control-line {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    border-radius: 0;
    color: #fef3e7;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
}
.form-control-line:focus,
.form-select.form-control-line:focus {
    border-bottom-color: #f97316;
    box-shadow: none;
}
.form-control-line[readonly] {
    opacity: 0.7;
}


/*--------------------------------------------------------------
# FLASH MESSAGES
--------------------------------------------------------------*/
.alert {
    background: rgba(20, 20, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fef3e7;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.alert-success {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.15);
    color: #d1fadf;
}
.alert-danger {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.16);
    color: #ffe1e1;
}
.alert-warning {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.18);
    color: #fff1d6;
}
.alert-info {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.16);
    color: #dceafe;
}

/*--------------------------------------------------------------
# MODALS
--------------------------------------------------------------*/
.modal-content.bg-dark {
    background: rgba(22, 18, 16, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fef3e7;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}
.modal-content.bg-dark .modal-header,
.modal-content.bg-dark .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
}
.modal-content.bg-dark .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

/*--------------------------------------------------------------
# BACKGROUNDS & CARDS
--------------------------------------------------------------*/
.background {
    background: var(--app-background);
    color: #fef3e7;
}
.bg-default { background-color: var(--default-color); }
.bg-default-hover:hover { background-color: var(--default-color); }
.bg-gray-dark { background-color: #333 !important; }
.bg-dark-gradient {
    background: linear-gradient(to bottom, black 0%, #444 40%, #6c6b6b 60%, #444 80%, black 100%);
}
.bg-magazine { background-color: var(--magazine-color); }
.bg-podium { background-color: var(--podium-color); }

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background: var(--app-background);
    color: #fef3e7;
    position: relative;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}
.hero::before {
    width: 260px;
    height: 260px;
    background: #f97316;
    top: -60px;
    left: -40px;
}
.hero::after {
    width: 320px;
    height: 320px;
    background: #fb923c;
    bottom: -100px;
    right: -40px;
}
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }
}

.glass-card {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    color: #fef3e7;
    margin: 1.5rem 0;
}

/* Profile detail blocks */
.profile-section {
    background: rgba(17, 17, 17, 0.55);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-section h5 {
    margin-bottom: 1rem;
    font-weight: 700;
}
.profile-actions .btn {
    color: #fef3e7;
    border-color: rgba(255, 255, 255, 0.3);
}
.profile-actions .btn-outline-danger {
  color: #fca5a5;
  border-color: #fca5a5;
}
.profile-actions .btn:hover {
    background: rgba(255, 255, 255, 0.08);
}
.profile-badge {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.4);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.35rem 0;
}
.detail-row + .detail-row {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.35rem;
    padding-top: 0.7rem;
}
.detail-label {
    min-width: 200px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}
.detail-value {
    flex: 1;
    color: #fef3e7;
    text-align: right;
}
@media (max-width: 768px) {
    .detail-row { flex-direction: column; align-items: flex-start; }
    .detail-value { text-align: left; }
}

/* Admin list table styling */
.admin-table {
    background: transparent;
    color: #fdf1dd;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}
.admin-table thead {
    background: rgba(255, 255, 255, 0.06);
    color: #ffe9c7;
    font-weight: 700;
}
.admin-table thead th,
.admin-table thead a { color: #ffe9c7 !important; }
.admin-table thead a:hover { color: #fff !important; }
.admin-table th,
.admin-table td {
    border-color: rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
}
.admin-table td { color: #fdf1dd; }
.admin-table tbody tr:nth-of-type(odd),
.admin-table tbody tr:nth-of-type(even) {
    background: rgba(20, 13, 10, 0.45);
}
.admin-table tbody tr:hover {
    background: rgba(249, 115, 22, 0.08);
}
.link-cream { color: #f5e6d8 !important; }
.link-cream:hover { color: #ffe3ba !important; }

/* Paginator */
.pagination .page-link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fdf1dd;
    min-width: 70px;
    text-align: center;
}
.pagination .page-link:hover {
    background: rgba(249, 115, 22, 0.15);
    color: #fff;
}
.pagination .active .page-link {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}
.pagination .disabled .page-link {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Profile badges */
.badge-type {
    background: rgba(255, 255, 255, 0.05);
    color: #f5e6d8;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
}
.badge-verified {
    background: rgba(46, 160, 67, 0.2);
    color: #a6f4c5;
    border: 1px solid rgba(46, 160, 67, 0.5);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
}
.badge-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd369;
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
}

/*--------------------------------------------------------------
# MODALS (shared child/friend)
--------------------------------------------------------------*/
.modal { z-index: 10000 !important; }
.modal-backdrop { z-index: 9990 !important; }
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}
.modal-panel {
    background: linear-gradient(160deg, rgba(17, 17, 17, 0.9), rgba(34, 22, 15, 0.9));
    padding: 1.75rem;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fef3e7;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.modal-header h5 { margin: 0; font-weight: 700; }
.modal-body { max-height: 70vh; overflow-y: auto; }
.modal-close {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #fef3e7;
}
.modal-form label,
.modal-form .form-label { color: #fef3e7; font-weight: 600; }
.modal-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    color: #fef3e7;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.modal-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: none;
}
.modal-form .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fef3e7;
}
.modal-form .text-muted,
.modal-form .form-text,
.modal-form small.form-text {
    color: rgba(255, 255, 255, 0.75) !important;
}
.modal-form .form-text.text-success {
    color: var(--text-success) !important;
}
.modal-form .form-text.text-danger {
    color: var(--text-danger) !important;
}
.modal-form .text-success,
#password-feedback.text-success {
    color: var(--text-success) !important;
}
.modal-form .text-danger,
#password-feedback.text-danger {
    color: var(--text-danger) !important;
}
.pill-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Toggle pill */
.toggle-pill {
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.05);
    color: #fef3e7;
    border-radius: 999px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.toggle-pill .toggle-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transition: all 0.2s ease;
}
.toggle-pill.active {
    background: rgba(23,163,74,0.18);
    border-color: rgba(23,163,74,0.65);
    color: #d1fadf;
}
.toggle-pill.active .toggle-indicator {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22,163,74,0.25);
}

/* Admin waves table inputs */
.waves-table .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fef3e7;
    box-shadow: none;
}
.waves-table .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(249, 115, 22, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.15);
}
.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
    accent-color: #f97316;
    cursor: pointer;
    margin: 0 0.5rem 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    position: relative;
}
.form-check-input::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    line-height: 1;
    color: transparent;
    pointer-events: none;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.6);
}
.form-check-input:checked {
    background-color: #f97316;
    border-color: #f97316;
}
.form-check-input:checked::after {
    content: '\f00c';
    color: #fff;
}

/* Preserve centered checkboxes inside waves tables */
.waves-table .form-check-input {
    margin: 0 auto;
    display: block;
}

/* Restore native sizing/styling for switch toggles so they aren't affected by checkbox overrides */
.form-switch .form-check-input {
    width: 2.6rem;
    height: 1.4rem;
    padding: 0;
    margin: 0 0.75rem 0 0;
    display: inline-block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
    position: relative;
    vertical-align: middle;
}
.form-switch .form-check-input::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.25rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    transition: left 0.2s ease, transform 0.2s ease;
}
.form-switch .form-check-input:checked {
    background: #f97316;
    border-color: #f97316;
}
.form-switch .form-check-input:checked::after {
    left: calc(100% - 1.2rem);
}


/*--------------------------------------------------------------
# AUTH FORMS
--------------------------------------------------------------*/
.auth-logo { max-width: 140px; }

@media (min-width: 768px) {
    .auth-logo { max-width: 180px; }
}
.auth-form {
    background: rgba(17, 17, 17, 0.55);
    border-radius: 14px;
    padding: 2rem;
    color: #fef3e7;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-form .form-control,
.auth-form .form-control:focus,
.auth-form .form-select,
.auth-form .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fef3e7;
    border-color: rgba(255, 255, 255, 0.18);
}
.auth-form .form-check-input {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}
.auth-form .form-check-input:checked {
    background-color: #f97316;
    border-color: #f97316;
}

.admin-manage-bar {
    position: static;
    z-index: auto;
    background: rgba(17, 17, 17, 0.7);
}
.admin-manage-bar .nav-link {
    color: #fef3e7;
    transition: all 0.15s ease-in-out;
}
.admin-manage-bar .nav-link:hover {
    color: #0f0f0f;
    background-color: #f97316;
}
.admin-manage-bar .nav-link.active {
    color: #0f0f0f;
    background-color: #f97316;
}

.auth-form .form-control::placeholder,
.auth-form .form-select::placeholder { color: rgba(255, 255, 255, 0.65); }
.auth-form .btn-primary,
.auth-form .btn-primary-cr {
    background-color: #f97316;
    border-color: #f97316;
}
.auth-form .btn-primary:hover,
.auth-form .btn-primary:focus,
.auth-form .btn-primary-cr:hover,
.auth-form .btn-primary-cr:focus {
    background-color: #ea580c;
    border-color: #ea580c;
}
.auth-link { color: rgba(255, 255, 255, 0.95); }
.auth-link:hover { color: #fff; }
.auth-form .text-muted,
.auth-form .form-text {
    color: rgba(255, 255, 255, 0.75);
}
.profile-section .text-muted,
.profile-section .form-text,
.profile-section .badge.bg-secondary {
    color: rgba(255, 255, 255, 0.75) !important;
}
.modal-form .text-muted,
.modal-form .form-text {
    color: rgba(255, 255, 255, 0.75) !important;
}

/*--------------------------------------------------------------
# PAGE-SPECIFIC HELPERS
--------------------------------------------------------------*/
.socials-section .container { padding: 150px 0; }
.socials-section:before {
    content: "";
    background-color: #fbde9c;
    position: absolute;
    bottom: 90px;
    top: 90px;
    left: 0;
    right: 0;
    transform: skewY(-3deg);
}
.flip-card { max-width: 300px; aspect-ratio: 1 / 1; perspective: 1000px; }
.flip-card-inner {
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
    transform-origin: center;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front,
.flip-card-back { backface-visibility: hidden; }
.flip-card-back {
    transform: rotateY(180deg);
    box-sizing: border-box;
}
.flip-card-back p { text-align: justify; }
.table-responsive { -webkit-overflow-scrolling: touch; }
.table-custom { border-collapse: separate; border-spacing: 20px 20px; }
.volunteers-img { max-height: 450px; }

/*--------------------------------------------------------------
# EFFECTS & ANIMATIONS
--------------------------------------------------------------*/
.hover-transform { transition: transform 0.3s ease; }
.hover-transform:hover { transform: scale(1.05); }
.dropdown-menu-animation { animation: fadeInDown 0.5s ease-out; }
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/*--------------------------------------------------------------
# IDENTITY DOCUMENT MODAL
--------------------------------------------------------------*/
.identity-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10000;
}

/*--------------------------------------------------------------
# Collapse icon toggle
--------------------------------------------------------------*/
.collapse-toggle-icon {
    transition: transform 0.2s ease;
}
.btn.collapsed .collapse-toggle-icon {
    transform: rotate(180deg);
}
.identity-modal-overlay.active { display: flex; }
.identity-modal-dialog {
    background: #fff;
    border-radius: 6px;
    max-width: 90vw;
    max-height: 90vh;
    width: 720px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    flex-direction: column;
}
.identity-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 0.75rem;
}
.identity-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.identity-modal-body {
    padding: 0.75rem 1rem 1rem;
    overflow: auto;
    display: flex;
    justify-content: center;
}
.identity-modal-body img,
.identity-modal-body iframe {
    max-width: 100%;
    max-height: 80vh;
    border: none;
}
.identity-thumbnail { cursor: pointer; }

/*--------------------------------------------------------------
# ONBOARDING PROGRESS
--------------------------------------------------------------*/
.onboarding-progress {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.onboarding-progress .progress {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 22px;
    border-radius: 12px;
}
.onboarding-progress .progress-bar {
    background: linear-gradient(90deg, #f97316 0%, #ffa94d 60%, #f97316 100%);
    color: #0f0a05;
    font-weight: 700;
}
.onboarding-progress .badge-step {
    background: rgba(255, 255, 255, 0.05);
    color: #fef3e7;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    width: 100%;
    display: inline-block;
}
.onboarding-progress .steps-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}
.onboarding-progress .badge-complete {
    background: rgba(16, 185, 129, 0.18);
    color: #a6f4c5;
    border-color: rgba(16, 185, 129, 0.6);
}
.onboarding-progress .badge-current {
    background: rgba(249, 115, 22, 0.28);
    color: #ffead7;
    border-color: rgba(249, 115, 22, 0.65);
}
.onboarding-progress .badge-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #f9d57a;
    border-color: rgba(255, 193, 7, 0.45);
}
.onboarding-progress .badge-complete-pill {
    background: rgba(16, 185, 129, 0.2);
    color: #e6fffb;
    border: 1px solid rgba(16, 185, 129, 0.7);
    padding: 0.35rem 0.85rem;
    font-weight: 700;
    border-radius: 999px;
}

/*--------------------------------------------------------------
# PAGE LOADER
--------------------------------------------------------------*/
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 7, 6, 0.92);
    transition: opacity 0.2s ease;
}
.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/*--------------------------------------------------------------
# MEDIA QUERIES
--------------------------------------------------------------*/
@media (min-width: 768px) {
    .fs-md-1 { font-size: 3rem !important; }
    .fs-md-2 { font-size: 2.5rem !important; }
    .fs-md-3 { font-size: 2rem !important; }
    .fs-md-4 { font-size: 1.5rem !important; }
    .fs-md-5 { font-size: 1.25rem !important; }
    .fs-md-6 { font-size: 1rem !important; }
}
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu { display: block; }
}
.dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.dropdown-menu .dropdown-item {
    color: #fef3e7;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: rgba(249, 115, 22, 0.18);
    color: #fff;
}
.dropdown-menu .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cart-comment {
    background: #2d1b15;
    color: #f6e7d5;
    border: 1px solid #6a4c39;
    border-radius: 10px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.35);
    padding: 10px 12px;
}
.cart-comment::placeholder {
    color: #c7ab93;
    opacity: 1;
}
.cart-comment:focus {
    border-color: #c89c6e;
    box-shadow: 0 0 0 2px rgba(200,156,110,0.25);
    outline: none;
}
