:root {
    --bg: #070707;
    --bg-2: #0d0d0d;

    --panel: #111111;
    --panel-2: #151515;
    --panel-3: #191919;

    --border: #242424;
    --border-2: #313131;

    --text: #f5f5f5;
    --muted: #a8a8a8;

    --accent: #ff7a00;
    --accent-2: #ff9a33;
    --accent-soft: rgba(255, 122, 0, 0.12);

    /* Accessibility colors */
    --success-bg: #198754;
    --success-text: #ffffff;

    --warning-bg: #ffc107;
    --warning-text: #000000;

    --danger-bg: #dc3545;
    --danger-text: #000000;

    --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.10), transparent 26%),
        radial-gradient(circle at top right, rgba(255, 154, 51, 0.06), transparent 24%),
        linear-gradient(180deg, #0c0c0c 0%, #070707 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    color-scheme: dark;
}

body::before {
    content: "";
    position: fixed;
    inset: auto auto -16rem -14rem;
    width: 32rem;
    height: 32rem;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.08), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    inset: -14rem -12rem auto auto;
    width: 28rem;
    height: 28rem;
    background: radial-gradient(circle, rgba(255, 154, 51, 0.05), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

.container-fluid {
    max-width: 1600px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(7, 7, 7, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    height: auto;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
    overflow: visible;
}

.brand-mark-placeholder {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent);
}

.brand-name {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.9rem;
}

.brand-contact {
    text-align: right;
}

.contact-item {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 4px;
}

.contact-item strong {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)), var(--panel);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52);
    border-color: rgba(255, 122, 0, 0.18);
}

.panel-body,
.sidebar-panel,
.stats-panel {
    padding: 1.05rem;
}

.sidebar-panel .form-control,
.sidebar-panel .btn {
    width: 100%;
}

.hero-dashboard {
    padding: 1.15rem 1.15rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-dashboard::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.08), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 154, 51, 0.05), transparent 30%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 0.75rem;
}

.hero-dashboard h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.02;
    color: var(--text);
}

.hero-copy {
    max-width: 52rem;
    margin-top: 0.65rem;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.score-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.metric-card {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #181818 0%, #101010 100%);
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.metric-card span {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.metric-card h3,
.metric-card h2 {
    margin: 0.35rem 0 0.12rem;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-card small {
    color: var(--muted);
    font-size: 0.78rem;
}

.form-control,
.form-select {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #2a2a2a;
    background: #0b0b0b;
    color: var(--text);
    padding-left: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-control::placeholder {
    color: #7b7b7b;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    background: #0b0b0b;
    color: var(--text);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.12);
}

.form-select option {
    background: #111111;
    color: #f5f5f5;
}

.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-size: 0.92rem;
}

.form-check-label {
    color: var(--text);
}

.form-check-input {
    background-color: #111;
    border-color: #3a3a3a;
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    min-height: 46px;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 0;
}

.btn-lg {
    min-height: 48px;
}

.btn-primary,
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ff6200);
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 122, 0, 0.18);
}

.btn-primary:hover,
.btn-accent:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(255, 122, 0, 0.24);
}

.btn-dark {
    background: #171717;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.btn-dark:hover {
    background: #1f1f1f;
    color: #fff;
}

.btn-outline-light {
    border: 1px solid #3a3a3a;
    color: var(--text);
    background: transparent;
}

.btn-outline-light:hover {
    background: #1b1b1b;
    color: #fff;
    border-color: #555;
}

.btn-outline-danger {
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #ff8f8f;
    background: transparent;
}

.btn-outline-danger:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #fff;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-description {
    color: var(--muted);
    line-height: 1.65;
}

.results-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.04em;
    margin: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 122, 0, 0.1);
    color: #ffb36a;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 122, 0, 0.18);
}

.status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 0.28rem rgba(255, 122, 0, 0.12);
    display: inline-block;
}

.progress-label {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--accent);
}

.modern-progress {
    height: 12px;
    border-radius: 999px;
    background: #1b1b1b;
    overflow: hidden;
}

.modern-progress .progress-bar {
    width: 45%;
    background: linear-gradient(90deg, var(--accent), #ff9b3d);
    border-radius: 999px;
    animation: progressPulse 1.8s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% {
        opacity: 0.9;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(10%);
    }
}

#progress {
    border-left: 4px solid var(--accent);
}

.report-section {
    margin-top: 1.25rem;
    padding: 1.15rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.008));
}

.report-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

@media (max-width: 576px) {
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metric-card.report-metric {
        min-width: 0;
    }
}

.metric-card.report-metric {
    min-height: 100%;
}

.report-card {
    padding: 1rem;
    border-radius: 18px;
    background: var(--panel-2);
    border: 1px solid var(--border);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    height: 100%;
}

.report-card h5,
.report-card h4 {
    margin-bottom: 0.25rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 0.75rem;
}

