body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b0f19;
    color: #ffffff;
}

.container {
    padding: 20px;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111827;
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
}

.logo {
    font-weight: bold;
    font-size: 18px;
}

.nav-admin {
    color: #facc15;
    font-weight: 600;
}

.nav-admin:hover {
    color: #fde047;
}

/* FOOTER */

.footer {
    text-align: center;
    padding: 20px;
    background: #111827;
    margin-top: 40px;
}

.site-footer {
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 1px solid #1f2937;
}

.footer-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-right: 15px;
    color: #9ca3af;
}

.footer-links a:hover {
    color: #fff;
}

.site-footer {
    margin-top: 60px;
    padding: 36px 20px 20px;
    border-top: 1px solid #1f2937;
    background: rgba(11, 15, 25, 0.7);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-left {
    max-width: 420px;
}

.footer-left strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-left p {
    margin: 0;
    color: #9ca3af;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-content: flex-start;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid #1f2937;
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background: #1d4ed8;
}

.auth-box {
    max-width: 500px;
    margin: 40px auto;
    background: #111827;
    padding: 30px;
    border-radius: 12px;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #0b1220;
    color: #fff;
    box-sizing: border-box;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    white-space: pre-line;
}

.alert-success {
    background: #14532d;
    color: #dcfce7;
}

.alert-error {
    background: #7f1d1d;
    color: #fee2e2;
}

.dashboard-wrap {
    max-width: 1100px;
    margin: 30px auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-card {
    background: #111827;
    border-radius: 12px;
    padding: 24px;
}

.dashboard-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #374151;
}

.btn-secondary:hover {
    background: #4b5563;
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.form-page {
    max-width: 1100px;
    margin: 30px auto;
}

.form-box {
    background: #111827;
    padding: 30px;
    border-radius: 14px;
}

.report-form h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 22px;
    border-bottom: 1px solid #253046;
    padding-bottom: 8px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #0b1220;
    color: #fff;
    box-sizing: border-box;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

.form-actions {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-box {
        padding: 20px;
    }
}

.cases-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.cases-table {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
}

.cases-table th,
.cases-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #1f2937;
    font-size: 14px;
}

.cases-table th {
    background: #0f172a;
    font-weight: 600;
}

.cases-table tr:hover {
    background: #0b1220;
}

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-draft {
    background: #374151;
    color: #f3f4f6;
}

.status-unpaid {
    background: #7c2d12;
    color: #ffedd5;
}

.status-pending {
    background: #78350f;
    color: #fef3c7;
}

.status-approved {
    background: #14532d;
    color: #dcfce7;
}

.status-rejected {
    background: #7f1d1d;
    color: #fee2e2;
}

.status-withdrawn {
    background: #334155;
    color: #cbd5e1;
}

.btn-small {
    padding: 8px 12px;
    font-size: 13px;
}

.case-wrap {
    max-width: 1000px;
    margin: 30px auto;
}

.case-status-box {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.case-card {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.case-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.case-card p {
    margin: 6px 0;
    font-size: 14px;
}

.case-actions {
    margin-top: 20px;
}

.checkout-wrap {
    max-width: 700px;
    margin: 30px auto;
}

.checkout-card {
    background: #111827;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.checkout-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.comment-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    background: #0b1220;
    color: #fff;
    border: 1px solid #374151;
}

.comment-item {
    background: #0b1220;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.sighting-form .form-group input,
.sighting-form .form-group textarea {
    width: 100%;
}

.sighting-item {
    background: #0b1220;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

#map {
    width: 100%;
}

.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: #9ca3af;
}

/* HOME PAGE */

.hero.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px;
}

.hero-content {
    background: linear-gradient(180deg, rgba(17,24,39,0.95) 0%, rgba(11,18,32,0.95) 100%);
    border-radius: 18px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 0 0 20px;
}

.hero-text {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.7;
    max-width: 620px;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    color: #cbd5e1;
    margin-bottom: 18px;
}

.hero-trust-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-trust-inline span {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #dbeafe;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1220;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.95);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11,15,25,0.10) 0%, rgba(11,15,25,0.45) 100%),
        linear-gradient(180deg, rgba(11,15,25,0.15) 0%, rgba(11,15,25,0.30) 100%);
    z-index: 1;
}

.hero-visual img {
    position: relative;
    z-index: 0;
}

.section-block {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 40px 20px;
}

.section-highlight {
    background: linear-gradient(180deg, rgba(17,24,39,0.70) 0%, rgba(11,18,32,0.70) 100%);
    border-radius: 18px;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading.centered {
    text-align: center;
}

.section-heading h2 {
    font-size: 38px;
    margin: 0 0 12px;
}

.section-heading p {
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 16px;
}

.feature-grid,
.steps-grid {
    display: grid;
    gap: 20px;
}

.feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.step-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 24px;
}

.feature-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.feature-card p,
.step-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.final-cta {
    text-align: center;
    padding-bottom: 60px;
}

.final-cta-actions {
    margin-top: 20px;
}

.cta-subtext {
    margin-top: 10px;
    font-size: 13px;
    color: #94a3b8;
}

.btn-large {
    padding: 16px 28px;
    font-size: 16px;
}

@media (max-width: 992px) {
    .hero.hero-split {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 40px 24px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .feature-grid-4,
    .feature-grid-3,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .section-heading h2 {
        font-size: 30px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 16px;
    }

    .feature-grid-4,
    .feature-grid-3,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero.hero-split {
        padding: 15px;
    }

    .section-block {
        padding: 30px 15px;
    }
}

/* =========================================
   ENHANCED HOME PAGE
========================================= */

.hero.hero-split.hero-enhanced {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 30px;
    max-width: 1240px;
    margin: 30px auto 0;
    padding: 20px;
}

.hero-content {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 35%),
        linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    border-radius: 22px;
    padding: 64px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(37,99,235,0.16) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.hero-content h1 {
    font-size: 58px;
    line-height: 1.02;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
}

.hero-text {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-note {
    color: #cbd5e1;
    margin-bottom: 18px;
    font-size: 15px;
}

.enhanced-trust-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.trust-chip {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
}

.hero-visual.hero-visual-enhanced {
    position: relative;
    min-height: 560px;
    border-radius: 22px;
    overflow: hidden;
    background: #0b1220;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.96) contrast(1.02);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11,15,25,0.20) 0%, rgba(11,15,25,0.52) 100%),
        linear-gradient(180deg, rgba(11,15,25,0.12) 0%, rgba(11,15,25,0.34) 100%);
    z-index: 1;
}

.hero-image-glow {
    position: absolute;
    inset: auto auto 0 0;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(37,99,235,0.22) 0%, transparent 72%);
    z-index: 2;
    pointer-events: none;
}

.hero-visual img {
    position: relative;
    z-index: 0;
}

.btn-primary-glow {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}

.btn-primary-glow:hover {
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.34);
}

.section-block {
    max-width: 1240px;
    margin: 30px auto 0;
    padding: 44px 20px;
}

.section-highlight {
    background:
        radial-gradient(circle at top center, rgba(37,99,235,0.08), transparent 35%),
        linear-gradient(180deg, rgba(17,24,39,0.78) 0%, rgba(11,18,32,0.78) 100%);
    border: 1px solid rgba(59, 130, 246, 0.10);
    border-radius: 22px;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading.centered {
    text-align: center;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #93c5fd;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.section-heading h2 {
    font-size: 42px;
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-heading p {
    color: #cbd5e1;
    max-width: 840px;
    margin: 0 auto;
    line-height: 1.75;
    font-size: 16px;
}

.feature-grid,
.steps-grid {
    display: grid;
    gap: 20px;
}

.feature-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.steps-grid-enhanced::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.24), transparent);
    z-index: 0;
}

.feature-card,
.step-card {
    background:
        linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 26px;
    position: relative;
    z-index: 1;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover,
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.26);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.20);
}

.feature-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.feature-card p,
.step-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 22px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.30);
    color: #dbeafe;
}

.feature-card-spotlight {
    border-color: rgba(37,99,235,0.20);
    box-shadow: inset 0 0 0 1px rgba(37,99,235,0.05);
}

.step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.36);
    color: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.step-card-highlight {
    border-color: rgba(37,99,235,0.28);
    box-shadow: 0 0 0 1px rgba(37,99,235,0.08), 0 14px 30px rgba(0, 0, 0, 0.16);
}

.trust-section-enhanced {
    position: relative;
    overflow: hidden;
}

.trust-section-enhanced::after {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 70%);
    pointer-events: none;
}

.trust-card {
    text-align: center;
}

.trust-card .feature-icon {
    margin-left: auto;
    margin-right: auto;
}

.final-cta.final-cta-enhanced {
    text-align: center;
    padding-bottom: 70px;
}

.final-cta-box {
    max-width: 980px;
    margin: 0 auto;
    padding: 44px 26px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top center, rgba(37,99,235,0.14), transparent 35%),
        linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.final-cta-actions {
    margin-top: 24px;
}