.kpi-tile {
    text-align: center;
    padding: 0.85rem;
    border-radius: 16px;
    background: #131313;
    border: 1px solid #272727;
}

.kpi-value {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.kpi-label {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.chart-holder {
    position: relative;
    height: 340px;
    width: 100%;
    margin-top: 1rem;
}

.chart-holder canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-wrap {
    min-height: 340px;
    padding-top: 6px;
}

.chart-wrap canvas {
    width: 100% !important;
    min-height: 340px;
}

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

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: #151515;
    border: 1px solid #2a2a2a;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

#results,
#pageResults,
#urlDetails {
    animation: fadeUp 0.28s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.85rem;
}

.mini-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #262626;
    border-radius: 16px;
    background: var(--panel-2);
    margin-bottom: 12px;
}

.mini-stat span {
    color: var(--muted);
    font-size: 0.92rem;
}

.mini-stat strong {
    color: var(--text);
    font-size: 1rem;
}

.severity-Critical {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.severity-Warning {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.severity-Passed {
    background: var(--success-bg);
    color: var(--success-text);
}

.severity-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}

.table {
    margin-bottom: 0;
    color: var(--text);
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-striped-color: #fff;
    --bs-table-hover-bg: rgba(255, 122, 0, 0.08);
    --bs-table-hover-color: #fff;
    border-color: #272727;
}

.table thead th {
    color: #ffffff;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid #303030;
    white-space: nowrap;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.table td,
.table th {
    vertical-align: middle;
    padding: 0.8rem 0.85rem;
    background: transparent;
    border-color: #272727;
}

#auditRows tr {
    transition: 0.2s ease;
}

#auditRows tr:hover {
    background: rgba(255, 122, 0, 0.06);
}

#auditRows td {
    color: #e5e7eb;
    font-size: 0.93rem;
}

#auditRows strong {
    color: #fff;
}

.table-warning {
    --bs-table-bg: rgba(255, 193, 7, 0.12);
    --bs-table-color: #fff;
}

.url-details-row td {
    background: #0f0f0f;
    padding: 0.9rem;
}

.detail-panel {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #141414;
    color: var(--text);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    padding: 1rem;
}

.expand-icon {
    display: inline-block;
    margin-right: 0.45rem;
    font-size: 12px;
    transition: transform 0.2s ease;
    color: var(--accent);
}

.expand-icon.expanded {
    transform: rotate(90deg);
}

.url-detail-link {
    color: #ffb36a;
    text-decoration: none;
    font-weight: 700;
}

.url-detail-link:hover {
    color: #ffcc99;
    text-decoration: underline;
}

.issue-list {
    max-height: 20rem;
    overflow: auto;
}

.issue-list::-webkit-scrollbar {
    width: 8px;
}

.issue-list::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 999px;
}

.issue-list::-webkit-scrollbar-track {
    background: transparent;
}

.url-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    align-items: end;
}

.form-select-dark {
    background: #0b0b0b;
    border: 1px solid #2a2a2a;
    color: #fff;
}

.form-select-dark:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 0, 0.12);
}

.brand-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0 0;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-sep {
    margin: 0 10px;
    opacity: 0.55;
}

.alert-info {
    background: #111111;
    border-color: #2a2a2a;
    color: #e5e7eb;
}

.alert-danger {
    background: #1a1111;
    border-color: rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

#exportActions {
    align-items: center;
}

@media (max-width: 1200px) {
    .sidebar-panel,
    .stats-panel {
        margin-bottom: 0;
    }

    .hero-dashboard {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .hero-dashboard h2 {
        font-size: 1.95rem;
    }

    .hero-copy {
        font-size: 0.92rem;
    }

    .brand-footer {
        justify-content: center;
        text-align: center;
    }

    .btn-lg {
        width: 100%;
    }

    .panel-body,
    .sidebar-panel,
    .stats-panel {
        padding: 0.95rem;
    }

    .score-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-block {
        gap: 10px;
    }

    .section-header {
        flex-direction: column;
    }

    .chart-holder,
    .chart-wrap {
        height: 260px;
        min-height: 260px;
    }
}

/* Mobile responsiveness fixes */
.url-column {
    min-width: 280px;
    max-width: 420px;
    white-space: normal;
}

.url-detail-link {
    display: block;
    width: 100%;
    color: #ffb36a;
    text-decoration: none;
    font-weight: 700;

    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.5;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    min-width: 1000px;
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .topbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .topbar-inner {
        gap: 0.75rem !important;
    }

    .brand-block {
        gap: 10px;
        align-items: center;
    }

    .brand-name {
        font-size: 1rem;
        line-height: 1.15;
    }

    .brand-tagline {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .panel,
    .report-section,
    .report-card {
        border-radius: 18px;
    }

    .panel-body,
    .sidebar-panel,
    .stats-panel,
    .hero-dashboard,
    .report-section {
        padding: 0.85rem;
    }

    .hero-dashboard h2 {
        font-size: 1.65rem;
        line-height: 1.08;
    }

    .hero-copy {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .score-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .metric-card {
        padding: 0.85rem;
        min-width: 0;
    }

    .metric-card h3,
    .metric-card h2 {
        font-size: 1.45rem;
    }

    .results-title {
        font-size: 1.45rem;
    }

    .section-header {
        gap: 12px;
    }

    .section-header > div {
        width: 100%;
    }

    #exportActions {
        width: 100%;
    }

    #exportActions .btn {
        width: 100%;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .summary-stats,
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .kpi-tile {
        padding: 0.7rem;
    }

    .kpi-value {
        font-size: 1.35rem;
    }

    .mini-stat {
        padding: 12px 13px;
        gap: 0.75rem;
    }

    .mini-stat span {
        font-size: 0.84rem;
    }

    .mini-stat strong {
        font-size: 0.92rem;
        word-break: break-word;
        text-align: right;
        max-width: 65%;
    }

    .url-filter-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .form-control,
    .form-select {
        min-height: 44px;
        border-radius: 12px;
    }

    .btn,
    .btn-lg {
        min-height: 46px;
    }

    .brand-footer {
        justify-content: center;
        text-align: center;
        gap: 0.4rem;
    }

    .footer-sep {
        margin: 0 6px;
    }

    .chart-holder,
    .chart-wrap {
        height: 220px;
        min-height: 220px;
    }

    .pill {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .live-pill {
        width: 100%;
        justify-content: center;
    }

    .table {
        min-width: 1000px;
    }

    .url-column {
        min-width: 280px;
        max-width: 320px;
    }

    .url-details-row td {
        padding: 0.75rem;
    }

    .detail-panel {
        padding: 0.85rem;
    }

    .table thead th,
    .table td,
    .table th {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

@media (max-width: 420px) {
    .score-grid,
    .summary-grid,
    .summary-stats,
    .kpi-grid {
        grid-template-columns: 1fr;
    }

    .metric-card h3,
    .metric-card h2 {
        font-size: 1.35rem;
    }

    .hero-dashboard h2 {
        font-size: 1.45rem;
    }

    .brand-name {
        font-size: 0.95rem;
    }

    .brand-tagline {
        font-size: 0.78rem;
    }

    .table {
        min-width: 760px;
    }

    .url-column {
        min-width: 200px;
        max-width: 220px;
    }

    .chart-holder,
    .chart-wrap {
        height: 200px;
        min-height: 200px;
    }
}

#auditRows td {
    vertical-align: top;
}

#auditRows td:nth-child(2) {
    min-width: 300px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 999px;
}
.url-column {
    min-width: 320px !important;
    max-width: 500px;
    width: 40%;
}

.url-detail-link,
.url-title {
    display: block;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    min-width: 1000px;
}

@media (max-width: 576px) {
    .table {
        min-width: 1000px;
    }

    .url-column {
        min-width: 320px !important;
    }
}
/* ===== Logo ===== */
.brand-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
}

.brand-mark a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
}

/* ===== Contact Links ===== */
.contact-link,
.website-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.contact-link:hover,
.website-link:hover {
    color: #f59e0b;
    text-decoration: none;
    opacity: 0.95;
}

/* ===== Footer ===== */
.brand-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 2rem;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.brand-footer a:hover {
    color: #f59e0b !important;
}

.footer-sep {
    margin: 0 10px;
    opacity: 0.5;
}

/* ===== Mobile ===== */
@media (max-width: 992px) {
    .brand-logo {
        width: 200px;
    }

    .brand-contact {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        width: 170px;
    }

    .brand-footer {
        text-align: center;
        justify-content: center;
    }
}

/* Badge Accessibility Fix */

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #000 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

.badge.bg-success {
    background-color: #198754 !important;
    color: #fff !important;
}

.badge {
    font-weight: 700;
}
.iti {
    width: 100%;
}

.iti__country-list {
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #242424 !important;
}

.iti__country {
    color: #ffffff !important;
}

.iti__country:hover {
    background: #1f1f1f !important;
}

.iti__highlight {
    background: #222222 !important;
}

.iti__search-input {
    background: #0d0d0d !important;
    color: #ffffff !important;
    border: 1px solid #313131 !important;
}

.iti__search-input::placeholder {
    color: #a8a8a8 !important;
}

.iti__selected-country {
    background: transparent !important;
}

.iti input {
    background: #000 !important;
    color: #fff !important;
}
.iti__country-container,
.iti__country-list {
    z-index: 99999 !important;
}
.iti__country.iti__highlight {
    background: rgba(255, 122, 0, 0.15) !important;
}

.iti__dial-code {
    color: #ff9a33 !important;
}