.btn-large {
    padding: 16px 30px;
    font-size: 16px;
}

@media (max-width: 992px) {
    .hero.hero-split.hero-enhanced {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 42px 24px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-visual.hero-visual-enhanced {
        min-height: 420px;
    }

    .feature-grid-4,
    .feature-grid-3,
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid-enhanced::before {
        display: none;
    }

    .section-heading h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .hero.hero-split.hero-enhanced {
        padding: 15px;
        gap: 18px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-text {
        font-size: 16px;
    }

    .feature-grid-4,
    .feature-grid-3,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section-block {
        padding: 30px 15px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .hero-visual.hero-visual-enhanced {
        min-height: 320px;
    }

    .final-cta-box {
        padding: 34px 18px;
    }
}

.navbar.navbar-enhanced {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(17, 24, 39, 0.88);
    border-bottom: 1px solid rgba(59, 130, 246, 0.10);
}

.nav-cta {
    background: #2563eb;
    padding: 10px 14px;
    border-radius: 8px;
}

.nav-cta:hover {
    background: #1d4ed8;
}

/* =========================================
   MOBILE NAV FIX
========================================= */

.navbar.navbar-enhanced {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(17, 24, 39, 0.88);
    border-bottom: 1px solid rgba(59, 130, 246, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-left {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo {
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nav-right a {
    margin-left: 0;
}

.nav-cta {
    background: #2563eb;
    padding: 10px 14px;
    border-radius: 8px;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #1d4ed8;
}

.mobile-nav-toggle {
    display: none;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar.navbar-enhanced {
        padding: 14px 16px;
        position: sticky;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-right {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(59, 130, 246, 0.10);
    }

    .nav-right.nav-open {
        display: flex;
    }

    .nav-right a {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px 14px;
        background: rgba(11, 18, 32, 0.88);
        border-radius: 10px;
    }

    .nav-right .nav-cta {
        text-align: center;
        background: #2563eb;
    }

    .logo {
        font-size: 17px;
    }
}

.legal-page {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.legal-page h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.legal-page h2 {
    margin-top: 20px;
    font-size: 20px;
}

.legal-page p {
    color: #cbd5e1;
    line-height: 1.7;
}

/* =========================================
   HOME PAGE EXTRA BLOCKS — FIXED
========================================= */

.stats-section-clean {
    max-width: 1240px;
    margin: 30px auto 0;
    padding: 20px;
}

.stats-note-clean {
    margin-top: 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.stats-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.text-card-clean .btn {
    margin-top: 6px;
}

.stat-card-clean {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 24px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon-clean {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 22px;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.30);
    color: #dbeafe;
}

.stat-value-clean {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label-clean {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.4;
}

.content-split-clean {
    max-width: 1240px;
    margin: 30px auto 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.stats-section-clean,
.stats-grid-clean,
.stat-card-clean {
    box-sizing: border-box;
}


@media (max-width: 768px) {
    .content-split-clean {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .stats-grid-clean {
        grid-template-columns: 1fr !important;
    }

    .stat-card-clean {
        width: 100%;
    }
    
    .text-card-clean {
        padding: 22px 18px;
    }

    .text-card-clean h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .text-card-clean p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .map-card-clean {
        min-height: 260px;
    }

    .map-card-inner-clean {
        padding: 20px;
        align-items: flex-end;
    }

    .map-text-clean {
        max-width: 100%;
    }

    .map-text-clean h3 {
        font-size: 20px;
    }

    .map-text-clean p {
        font-size: 13px;
    }

    .map-dot-clean {
        width: 10px;
        height: 10px;
    }
    
    .hero h1 {
        font-size: 28px;
    }

    .hero-text {
        font-size: 14px;
    }
    
    .stats-section-clean {
        padding-left: 15px;
        padding-right: 15px;
    }

    .stats-grid-clean {
        grid-template-columns: 1fr !important;
        gap: 14px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .stat-card-clean {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

.content-card-clean {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59, 130, 246, 0.10);
    border-radius: 22px;
    overflow: hidden;
    min-width: 0;
}

.text-card-clean {
    padding: 34px 30px;
}

.text-card-clean h2 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.text-card-clean p {
    color: #cbd5e1;
    line-height: 1.8;
    margin: 0 0 18px;
    font-size: 16px;
}

.visual-card-clean {
    position: relative;
    min-height: 420px;
}

.visual-card-clean img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visual-card-overlay-clean {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,15,25,0.10) 0%, rgba(11,15,25,0.35) 100%),
        linear-gradient(90deg, rgba(11,15,25,0.08) 0%, rgba(11,15,25,0.22) 100%);
}

.map-card-clean {
    min-height: 420px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
}

.map-card-bg-clean {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11,15,25,0.20) 0%, rgba(11,15,25,0.55) 100%),
        linear-gradient(90deg, rgba(11,15,25,0.12) 0%, rgba(11,15,25,0.28) 100%);
    z-index: 1;
}

.map-card-bg-clean::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/location-map-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.42;
}

.map-card-inner-clean {
    position: relative;
    z-index: 2;
    min-height: 420px;
    padding: 30px;
    display: flex;
    align-items: flex-end;
}

.map-text-clean {
    max-width: 430px;
}

.map-text-clean h3 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.2;
    color: #ffffff;
}

.map-text-clean p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 15px;
}

.map-world-shape {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 34%, rgba(148,163,184,0.14) 0 6%, transparent 7%),
        radial-gradient(circle at 30% 38%, rgba(148,163,184,0.10) 0 4%, transparent 5%),
        radial-gradient(circle at 48% 36%, rgba(148,163,184,0.12) 0 7%, transparent 8%),
        radial-gradient(circle at 60% 34%, rgba(148,163,184,0.10) 0 5%, transparent 6%),
        radial-gradient(circle at 68% 40%, rgba(148,163,184,0.12) 0 6%, transparent 7%),
        radial-gradient(circle at 76% 52%, rgba(148,163,184,0.10) 0 4%, transparent 5%),
        radial-gradient(circle at 58% 58%, rgba(148,163,184,0.10) 0 5%, transparent 6%),
        radial-gradient(circle at 36% 60%, rgba(148,163,184,0.08) 0 4%, transparent 5%);
    opacity: 0.55;
    pointer-events: none;
}

.map-card-inner-clean h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
}

.map-card-inner-clean p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 440px;
}

.map-dot-clean {
    position: absolute;
    z-index: 3;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 8px rgba(239,68,68,0.10);
}

.dot-1 { top: 26%; left: 22%; }
.dot-2 { top: 32%; left: 60%; }
.dot-3 { top: 54%; left: 42%; }
.dot-4 { top: 68%; left: 85%; }

@media (max-width: 992px) {
    .map-card-clean,
    .map-card-inner-clean {
        min-height: 320px;
    }

    .map-text-clean h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .map-card-clean,
    .map-card-inner-clean {
        min-height: 280px;
    }

    .map-card-inner-clean {
        padding: 22px 20px;
        align-items: flex-end;
    }

    .map-text-clean {
        max-width: 100%;
    }

    .map-text-clean h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .map-text-clean p {
        font-size: 14px;
        line-height: 1.6;
    }

    .map-dot-clean {
        width: 12px;
        height: 12px;
    }
}

/* =========================================
   REPORT PAGE ENHANCED
========================================= */

.report-page-wrap {
    max-width: 1100px;
    margin: 30px auto 0;
    padding: 20px;
}

.report-page-header {
    margin-bottom: 24px;
    text-align: center;
}

.report-page-header h1 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.15;
}

.report-page-header p {
    max-width: 760px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.8;
}

.report-trust-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.report-trust-item {
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.30);
    color: #dbeafe;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 500;
}

.report-form-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-section-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 28px;
}

.report-section-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.section-subtext {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.report-submit-box {
    text-align: center;
    background:
        radial-gradient(circle at top center, rgba(37,99,235,0.14), transparent 35%),
        linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.12);
    border-radius: 22px;
    padding: 34px 22px;
}

.report-submit-box h3 {
    margin: 0 0 10px;
    font-size: 28px;
}

.report-submit-box p {
    margin: 0 0 16px;
    color: #cbd5e1;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .report-page-wrap {
        padding: 15px;
    }

    .report-page-header h1 {
        font-size: 32px;
    }

    .report-section-card {
        padding: 22px 18px;
    }

    .report-section-card h2 {
        font-size: 24px;
    }

    .report-submit-box h3 {
        font-size: 24px;
    }
}

/* =========================================
   REPORT FORM MOBILE WIDTH FIX
========================================= */

.report-form-enhanced,
.report-section-card,
.report-section-card .form-group {
    box-sizing: border-box;
}

.report-section-card .form-group {
    min-width: 0;
}

@media (max-width: 768px) {
    .report-page-wrap {
        padding: 15px;
    }

    .report-section-card {
        padding: 20px 16px;
        overflow: hidden;
    }

    .report-section-card .form-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    .report-section-card .form-group {
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .report-section-card textarea {
        resize: vertical;
    }
    
    .report-page-wrap *,
    .report-section-card * {
        min-width: 0;
    }
}

/* =========================================
   REPORT FORM HARD MOBILE FIX
========================================= */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.report-page-wrap,
.report-form-enhanced,
.report-section-card,
.report-section-card .form-grid,
.report-section-card .form-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.report-section-card {
    overflow: hidden;
}

.report-section-card input,
.report-section-card select,
.report-section-card textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.report-section-card input[type="date"],
.report-section-card input[type="number"],
.report-section-card input[type="text"],
.report-section-card select,
.report-section-card textarea {
    padding: 12px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .report-page-wrap {
        width: 100%;
        max-width: 100%;
        padding: 15px !important;
        margin: 20px auto 0;
    }

    .report-form-enhanced {
        width: 100%;
        max-width: 100%;
    }

    .report-section-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px !important;
        border-radius: 18px;
    }

    .report-section-card .form-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 14px;
        width: 100%;
        max-width: 100%;
    }

    .report-section-card .form-group {
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .report-section-card input,
    .report-section-card select,
    .report-section-card textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0;
    }
}

/* =========================================
   DATE INPUT HEIGHT FIX
========================================= */

.report-section-card input[type="date"] {
    min-height: 45px;
    height: 45px;
    line-height: 1.2;
    padding: 12px 14px;
}

@media (max-width: 768px) {
    .report-section-card input[type="date"] {
        min-height: 45px;
        height: 45px;
        padding: 12px 14px;
        font-size: 16px;
    }
}

.report-section-card input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

.report-section-card input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.9;
}

/* =========================================
   REPORT UX ENHANCEMENTS
========================================= */

.report-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 auto 24px;
    max-width: 900px;
}

.report-progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

.report-progress-step.active {
    color: #dbeafe;
}

.step-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.30);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 700;
}

.report-progress-line {
    width: 44px;
    height: 1px;
    background: rgba(59,130,246,0.20);
}

.required-mark {
    color: #60a5fa;
    font-weight: 700;
}

.mobile-submit-bar {
    display: none;
}

.desktop-submit-btn {
    display: inline-flex;
}

@media (max-width: 768px) {
    .report-progress {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 0 auto 20px;
        text-align: center;
    }

    .report-progress-step {
        font-size: 13px;
        justify-content: center;
    }

    .report-progress-line {
        width: 1px;
        height: 20px;
        background: rgba(59,130,246,0.20);
    }

    .desktop-submit-btn {
        display: none;
    }

    .mobile-submit-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(17,24,39,0.96);
        border: 1px solid rgba(59,130,246,0.16);
        box-shadow: 0 12px 30px rgba(0,0,0,0.28);
        backdrop-filter: blur(10px);
    }

    .mobile-submit-text {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .mobile-submit-text strong {
        color: #ffffff;
        font-size: 14px;
    }

    .mobile-submit-text span {
        color: #94a3b8;
        font-size: 12px;
    }

    .mobile-submit-btn {
        padding: 12px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .report-form-enhanced {
        padding-bottom: 90px;
    }
}

.mobile-progress-simple {
    display: none;
}

@media (max-width: 768px) {
    .desktop-progress {
        display: none;
    }

    .mobile-progress-simple {
        display: block;
        max-width: 100%;
        margin: 0 auto 20px;
    }

    .mobile-progress-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        gap: 10px;
    }

    .mobile-progress-step-label {
        color: #93c5fd;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .mobile-progress-title {
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-progress-track {
        width: 100%;
        height: 8px;
        background: rgba(59,130,246,0.12);
        border-radius: 999px;
        overflow: hidden;
    }

    .mobile-progress-fill {
        width: 33.333%;
        height: 100%;
        background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
        border-radius: 999px;
    }
}

/* =========================================
   REPORT ERROR UX
========================================= */

.report-alert {
    max-width: 520px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border-radius: 14px;
    line-height: 1.7;
    font-size: 14px;
    border: 1px solid transparent;
}

.report-alert-error {
    background: rgba(127, 29, 29, 0.18);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.24);
}

.report-alert-success {
    background: rgba(20, 83, 45, 0.18);
    color: #dcfce7;
    border-color: rgba(34, 197, 94, 0.24);
}

/* =========================================
   CASE GALLERY
========================================= */

.case-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.case-gallery-item {
    background: #0b1220;
    border: 1px solid #1f2937;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.case-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .case-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-gallery {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CASE PREVIEW THUMB IN MY CASES
========================================= */

.case-preview-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    border: 1px solid #1f2937;
    background: #0b1220;
}

.case-preview-placeholder {
    width: 72px;
    height: 54px;
    border-radius: 10px;
    border: 1px dashed #374151;
    color: #94a3b8;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1220;
}

@media (max-width: 768px) {
    .case-preview-thumb,
    .case-preview-placeholder {
        width: 64px;
        height: 48px;
    }
}

/* =========================================
   ADMIN DASHBOARD
========================================= */

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.admin-stat-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.admin-stat-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.admin-stat-label {
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 992px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PAYMENT PAGE
========================================= */

.payment-box {
    margin-top: 16px;
    text-align: center;
}

.payment-price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =========================================
   CASE VIEW ENHANCED
========================================= */

.case-page-enhanced {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px;
}

.case-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    margin-bottom: 24px;
}

.case-hero-left,
.case-hero-right {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 22px;
    overflow: hidden;
}

.case-hero-left {
    padding: 32px 28px;
}

.case-hero-left h1 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.08;
}

.case-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 18px;
    color: #cbd5e1;
    line-height: 1.6;
}

.case-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.case-hero-right {
    min-height: 320px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #0b1220;
    overflow: hidden;
}

.case-hero-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1220;
}

.case-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (min-width: 993px) {
    .case-hero-right {
        min-height: 300px;
        max-height: 340px;
    }

    .case-hero-image-wrap {
        min-height: 300px;
        max-height: 340px;
    }

    .case-hero-image {
        object-fit: contain;
        background: #0b1220;
        padding: 18px;
    }
}

.case-hero-placeholder {
    color: #94a3b8;
    font-size: 18px;
}

.case-section-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.case-section-card h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 28px;
}

.case-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.case-gallery-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 992px) {
    .case-hero {
        grid-template-columns: 1fr;
    }

    .case-summary-grid {
        grid-template-columns: 1fr;
    }

    .case-gallery-enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .case-page-enhanced {
        padding: 15px;
    }

    .case-hero-left {
        padding: 24px 18px;
    }

    .case-hero-left h1 {
        font-size: 32px;
    }

    .case-section-card {
        padding: 20px 16px;
    }

    .case-section-card h2 {
        font-size: 24px;
    }

    .case-gallery-enhanced {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   CASE VIEW FORM CLEAN FIX
========================================= */

.case-page-enhanced .case-section-card,
.case-page-enhanced .comment-form,
.case-page-enhanced .sighting-form,
.case-page-enhanced .form-grid,
.case-page-enhanced .form-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.case-page-enhanced .form-group label {
    display: block;
    margin-bottom: 8px;
}

.case-page-enhanced .comment-form textarea,
.case-page-enhanced .sighting-form input,
.case-page-enhanced .sighting-form select,
.case-page-enhanced .sighting-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.case-page-enhanced .sighting-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.case-page-enhanced .sighting-form textarea,
.case-page-enhanced .comment-form textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .case-page-enhanced {
        padding: 15px;
        overflow-x: hidden;
    }

    .case-page-enhanced .case-section-card {
        padding: 20px 16px;
        overflow: hidden;
    }

    .case-page-enhanced .sighting-form .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .case-page-enhanced .form-group {
        margin-bottom: 16px;
    }

    .case-page-enhanced .comment-form textarea,
    .case-page-enhanced .sighting-form input,
    .case-page-enhanced .sighting-form select,
    .case-page-enhanced .sighting-form textarea {
        font-size: 16px;
        padding: 12px;
    }

    .case-page-enhanced .sighting-form input[type="date"],
    .case-page-enhanced .sighting-form input[type="time"] {
        height: 48px;
        min-height: 48px;
    }
}

/* =========================================
   CASE VIEW MOBILE LAYOUT ROOT FIX
========================================= */

@media (max-width: 768px) {
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }

    .case-page-enhanced {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 0 0 !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .case-page-enhanced .case-section-card,
    .case-page-enhanced .case-hero-left,
    .case-page-enhanced .case-hero-right {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .case-page-enhanced .case-section-card {
        padding: 20px 14px !important;
    }

    .case-page-enhanced .sighting-form,
    .case-page-enhanced .sighting-form .form-grid,
    .case-page-enhanced .sighting-form .form-group {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .case-page-enhanced .sighting-form .form-grid {
        display: block !important;
    }

    .case-page-enhanced .sighting-form input,
    .case-page-enhanced .sighting-form select,
    .case-page-enhanced .sighting-form textarea {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
}

/* =========================================
   CASE VIEW SIGHTINGS CLEAN
========================================= */

.sighting-form-clean,
.sighting-form-clean * {
    box-sizing: border-box;
}

.sighting-form-clean {
    width: 100%;
    max-width: 100%;
}

.case-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    max-width: 100%;
}

.case-form-group {
    width: 100%;
    max-width: 100%;
    margin-bottom: 18px;
    min-width: 0;
}

.case-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.case-form-group input,
.case-form-group select,
.case-form-group textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 12px;
    background: #0b1220;
    color: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.case-form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .case-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .case-form-group {
        margin-bottom: 16px;
    }

    .case-form-group input,
    .case-form-group select,
    .case-form-group textarea {
        font-size: 16px;
    }

    .case-form-group input[type="date"],
    .case-form-group input[type="time"] {
        min-height: 48px;
        height: 48px;
    }
}

/* =========================================
   CASE VIEW MOBILE OUTER LAYOUT FIX
========================================= */

@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    .case-page-enhanced {
        width: 100vw !important;
        max-width: 100vw !important;
        margin: 20px 0 0 0 !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .case-hero,
    .case-summary-grid,
    .case-section-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    .case-section-card,
    .case-hero-left,
    .case-hero-right {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

/* =========================================
   CASE VIEW SIGHTINGS IOS SAFE INPUTS
========================================= */

.sighting-form-clean input[type="text"],
.sighting-form-clean textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .sighting-form-clean input[type="text"],
    .sighting-form-clean textarea {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

.case-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.case-status-pending {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
}

.case-status-approved {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}

.case-status-rejected {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}

.case-meta {
    display: flex;
    gap: 20px;
    margin-top: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #94a3b8;
    flex-wrap: wrap;
}

/* =========================================
   CASE VIEW HERO CLEAN
========================================= */

.case-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.case-hero-left,
.case-hero-right {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid #1f2937;
    border-radius: 22px;
    box-sizing: border-box;
    min-width: 0;
}

.case-hero-left {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-hero-left .section-kicker {
    margin-bottom: 10px;
}

.case-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 8px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
}

.case-status-unpaid {
    background: rgba(249, 115, 22, 0.16);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.28);
}

.case-status-pending {
    background: rgba(59, 130, 246, 0.16);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.28);
}

.case-status-approved {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.28);
}

.case-status-rejected {
    background: rgba(239, 68, 68, 0.16);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.28);
}

.case-hero-left h1 {
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.case-meta div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.case-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 2px;
}

.case-hero-right {
    overflow: hidden;
    background: #0b1220;
    min-height: 340px;
    max-height: 420px;
}

.case-hero-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 420px;
    overflow: hidden;
    border-radius: 22px;
    background: #0b1220;
}

.case-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.case-hero-placeholder {
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
}

@media (max-width: 992px) {
    .case-hero {
        grid-template-columns: 1fr;
    }

    .case-hero-right,
    .case-hero-image-wrap,
    .case-hero-placeholder {
        min-height: 320px;
        max-height: 420px;
    }

    .case-hero-left h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .case-hero {
        gap: 18px;
    }

    .case-hero-left,
    .case-hero-right {
        width: 100%;
        max-width: 100%;
    }

    .case-hero-left {
        padding: 24px 18px;
    }

    .case-hero-left h1 {
        font-size: 30px;
        line-height: 1.12;
    }

    .case-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .case-hero-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 0;
    }

    .case-hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 14px;
    }

    .case-hero-right,
    .case-hero-image-wrap,
    .case-hero-placeholder {
        min-height: 260px;
        max-height: 360px;
    }
}

/* =========================================
   ADMIN CASES ENHANCED
========================================= */

.admin-page-intro {
    margin: 10px 0 20px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.admin-actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-success {
    background: #166534;
    color: #dcfce7;
}

.btn-success:hover {
    background: #15803d;
}

.btn-danger {
    background: #991b1b;
    color: #fee2e2;
}

.btn-danger:hover {
    background: #b91c1c;
}

.admin-actions-cell .btn {
    margin: 0;
}

/* =========================================
   ADMIN CASES ENHANCED
========================================= */

.admin-page-intro {
    margin: 10px 0 18px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.admin-stats {
    display: flex;
    gap: 16px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.admin-stat {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(59, 130, 246, 0.20);
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 120px;
}

.admin-stat span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.admin-stat strong {
    font-size: 20px;
    color: #e2e8f0;
}

.admin-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 20px;
}

.admin-filter select {
    min-width: 180px;
    padding: 10px 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #0b1220;
    color: #fff;
    box-sizing: border-box;
}

.admin-actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-actions-cell .btn {
    margin: 0;
}

.btn-success {
    background: #166534;
    color: #dcfce7;
}

.btn-success:hover {
    background: #15803d;
}

.btn-danger {
    background: #991b1b;
    color: #fee2e2;
}

.btn-danger:hover {
    background: #b91c1c;
}

.pending-row {
    background: rgba(234, 179, 8, 0.04);
}

@media (max-width: 768px) {
    .admin-stats {
        gap: 12px;
    }

    .admin-stat {
        min-width: calc(50% - 6px);
    }

    .admin-filter {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-filter select,
    .admin-filter .btn {
        width: 100%;
    }
}

/* =========================================
   ADMIN PAYMENTS
========================================= */

.payment-ref-cell {
    max-width: 220px;
    word-break: break-word;
    font-size: 12px;
    color: #cbd5e1;
}

/* =========================================
   ADMIN ACTIVITY LOGS
========================================= */

.admin-log-action {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.22);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 600;
}

.admin-log-ip {
    white-space: nowrap;
    color: #cbd5e1;
    font-size: 12px;
}

.admin-log-details {
    max-width: 320px;
    word-break: break-word;
    line-height: 1.6;
}

.admin-log-user-agent {
    margin-top: 8px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    word-break: break-word;
}

/* =========================================
   ADMIN USERS
========================================= */

.admin-role-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.admin-role-admin {
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
    border: 1px solid rgba(250, 204, 21, 0.24);
}

.admin-role-user {
    background: rgba(59, 130, 246, 0.12);
    color: #dbeafe;
    border: 1px solid rgba(59, 130, 246, 0.22);
}

.admin-verified-yes {
    color: #86efac;
    font-size: 13px;
    font-weight: 600;
}

.admin-verified-no {
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
}

/* ===============================
   NAVBAR
=============================== */

.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

/* LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

/* CTA */
.nav-cta {
    background: #2563eb;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 8px;
}

.nav-cta:hover {
    background: #1d4ed8;
}

/* ADMIN */
.nav-admin {
    background: rgba(59,130,246,0.15);
    padding: 8px 12px;
    border-radius: 8px;
}

/* LOGOUT */
.nav-logout {
    color: #f87171;
}

/* BURGER */
.nav-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-burger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        width: 220px;
        background: #0f172a;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
    }
}

/* =========================================
   ADMIN SHARED LAYOUT
========================================= */

.admin-pro-layout {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.admin-pro-sidebar {
    width: 250px;
    flex: 0 0 250px;
    background: linear-gradient(180deg, rgba(15,23,42,0.98) 0%, rgba(11,18,32,0.98) 100%);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 24px 18px;
    box-sizing: border-box;
}

.admin-pro-brand {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.admin-pro-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-pro-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #dbeafe;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.08);
    transition: 0.2s ease;
}

.admin-pro-menu a:hover,
.admin-pro-menu a.active {
    background: rgba(59,130,246,0.14);
    border-color: rgba(59,130,246,0.24);
    transform: translateY(-1px);
}

.admin-pro-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px 28px 40px;
    box-sizing: border-box;
}

@media (min-width: 901px) {
    .admin-pro-sidebar {
        position: sticky;
        top: 72px;
        height: calc(100vh - 72px);
        overflow-y: auto;
    }
}

@media (max-width: 900px) {
    .admin-pro-layout {
        display: block;
    }

    .admin-pro-sidebar {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .admin-pro-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-pro-main {
        padding: 20px 15px 32px;
    }
}

@media (max-width: 768px) {
    .admin-pro-menu {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ADMIN LAYOUT FINAL
========================================= */

.admin-pro-layout {
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 72px);
}

.admin-pro-sidebar {
    width: 250px;
    flex: 0 0 250px;
    background: linear-gradient(180deg, rgba(15,23,42,0.98) 0%, rgba(11,18,32,0.98) 100%);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 24px 18px;
    box-sizing: border-box;
}

.admin-pro-main {
    flex: 1 1 auto;
    min-width: 0;
    padding: 28px 28px 40px;
    box-sizing: border-box;
}

/* sticky only on desktop */
@media (min-width: 901px) {
    .admin-pro-sidebar {
        position: fixed;
        top: 72px;
        left: 0;
        width: 250px;
        height: calc(100vh - 72px);
        overflow-y: auto;
        z-index: 900;
    }

    .admin-pro-main {
        margin-left: 250px;
        width: calc(100% - 250px);
    }
}

@media (max-width: 900px) {
    .admin-pro-layout {
        display: block;
    }

    .admin-pro-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .admin-pro-main {
        padding: 20px 15px 32px;
    }
}

/* =========================================
   ADMIN DASHBOARD PRO
========================================= */

.admin-pro-header {
    margin-bottom: 22px;
}

.admin-pro-header h1 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.15;
}

.admin-pro-header p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.7;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-kpi-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.16);
    border-radius: 16px;
    padding: 18px;
    min-width: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.admin-kpi-card span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.admin-kpi-card strong {
    display: block;
    font-size: 26px;
    color: #fff;
    line-height: 1.1;
}

.admin-pro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-pro-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.14);
    border-radius: 18px;
    padding: 22px;
    min-width: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.admin-pro-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.2;
}

.admin-pro-card p.admin-card-subtext {
    margin: -4px 0 16px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.admin-revenue-chart-wrap,
.admin-country-chart-wrap {
    position: relative;
    width: 100%;
    height: 300px;
}

#adminHeatMap {
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 8px;
}

.admin-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.admin-mini-links .btn {
    margin: 0;
}

.admin-pro-table-wrap {
    overflow-x: auto;
}

.admin-pro-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-pro-table th,
.admin-pro-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.admin-pro-table th {
    color: #cbd5e1;
    font-weight: 700;
}

.admin-flag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.24);
    color: #fca5a5;
    font-size: 12px;
    font-weight: 600;
}

.admin-soft-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.22);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 600;
}

.admin-muted {
    color: #94a3b8;
    font-size: 13px;
}

.admin-code-list {
    font-size: 12px;
    color: #cbd5e1;
    word-break: break-word;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-pro-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-pro-header h1 {
        font-size: 28px;
    }

    .admin-revenue-chart-wrap,
    .admin-country-chart-wrap {
        height: 260px;
    }

    #adminHeatMap {
        height: 300px;
    }
}




/* =========================================
   ADMIN CASE VIEW PRO
========================================= */

.admin-pro-main .case-page-enhanced {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.admin-pro-main .case-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}

.admin-pro-main .case-hero-left,
.admin-pro-main .case-hero-right,
.admin-pro-main .case-section-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.14);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.admin-pro-main .case-hero-left {
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.admin-pro-main .case-hero-left h1 {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.admin-pro-main .case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.admin-pro-main .case-meta div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-pro-main .case-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 2px;
}

.admin-pro-main .case-hero-actions .btn {
    margin: 0;
}

.admin-pro-main .case-hero-right {
    overflow: hidden;
    background: #0b1220;
    min-height: 340px;
    max-height: 420px;
}

.admin-pro-main .case-hero-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 420px;
    overflow: hidden;
    border-radius: 20px;
    background: #0b1220;
}

.admin-pro-main .case-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.admin-pro-main .case-hero-placeholder {
    width: 100%;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
}

.admin-pro-main .case-section-card {
    padding: 24px;
    margin-bottom: 20px;
}

.admin-pro-main .case-section-card h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 26px;
    line-height: 1.2;
}

.admin-pro-main .case-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.admin-pro-main .case-gallery-enhanced {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-pro-main .case-gallery-item {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: #0b1220;
}

.admin-pro-main .case-gallery-item img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.admin-pro-main .comment-item,
.admin-pro-main .sighting-item {
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    margin-bottom: 12px;
}

.admin-pro-main .comment-item:last-child,
.admin-pro-main .sighting-item:last-child {
    margin-bottom: 0;
}

.admin-pro-main .comment-item p,
.admin-pro-main .sighting-item p {
    margin: 0 0 8px;
    line-height: 1.7;
}

.admin-pro-main .comment-item small,
.admin-pro-main .sighting-item small {
    color: #94a3b8;
    font-size: 12px;
}

.admin-pro-main #adminCaseMap {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
}

.admin-pro-main .admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-pro-main .admin-kpi-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.16);
    border-radius: 16px;
    padding: 18px;
    min-width: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.admin-pro-main .admin-kpi-card span {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 6px;
    line-height: 1.4;
}

.admin-pro-main .admin-kpi-card strong {
    display: block;
    font-size: 26px;
    color: #fff;
    line-height: 1.1;
}

.admin-pro-main .admin-pro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-pro-main .admin-pro-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.14);
    border-radius: 18px;
    padding: 22px;
    min-width: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.admin-pro-main .admin-pro-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.2;
}

.admin-pro-main .admin-card-subtext {
    margin: -4px 0 16px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.admin-pro-main .admin-pro-table-wrap {
    overflow-x: auto;
}

.admin-pro-main .admin-pro-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-pro-main .admin-pro-table th,
.admin-pro-main .admin-pro-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.admin-pro-main .admin-pro-table th {
    color: #cbd5e1;
    font-weight: 700;
    width: auto;
}

.admin-pro-main .admin-mini-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.admin-pro-main .admin-mini-links .btn {
    margin: 0;
}

.admin-pro-main .admin-muted {
    color: #94a3b8;
    font-size: 13px;
}

.admin-pro-main .admin-code-list {
    font-size: 12px;
    color: #cbd5e1;
    word-break: break-word;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .admin-pro-main .admin-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-pro-main .admin-pro-grid,
    .admin-pro-main .case-summary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .admin-pro-main .case-hero {
        grid-template-columns: 1fr;
    }

    .admin-pro-main .case-hero-right,
    .admin-pro-main .case-hero-image-wrap,
    .admin-pro-main .case-hero-placeholder {
        min-height: 320px;
        max-height: 420px;
    }

    .admin-pro-main .case-hero-left h1 {
        font-size: 34px;
    }

    .admin-pro-main .case-gallery-enhanced {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-pro-main .case-hero {
        gap: 18px;
    }

    .admin-pro-main .case-hero-left,
    .admin-pro-main .case-hero-right,
    .admin-pro-main .case-section-card,
    .admin-pro-main .admin-pro-card {
        width: 100%;
        max-width: 100%;
    }

    .admin-pro-main .case-hero-left {
        padding: 24px 18px;
    }

    .admin-pro-main .case-hero-left h1 {
        font-size: 28px;
        line-height: 1.12;
    }

    .admin-pro-main .case-meta {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .admin-pro-main .case-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-pro-main .case-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .admin-pro-main .case-hero-right,
    .admin-pro-main .case-hero-image-wrap,
    .admin-pro-main .case-hero-placeholder {
        min-height: 260px;
        max-height: 360px;
    }

    .admin-pro-main .case-section-card {
        padding: 20px 16px;
    }

    .admin-pro-main .case-gallery-enhanced {
        grid-template-columns: 1fr;
    }

    .admin-pro-main .case-gallery-item img {
        height: 240px;
    }

    .admin-pro-main #adminCaseMap {
        height: 300px;
    }

    .admin-pro-main .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-pro-main .admin-pro-table th,
    .admin-pro-main .admin-pro-table td {
        font-size: 13px;
        padding: 10px 8px;
    }
}

.case-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    color: #60a5fa;
    font-weight: 700;
}

/* =========================================
   CASE META PRO (INTERPOL STYLE)
========================================= */

.case-meta-pro {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 18px 0 22px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;

    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(59,130,246,0.15);

    font-size: 13px;
    line-height: 1.4;

    backdrop-filter: blur(6px);
}

.meta-label {
    color: #94a3b8;
    font-weight: 500;
}

.meta-value {
    color: #ffffff;
    font-weight: 600;
}

/* DOT ICON */

.meta-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* COLORS */

.meta-country {
    background: #3b82f6;
}

.meta-date {
    background: #06b6d4;
}

.meta-safe {
    background: #22c55e;
}

.meta-danger {
    background: #ef4444;
}

/* HOVER EFFECT */

.meta-item:hover {
    border-color: rgba(59,130,246,0.35);
    background: rgba(59,130,246,0.06);
}

/* MOBILE */

@media (max-width: 768px) {
    .case-meta-pro {
        flex-direction: column;
        gap: 10px;
    }

    .meta-item {
        width: 100%;
        justify-content: flex-start;
    }
}

/* =========================================
   VOLUNTEER PAGE
========================================= */

.volunteer-list {
    margin: 0;
    padding-left: 20px;
    color: #cbd5e1;
    line-height: 1.8;
}

.volunteer-list li {
    margin-bottom: 8px;
}

.volunteer-equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.volunteer-equipment-grid div {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 12px;
    padding: 14px;
    color: #dbeafe;
    font-size: 14px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cbd5e1;
    line-height: 1.6;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

@media (max-width: 992px) {
    .volunteer-equipment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .volunteer-equipment-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FIX CHECKBOXES (VOLUNTEER FORM)
========================================= */

.checkbox-group input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;

    appearance: auto !important;
    -webkit-appearance: checkbox !important;

    cursor: pointer;
    pointer-events: auto !important;

    position: relative !important;
    opacity: 1 !important;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group label span {
    pointer-events: none;
}

/* =========================================
   DASHBOARD VOLUNTEER CARD
========================================= */

.dashboard-volunteer-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.16);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.dashboard-volunteer-card h2 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 24px;
}

.dashboard-volunteer-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 14px;
}

.dashboard-volunteer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .dashboard-volunteer-actions {
        flex-direction: column;
    }

    .dashboard-volunteer-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   VOLUNTEER DASHBOARD PRO
========================================= */

.volunteer-dashboard-wrap {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 20px;
}

.volunteer-dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.16);
    border-radius: 22px;
    padding: 32px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.volunteer-dashboard-hero h1 {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.1;
}

.volunteer-dashboard-hero p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 720px;
}

.volunteer-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.volunteer-status-approved {
    background: rgba(34,197,94,0.16);
    color: #86efac;
    border: 1px solid rgba(34,197,94,0.28);
}

.volunteer-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.volunteer-dashboard-card {
    background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%);
    border: 1px solid rgba(59,130,246,0.14);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.volunteer-dashboard-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.volunteer-profile-list {
    display: grid;
    gap: 12px;
}

.volunteer-profile-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.volunteer-profile-list span {
    color: #94a3b8;
    font-size: 13px;
}

.volunteer-profile-list strong {
    color: #fff;
    font-size: 14px;
    text-align: right;
}

.volunteer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.volunteer-muted {
    color: #94a3b8;
    line-height: 1.7;
    margin-top: 0;
}

.volunteer-checklist {
    margin: 0;
    padding-left: 20px;
    color: #cbd5e1;
    line-height: 1.9;
}

.volunteer-notifications-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.volunteer-unread-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(59,130,246,0.12);
    border: 1px solid rgba(59,130,246,0.22);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.volunteer-empty-state {
    padding: 18px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    color: #94a3b8;
}

.volunteer-notifications-list {
    display: grid;
    gap: 12px;
}

.volunteer-notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.volunteer-notification-item.unread {
    border-color: rgba(59,130,246,0.28);
    background: rgba(59,130,246,0.06);
}

.volunteer-notification-main h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.volunteer-notification-main p {
    margin: 0 0 8px;
    color: #cbd5e1;
    line-height: 1.7;
}

.volunteer-notification-main small,
.volunteer-read-label {
    color: #94a3b8;
    font-size: 12px;
}

@media (max-width: 992px) {
    .volunteer-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .volunteer-dashboard-wrap {
        padding: 15px;
    }

    .volunteer-dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 18px;
    }

    .volunteer-dashboard-hero h1 {
        font-size: 30px;
    }

    .volunteer-profile-list div {
        flex-direction: column;
        gap: 4px;
    }

    .volunteer-profile-list strong {
        text-align: left;
    }

    .volunteer-actions {
        flex-direction: column;
    }

    .volunteer-actions .btn {
        width: 100%;
        text-align: center;
    }

    .volunteer-notifications-head {
        flex-direction: column;
    }

    .volunteer-notification-item {
        flex-direction: column;
    }
}

/* =========================================
   VOLUNTEER DASHBOARD DESKTOP FIX
========================================= */

@media (min-width: 769px) {
    .volunteer-dashboard-wrap {
        width: min(1180px, calc(100% - 80px)) !important;
        max-width: 1180px !important;
        margin: 40px auto 60px !important;
        padding: 0 !important;
    }

    .volunteer-dashboard-hero {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 28px !important;
        background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%) !important;
        border: 1px solid rgba(59,130,246,0.16) !important;
        border-radius: 22px !important;
        padding: 34px !important;
        margin-bottom: 24px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
    }

    .volunteer-dashboard-hero h1 {
        margin: 0 0 10px !important;
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .volunteer-dashboard-hero p {
        max-width: 740px !important;
        margin: 0 !important;
        color: #cbd5e1 !important;
        line-height: 1.7 !important;
    }

    .volunteer-status-pill {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 16px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    .volunteer-dashboard-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 22px !important;
        margin-bottom: 22px !important;
    }

    .volunteer-dashboard-card {
        background: linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%) !important;
        border: 1px solid rgba(59,130,246,0.14) !important;
        border-radius: 20px !important;
        padding: 26px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
    }

    .volunteer-dashboard-card h2 {
        margin: 0 0 18px !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .volunteer-profile-list {
        display: grid !important;
        gap: 0 !important;
    }

    .volunteer-profile-list div {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 18px !important;
        padding: 13px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    }

    .volunteer-profile-list span {
        color: #94a3b8 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
    }

    .volunteer-profile-list strong {
        color: #fff !important;
        font-size: 14px !important;
        text-align: right !important;
    }

    .volunteer-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        margin-top: 22px !important;
    }

    .volunteer-actions .btn {
        margin: 0 !important;
    }

    .volunteer-checklist {
        margin: 0 !important;
        padding-left: 22px !important;
        color: #cbd5e1 !important;
        line-height: 1.9 !important;
    }

    .volunteer-notifications-head {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 16px !important;
        margin-bottom: 18px !important;
    }

    .volunteer-empty-state {
        padding: 18px !important;
        border-radius: 14px !important;
        background: rgba(255,255,255,0.03) !important;
        color: #94a3b8 !important;
    }
}

/* =========================================
   HERO SEARCH FORM
========================================= */

.hero-search-form {
    margin: 26px 0 22px;
    max-width: 620px;
}

.hero-search-form label {
    display: block;
    margin-bottom: 10px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 600;
}

.hero-search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.hero-search-row input {
    flex: 1;
    min-width: 0;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(59,130,246,0.24);
    background: rgba(15,23,42,0.86);
    color: #fff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.hero-search-row input::placeholder {
    color: #64748b;
}

.hero-search-row input:focus {
    border-color: rgba(59,130,246,0.65);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.18);
}

.hero-search-row .btn {
    white-space: nowrap;
    padding-left: 22px;
    padding-right: 22px;
}

.hero-search-note {
    margin: 10px 0 0;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hero-search-form {
        max-width: 100%;
    }

    .hero-search-row {
        flex-direction: column;
    }

    .hero-search-row .btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   ADMIN TRUST SCORE
========================================= */

.trust-score-box {
    display: grid;
    gap: 14px;
}

.trust-score-value {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.trust-score-value span {
    font-size: 18px;
    color: #94a3b8;
    margin-left: 4px;
}

.trust-score-track {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.trust-score-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #22c55e);
}

.meetup-admin-card {
    border-color: rgba(34,197,94,0.18) !important;
}

/* =========================================
   PUBLIC CASE PAGE PRO
========================================= */

.public-case-page {
    max-width: 1180px;
    margin: 30px auto 0;
    padding: 20px;
}

.public-case-notice {
    margin: 0 0 18px;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 640px;
}

.public-meetup-card {
    border-color: rgba(34, 197, 94, 0.24) !important;
    background:
        radial-gradient(circle at top left, rgba(34,197,94,0.10), transparent 45%),
        linear-gradient(180deg, rgba(17,24,39,0.96) 0%, rgba(11,18,32,0.96) 100%) !important;
}

.public-timeline {
    position: relative;
    display: grid;
    gap: 18px;
    margin-top: 16px;
}

.public-timeline-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 14px;
    position: relative;
}

.public-timeline-dot {
    width: 12px;
    height: 12px;
    margin-top: 8px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 0 5px rgba(59,130,246,0.14);
}

.public-timeline-content {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.public-timeline-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.public-timeline-content p {
    margin: 0 0 8px;
    color: #cbd5e1;
    line-height: 1.7;
}

.public-timeline-content small {
    color: #94a3b8;
    font-size: 12px;
}

.public-case-page #submit-tip {
    border-color: rgba(59,130,246,0.22);
}

.public-case-page .case-hero-actions {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .public-case-page {
        padding: 15px;
        margin-top: 18px;
    }

    .public-timeline-item {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 10px;
    }

    .public-timeline-content {
        padding: 14px;
    }
}

/* =========================================
   CASE SUMMARY GRID SPACING FIX
========================================= */

.case-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    align-items: stretch;
}

.case-summary-grid .case-section-card {
    margin: 0 !important;
    height: 100%;
}

@media (max-width: 900px) {
    .case-summary-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.report-form-enhanced select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(15,23,42,0.75);
    color: #f8fafc;
    font-size: 15px;
    transition: all .25s ease;
}

.report-form-enhanced select:focus {
    border-color: rgba(37,99,235,0.55);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
    outline: none;
}

/* =========================================
   REPORT PICK ON MAP
========================================= */

.report-location-map {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(59,130,246,0.22);
    background: #0f172a;
    margin-top: 12px;
}

.report-map-hint {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
}

#selectedCoordsText {
    color: #dbeafe;
}

@media (max-width: 768px) {
    .report-location-map {
        height: 320px;
    }
}

#reportLocationMap,
.report-location-map {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
    background: #0f172a !important;
    border: 1px solid rgba(59,130,246,0.22);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 12px;
}

@media (max-width: 768px) {
    #reportLocationMap,
    .report-location-map {
        height: 320px !important;
        min-height: 320px !important;
    }
}

#reportLocationMap {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    display: block !important;
    background: #0f172a !important;
    border-radius: 16px;
    border: 1px solid rgba(59,130,246,0.22);
    overflow: hidden;
}

.leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

/* =========================================
   MOBILE CASE MAP FIX
========================================= */

#map,
#adminCaseMap,
#publicCaseMap {
    width: 100% !important;
    min-height: 320px !important;
    height: 320px !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

@media (max-width: 768px) {
    #map,
    #adminCaseMap,
    #publicCaseMap {
        min-height: 320px !important;
        height: 320px !important;
    }

    .leaflet-container {
        min-height: 320px !important;
        height: 320px !important;
    }
}

#sightingMap {
    width: 100% !important;
    height: 350px !important;
    min-height: 350px !important;
    display: block !important;
    background: #0f172a !important;
    border-radius: 12px;
    border: 1px solid rgba(59,130,246,0.22);
    overflow: hidden;
}

@media (max-width: 768px) {
    #sightingMap {
        height: 300px !important;
        min-height: 300px !important;
    }
}

/* =========================================================
   INTERTRACE CINEMATIC TOP HERO
   ========================================================= */

.cinematic-top-hero {
    position: relative;
    width: calc(100% - 32px);
    max-width: 1240px; 
    width: 100%;
    min-height: 520px;
    margin: 22px auto 26px; 
    border-radius: 26px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    background:

        url("../images/hero-main.png");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 65px rgba(0,0,0,0.32);
}

.cinematic-top-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 45%, rgba(44,103,255,0.20), transparent 30%),
        radial-gradient(circle at 26% 35%, rgba(217,36,40,0.13), transparent 28%);
    pointer-events: none;
}

.cinematic-top-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.12), rgba(2,8,20,0.60)),
        rgba(2,8,20,0.18);
    z-index: 1;
}

.cinematic-top-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin-left: clamp(24px, 7vw, 110px);
    padding: 88px 20px 64px;
    color: #fff;
}

.cinematic-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffb7b9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.cinematic-top-content h1 {
    margin: 0 0 24px;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    color: #fff;
}

.cinematic-top-content h1 span {
    display: block;
}

.cinematic-top-content h1 b {
    color: #d92428;
    font-weight: 900;
}

.cinematic-lines p {
    max-width: 620px;
    margin: 0 0 8px;
    color: rgba(255,255,255,0.72);
    font-size: clamp(15px, 1.25vw, 19px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(18px);
    animation: cinematicLineIn 0.85s ease forwards;
}

.cinematic-lines .line-1 {
    animation-delay: 0.4s;
}

.cinematic-lines .line-2 {
    animation-delay: 1.1s;
}

.cinematic-lines .line-3 {
    animation-delay: 1.8s;
}

@keyframes cinematicLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .cinematic-top-hero {
        width: calc(100% - 20px);
        min-height: 460px;
        margin: 14px auto 20px;
        border-radius: 22px;
        background-position: center;
    }

    .cinematic-top-content {
        margin-left: 0;
        padding: 76px 18px 52px;
    }

    .cinematic-top-content h1 {
        font-size: 52px;
    }
}

.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(44,103,255,0.18));
}

@media (max-width: 768px) {
    .site-logo img {
        height: 48px;
    }
}

.legal-center-page {
    background:
        radial-gradient(circle at top left, rgba(35, 96, 180, 0.18), transparent 35%),
        linear-gradient(180deg, #071221 0%, #081525 45%, #050b14 100%);
    min-height: 100vh;
    color: #eaf2ff;
}

.legal-center-hero {
    padding: 90px 0 55px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-center-hero-inner {
    max-width: 980px;
}

.legal-center-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border: 1px solid rgba(115, 170, 255, 0.35);
    border-radius: 999px;
    color: #8dbbff;
    background: rgba(40, 105, 200, 0.12);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.legal-center-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    margin: 0 0 20px;
    letter-spacing: -0.04em;
}

.legal-center-hero p {
    max-width: 760px;
    color: #aebbd0;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.legal-center-section {
    padding: 55px 0 90px;
}

.legal-center-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.legal-group-card {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.28);
    backdrop-filter: blur(14px);
}

.legal-group-card-wide {
    grid-column: span 2;
}

.legal-group-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.legal-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(125, 175, 255, 0.12);
    border: 1px solid rgba(125, 175, 255, 0.18);
    font-size: 22px;
    flex: 0 0 auto;
}

.legal-group-head h2 {
    margin: 0 0 7px;
    font-size: 22px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.legal-group-head p {
    margin: 0;
    color: #9fb0c8;
    line-height: 1.5;
}

.legal-link-card {
    display: block;
    padding: 16px 18px;
    margin-top: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    color: #eaf2ff;
    text-decoration: none;
    transition: 0.22s ease;
}

.legal-link-card strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #ffffff;
}

.legal-link-card span {
    display: block;
    color: #a7b6cc;
    font-size: 14px;
    line-height: 1.45;
}

.legal-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(115, 170, 255, 0.45);
    background: rgba(55, 115, 210, 0.14);
    box-shadow: 0 12px 35px rgba(0,0,0,0.24);
}

@media (max-width: 850px) {
    .legal-center-hero {
        padding: 70px 0 40px;
    }

    .legal-center-grid {
        grid-template-columns: 1fr;
    }

    .legal-group-card-wide {
        grid-column: span 1;
    }

    .legal-group-card {
        padding: 22px;
        border-radius: 20px;
    }
}

.legal-hub {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 0%, rgba(36, 109, 255, 0.20), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(15, 185, 255, 0.10), transparent 28%),
        linear-gradient(180deg, #06101d 0%, #071423 48%, #050a12 100%);
    color: #edf5ff;
}

.legal-hub .container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.legal-hub-hero {
    padding: 88px 0 64px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-hub-breadcrumb {
    color: #6f86a5;
    font-size: 13px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.legal-hub-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.75fr;
    gap: 46px;
    align-items: end;
}

.legal-hub-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(72, 132, 255, 0.12);
    border: 1px solid rgba(116, 169, 255, 0.28);
    color: #9fc6ff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.legal-hub-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    font-size: clamp(42px, 5.6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #ffffff;
}

.legal-hub-hero p {
    max-width: 780px;
    margin: 0;
    color: #a9b8cb;
    font-size: 18px;
    line-height: 1.75;
}

.legal-hub-summary {
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 30px 90px rgba(0,0,0,0.28);
    backdrop-filter: blur(16px);
}

.legal-hub-summary div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-hub-summary div:first-child {
    padding-top: 0;
}

.legal-hub-summary div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.legal-hub-summary span {
    display: block;
    color: #778ca8;
    font-size: 13px;
    margin-bottom: 6px;
}

.legal-hub-summary strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.4;
}

.legal-hub-content {
    padding: 58px 0 96px;
}

.legal-hub-intro {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 28px;
}

.legal-hub-intro h2 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    letter-spacing: -0.035em;
}

.legal-hub-intro p {
    margin: 0;
    color: #9eadc2;
    line-height: 1.7;
}

.legal-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.legal-hub-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.070), rgba(255,255,255,0.035));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 70px rgba(0,0,0,0.24);
}

.legal-hub-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(93, 153, 255, 0.85), rgba(96, 220, 255, 0.18));
}

.legal-hub-card-top {
    margin-bottom: 22px;
}

.legal-hub-card-top span {
    display: block;
    margin-bottom: 13px;
    color: #89b8ff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.legal-hub-card-top h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 24px;
    letter-spacing: -0.035em;
}

.legal-hub-card-top p {
    margin: 0;
    color: #9dacbf;
    line-height: 1.6;
    font-size: 15px;
}

.legal-hub-links {
    display: grid;
    gap: 10px;
}

.legal-hub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: #eaf2ff;
    background: rgba(3, 12, 25, 0.34);
    border: 1px solid rgba(255,255,255,0.075);
    transition: 0.2s ease;
}

.legal-hub-link strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 5px;
}

.legal-hub-link small {
    display: block;
    color: #899ab1;
    line-height: 1.45;
    font-size: 13px;
}

.legal-hub-link b {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(122, 174, 255, 0.10);
    color: #9fc6ff;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s ease;
}

.legal-hub-link:hover {
    transform: translateY(-2px);
    background: rgba(47, 102, 205, 0.18);
    border-color: rgba(124, 178, 255, 0.35);
}

.legal-hub-link:hover b {
    background: rgba(122, 174, 255, 0.20);
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .legal-hub-hero {
        padding: 66px 0 44px;
    }

    .legal-hub-hero-grid,
    .legal-hub-intro,
    .legal-hub-grid {
        grid-template-columns: 1fr;
    }

    .legal-hub-summary {
        align-self: stretch;
    }
}

@media (max-width: 560px) {
    .legal-hub .container {
        width: min(100% - 22px, 1180px);
    }

    .legal-hub-hero h1 {
        font-size: 40px;
    }

    .legal-hub-hero p {
        font-size: 16px;
    }

    .legal-hub-card {
        padding: 20px;
        border-radius: 22px;
    }

    .legal-hub-link {
        padding: 14px;
        align-items: flex-start;
    }
}

.intertrace-bg {
    background:
        radial-gradient(circle at 15% 0%, rgba(36, 109, 255, 0.20), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(15, 185, 255, 0.10), transparent 28%),
        linear-gradient(180deg, #06101d 0%, #071423 48%, #050a12 100%);
    min-height: 100vh;
    color: #edf5ff;
}


@media (max-width: 768px) {
    .legal-hub {
        overflow-x: hidden;
    }

    .legal-hub .container {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .legal-hub-hero {
        padding: 48px 0 34px;
    }

    .legal-hub-breadcrumb {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .legal-hub-pill {
        font-size: 11px;
        padding: 7px 12px;
        margin-bottom: 16px;
    }

    .legal-hub-hero-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal-hub-hero h1 {
        font-size: 36px;
        line-height: 1.05;
        letter-spacing: -0.04em;
        margin-bottom: 16px;
    }

    .legal-hub-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .legal-hub-summary {
        padding: 18px;
        border-radius: 20px;
    }

    .legal-hub-content {
        padding: 38px 0 64px;
    }

    .legal-hub-intro {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 22px;
    }

    .legal-hub-intro h2 {
        font-size: 26px;
    }

    .legal-hub-intro p {
        font-size: 15px;
    }

    .legal-hub-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .legal-hub-card {
        padding: 20px;
        border-radius: 22px;
    }

    .legal-hub-card-top h3 {
        font-size: 21px;
    }

    .legal-hub-card-top p {
        font-size: 14px;
    }

    .legal-hub-link {
        padding: 14px;
        border-radius: 16px;
        align-items: flex-start;
    }

    .legal-hub-link strong {
        font-size: 15px;
    }

    .legal-hub-link small {
        font-size: 13px;
    }

    .legal-hub-link b {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 16px;
    }
}


.case-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 12px 0 14px;
    padding: 9px 14px;
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}

.case-id-badge span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.7);
}

.case-id-badge strong {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #7dd3fc;
}

.case-id-modern {
    display: inline-block;
    margin: 14px 0 18px;
}

.case-id-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 6px;
}

.case-id-value {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f172a, #020617);
    border: 1px solid rgba(125, 211, 252, 0.3);
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #7dd3fc;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.case-id-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
}

@media (max-width: 700px) {
    .case-topline {
        display: block;
        margin-bottom: 18px;
    }

    .case-top-badges {
        margin-top: 12px;
    }
}

.case-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.case-id-chip,
.case-header-meta .case-status {
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
}

.case-id-chip {
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #7dd3fc;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.08);
    backdrop-filter: blur(8px);
}

.case-id-chip::before {
    content: "ID";
    margin-right: 8px;
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.case-header-meta .case-status {
    padding: 0 20px;
    margin: 0 !important;
}




.admin-case-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: #7dd3fc;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.legal-consent-box {
    margin-top: 14px;
    margin-bottom: 18px;
}

.legal-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
    font-size: 13px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.86);
}

.legal-consent-label input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.legal-consent-label a {
    color: #7dd3fc;
    font-weight: 700;
    text-decoration: none;
}

.legal-consent-label a:hover {
    text-decoration: underline;
}

.terms-check,
.consent-check,
.checkbox-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
}

.terms-check input[type="checkbox"],
.consent-check input[type="checkbox"],
.checkbox-card input[type="checkbox"] {
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    margin: 4px 0 0 0 !important;
    position: static !important;
}

.legal-consent-box {
    margin-top: 24px;
}

.legal-consent-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 22px 24px !important;
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.45);
    cursor: pointer;
}

.legal-consent-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 4px 0 0 0 !important;
    position: static !important;
    flex: 0 0 18px !important;
    accent-color: #38bdf8;
}

.legal-consent-label span {
    display: block;
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
}

.legal-consent-label a {
    color: #7dd3fc;
    font-weight: 700;
    text-decoration: none;
}

.legal-consent-label a:hover {
    text-decoration: underline;
}

.zoomable-case-image {
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.zoomable-case-image:hover {
    transform: scale(1.02);
}

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-content {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 14px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 28px;

    color: #fff;
    font-size: 42px;
    font-weight: 300;

    cursor: pointer;
    z-index: 100000;
}

.zoomable-case-image,
.case-gallery-item img.zoomable-case-image,
.case-hero-image.zoomable-case-image {
    cursor: zoom-in !important;
    pointer-events: auto !important;
}

.case-gallery-item {
    position: relative;
}

.case-gallery-item::after,
.case-hero-image-wrap::after {
    content: "Click to enlarge";
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(2, 6, 23, 0.72);
    color: rgba(255,255,255,0.86);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(4px);
    transition: 0.2s ease;
    pointer-events: none;
}

.case-gallery-item:hover::after,
.case-hero-image-wrap:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.zoomable-case-image {
    transition: transform 0.22s ease, filter 0.22s ease;
}

.zoomable-case-image:hover {
    transform: scale(1.015);
    filter: brightness(1.08);
}

.case-image-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.case-image-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.case-image-modal-img {
    max-width: 94vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 90px rgba(0,0,0,0.75);
}

.case-image-modal-close {
    position: fixed;
    top: 18px;
    right: 24px;
    z-index: 1000000;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-image-modal-close:hover {
    background: rgba(239, 68, 68, 0.85);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .case-image-modal {
        padding: 16px;
    }

    .case-image-modal-img {
        max-width: 96vw;
        max-height: 84vh;
        border-radius: 12px;
    }

    .case-image-modal-close {
        top: 12px;
        right: 12px;
    }
}

#adminHeatMap {
    width: 100% !important;
    height: 520px !important;
    min-height: 520px !important;
    display: block !important;
    border-radius: 18px;
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #020617;
}

.admin-pro-card #adminHeatMap {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    #adminHeatMap {
        height: 380px !important;
        min-height: 380px !important;
    }
}

.auth-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.auth-actions .btn {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 48px;
    min-height: 48px;

    padding: 0 18px;
}

.auth-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.12);

    text-align: center;

    transition: all 0.2s ease;
}

.auth-register-btn:hover {
    background: linear-gradient(135deg, #334155, #1e293b);
    transform: translateY(-1px);
}

.auth-register-btn:visited,
.auth-register-btn:active,
.auth-register-btn:focus {
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .auth-actions {
        flex-direction: column;
        width: 100%;
    }

    .auth-actions .btn {
        width: 100%;
    }
}

.volunteer-notification-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 700px) {
    .volunteer-notification-actions {
        width: 100%;
        margin-top: 12px;
    }

    .volunteer-notification-actions .btn {
        width: 100%;
        justify-content: center;
    }
}



.legal-page-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 20px 80px;
}

.legal-hero {
    padding: 56px;
    margin-bottom: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(56,189,248,0.16), transparent 38%),
        linear-gradient(135deg, rgba(15,23,42,0.95), rgba(2,6,23,0.98));
    border: 1px solid rgba(125,211,252,0.16);
    box-shadow: 0 24px 80px rgba(0,0,0,0.28);
}

.legal-hero h1 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    color: #fff;
}

.legal-hero p {
    max-width: 780px;
    color: rgba(226,232,240,0.78);
    font-size: 17px;
    line-height: 1.7;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 96px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(15,23,42,0.72);
    border: 1px solid rgba(148,163,184,0.14);
    backdrop-filter: blur(10px);
}

.legal-sidebar a {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    color: rgba(226,232,240,0.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.legal-sidebar a:hover {
    background: rgba(56,189,248,0.1);
    color: #7dd3fc;
}

.legal-content {
    display: grid;
    gap: 18px;
}

.legal-card {
    padding: 30px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(15,23,42,0.82), rgba(2,6,23,0.86));
    border: 1px solid rgba(148,163,184,0.13);
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.legal-card h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 24px;
}

.legal-card h3 {
    margin: 22px 0 8px;
    color: #7dd3fc;
    font-size: 17px;
}

.legal-card p,
.legal-card li {
    color: rgba(226,232,240,0.78);
    line-height: 1.75;
    font-size: 15.5px;
}

.legal-card ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

.legal-card li {
    margin-bottom: 8px;
}

.legal-warning-card {
    border-color: rgba(245,158,11,0.32);
    background:
        radial-gradient(circle at top left, rgba(245,158,11,0.12), transparent 38%),
        linear-gradient(180deg, rgba(15,23,42,0.9), rgba(2,6,23,0.92));
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }

    .legal-hero {
        padding: 34px 24px;
    }
}

@media (max-width: 600px) {
    .legal-page-wrap {
        padding: 34px 14px 70px;
    }

    .legal-card {
        padding: 22px;
        border-radius: 20px;
    }

    .legal-sidebar {
        display: none;
    }
}

.legal-consent-box {
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
}

.legal-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}

.legal-consent-label input {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    flex-shrink: 0;
}

.legal-consent-label a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-consent-label a:hover {
    color: #bfdbfe;
}