/* ======= Global Styles ======= */
:root {
    --brand: #0b5ed7;
    /* primary blue */
    --brand-700: #0a4db1;
    --accent: #0ea5e9;
    /* sky */
    --ink: #0f172a;
    /* text */
    --muted: #64748b;
    /* secondary text */
    --bg: #f6f7fb;
    /* page */
    --card: #ffffff;
    /* surfaces */
    --ring: #e5e7eb;
    --good: #10b981;
    --warn: #f59e0b;
    --bad: #ef4444;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(2, 6, 23, .06);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    direction: rtl;
}

body.dark {
    background: linear-gradient(135deg,
            #080b12 0%,
            #0b1220 20%,
            #0d1528 40%,
            #0f1a32 60%,
            #11203d 80%,
            #122747 100%);
    min-height: 100vh;
    color: #e6edf3;
}

/* Layout */
.container {
    width: min(1100px, 92vw);
    margin-inline: auto;
    padding: 24px 0 48px;
}

/* Header */
.topbar {
    background: linear-gradient(to left, var(--brand), var(--accent));
    color: #fff;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand .logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff1;
    border: 1px solid #fff3;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand .title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1
}

.brand .subtitle {
    margin: 2px 0 0;
    font-size: .9rem;
    opacity: .9
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
}

.nav a:hover {
    background: #fff2
}

.nav a.active {
    background: #fff;
    color: var(--brand);
}

/* Hero band */
.hero {
    background: linear-gradient(135deg, #0b5ed7 0%, #0ea5e9 100%);
    border-radius: var(--radius);
    color: #fff;
    padding: 28px;
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow);
}

.hero h1 {
    margin: 0 0 6px;
    font-size: 1.8rem
}

.hero p {
    margin: 0;
    opacity: .95
}

/* Grid sections */
.grid {
    display: grid;
    gap: 18px
}

@media(min-width:960px) {
    .grid-2 {
        grid-template-columns: 1.2fr .8fr
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

/* Call widget (home only) */
.call-panel .call-status {
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.btn.primary {
    background: var(--brand);
    color: #fff
}

.btn.primary:hover {
    background: var(--brand-700)
}

.btn.secondary {
    background: #eef2ff;
    color: #1e293b;
    border-color: #e5e7eb
}

.btn.secondary:hover {
    background: #e8ecff
}

.btn.chat {
    background: var(--good);
    color: #fff
}

.btn.chat:hover {
    background: #02b62f;
}

.btn:disabled,
.btn.disabled {
    cursor: not-allowed;
    opacity: .55;
    filter: grayscale(.2);
}

.btn:disabled {
    pointer-events: none
}

.icon {
    font-style: normal
}

/* Inline call buttons group */
.call-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

/* Transcript */
.transcript {
    background: #f8fafc;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    min-height: 44px;
}

.transcript .row {
    display: flex;
    gap: 10px;
    margin: 8px 0
}

.transcript .speaker {
    min-width: 95px;
    color: #0f172a;
    font-weight: 700
}

.transcript .message {
    color: #334155
}

/* Section titles */
.section-title {
    margin: 0 0 10px;
    font-size: 1.25rem
}

.list {
    margin: 0;
    padding: 0;
    list-style: none
}

.list li {
    padding: 12px 6px;
    border-top: 1px solid #eef2f7
}

.list li:first-child {
    border-top: none
}

/* Footer */
.footer {
    margin-top: 36px;
    padding: 24px 0;
    color: #fff;
    text-align: center;

    /* Cyberpunk dark-glow gradient */
    background: linear-gradient(135deg,
            #02070d 0%,
            #05121f 25%,
            #07223a 50%,
            #09355e 75%,
            #00baff 100%);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 8px 24px rgba(0, 186, 255, 0.08);
}

.footer .copy {
    opacity: 0.95;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.footer:hover {
    box-shadow: inset 0 12px 32px rgba(0, 186, 255, 0.15);
    transition: 0.3s ease-in-out;
}

/* Lead pages (details/list) use same badges/fonts */
.badge {
    border-radius: 8px;
    padding: 3px 8px;
    font-size: .85rem;
    white-space: nowrap
}

.badge.green {
    background: #d1fae5;
    color: #065f46
}

.badge.yellow {
    background: #fef3c7;
    color: #92400e
}

.badge.red {
    background: #fee2e2;
    color: #991b1b
}

.badge.gray {
    background: #e5e7eb;
    color: #374151
}

/* Make transcript/notes nicer (you asked earlier) */
pre.pretty {
    background: #111827;
    color: #e5e7eb;
    padding: 14px;
    border-radius: 10px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9rem;
}

/* Utility */
.spacer {
    height: 16px
}

.hidden {
    display: none
}

.center {
    display: grid;
    place-items: center
}

/* === Chat Page === */
.chat-box {
    background: #fff;
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 320px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.chat-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    font-size: 1rem;
}

.chat-error {
    color: var(--bad);
    font-weight: 600;
    margin-top: 8px;
}

/* Chat bubbles */
.bubble-wrap {
    display: flex;
    width: 100%;
}

.bubble-wrap.user {
    justify-content: flex-end;
}

.bubble-wrap.assistant {
    justify-content: flex-start;
}

.bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius);
    line-height: 1.6;
    white-space: pre-wrap;
}

.bubble.user {
    background: var(--brand);
    color: #fff;
    border-top-left-radius: var(--radius);
    border-top-right-radius: 4px;
}

.bubble.assistant {
    background: #f3f4f6;
    color: var(--ink);
    border: 1px solid #e5e7eb;
    border-top-right-radius: var(--radius);
    border-top-left-radius: 4px;
}

/* === Phone Input Box – Cyber Dark Modern === */
.phone-box {
    background: rgba(15, 23, 42, 0.55);
    /* glassy navy */
    border: 1px solid rgba(0, 200, 255, 0.15);
    padding: 22px;
    border-radius: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 22px rgba(0, 225, 255, 0.1);
    animation: fadeIn .25s ease-out;
}

/* Label */
.phone-box label {
    font-weight: 700;
    color: #e6edf3;
    margin-bottom: 12px;
    display: block;
    font-size: 1.05rem;
    text-align: center;
    opacity: 0.9;
}

/* Input field */
#phone-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 225, 255, 0.18);
    border-radius: 14px;
    font-size: 1.1rem;
    color: #e6edf3;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(0, 225, 255, 0.08);
    backdrop-filter: blur(6px);
    transition: 0.25s;
}

#phone-input:focus {
    border-color: #00e0ff;
    box-shadow: 0 0 14px #00e0ff55;
}

/* Placeholder */
#phone-input::placeholder {
    color: #7f8ea3;
    opacity: 0.8;
}

/* Confirm button (already using .btn.neon, but refine layout) */
.phone-btn,
#send-phone {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: 14px;
    font-size: 1.1rem;
}

#phone-input.phone-valid,
#chat-input.phone-valid {
    border: 3px solid #22c55e;
    /* vivid green */
    box-shadow:
        0 0 0 2px rgba(34, 197, 94, 0.35),
        0 0 22px rgba(34, 197, 94, 0.9);
}

#phone-input.phone-invalid,
#chat-input.phone-invalid {
    border: 3px solid #ef4444;
    /* vivid red */
    box-shadow:
        0 0 0 2px rgba(239, 68, 68, 0.35),
        0 0 22px rgba(239, 68, 68, 0.9);
}

/* Make intl-tel-input container full width */
.phone-box .iti {
    width: 100%;
}

/* Ensure input truly fills container */
.phone-box .iti input {
    width: 100%;
}

/* Make intl-tel-input container fill available width */
.iti {
    width: 100%;
    display: block;
}

/* Ensure input inside fills container */
.iti input {
    width: 100%;
    box-sizing: border-box;
}

/* Center placeholder text */
#chat-input::placeholder {
    text-align: center;
}

/* Also center typed text while input is empty */
#chat-input {
    text-align: center;
}

/* When user starts typing, align text normally */
#chat-input:not(:placeholder-shown) {
    text-align: center;
}

/* Fade animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    /* RTL-friendly left placement */
    width: 60px;
    height: 60px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s, background 0.2s;
}

.floating-chat-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.btn.chat-btn {
    background: #28a745;
    color: #fff;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn.chat-btn:hover {
    background: #1f7f37;
}

/* Timeline container */
.timeline {
    margin: 24px 0;
    padding: 0 12px;
    /* increased padding for RTL */
    border-right: 2px solid #d1d5db;
}

/* Each update entry */
.timeline-item {
    position: relative;
    padding: 0 32px 20px 0;
    /* more right padding to fit dot + spacing */
    margin-bottom: 12px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Dot alignment (RTL corrected) */
.timeline-dot {
    width: 12px;
    height: 12px;
    background: #2563eb;
    border-radius: 50%;
    position: absolute;
    right: -12px;
    /* align exactly on the vertical line */
    top: 12px;
    /* better vertical centering */
    transform: translateX(50%);
    /* center dot across the line */
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #2563eb;
}

/* The update message bubble */
.timeline-message {
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95em;
    color: #1e293b;
    margin-right: 12px;
    /* spacing away from the dot */
}

/* The small timestamp + source text */
.timeline-meta {
    font-size: 0.8em;
    color: #6b7280;
    margin-top: 4px;
}

/* === CRM Layout === */
.crm-container {
    max-width: 1200px;
    margin: auto;
    padding: 24px;
}

.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.lead-name {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
}

.lead-status {
    margin-top: 6px;
}

.lead-status .meta {
    color: var(--muted);
    margin-right: 8px;
}

/* Page layout */
.crm-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* Left sections */
.crm-section {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--ring);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.crm-section h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

/* Notes */
.notes-box {
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    white-space: pre-wrap;
}

/* Timeline */
.timeline {
    border-right: 2px solid #d1d5db;
    padding-right: 24px;
}

.timeline-item {
    position: relative;
    padding-right: 32px;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    right: -7px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--brand);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--brand);
}

.timeline-content {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 10px;
    width: 85%;
}

.timeline-content .msg {
    margin: 0;
}

.timeline-content .meta {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Right sidebar */
.crm-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    background: white;
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.side-card h3 {
    margin: 0 0 10px;
}

/* Empty state */
.empty {
    color: var(--muted);
    text-align: center;
}

.crm-bottom-actions {
    margin-top: 20px;
    text-align: left;
    /* RTL-friendly, aligns to left baseline */
}

.crm-bottom-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ======= Haroun Legal — Global Styles ======= */
:root {
    --brand: #0b5ed7;
    /* primary blue */
    --brand-700: #0a4db1;
    --accent: #0ea5e9;
    /* sky */
    --ink: #0f172a;
    /* text */
    --muted: #64748b;
    /* secondary text */
    --bg: #f6f7fb;
    /* page */
    --card: #ffffff;
    /* surfaces */
    --ring: #e5e7eb;
    --good: #10b981;
    --warn: #f59e0b;
    --bad: #ef4444;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(2, 6, 23, .06);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    direction: rtl;
}

/* Layout */
.container {
    width: min(1100px, 92vw);
    margin-inline: auto;
    padding: 24px 0 48px;
}

/* Header */
.topbar {
    background: linear-gradient(to left, var(--brand), var(--accent));
    color: #fff;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.brand .logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fff1;
    border: 1px solid #fff3;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand .title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1
}

.brand .subtitle {
    margin: 2px 0 0;
    font-size: .9rem;
    opacity: .9
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 10px;
}

.nav a:hover {
    background: #fff2
}

.nav a.active {
    background: #fff;
    color: var(--brand);
}

/* Hero band */
.hero {
    background: linear-gradient(135deg, #0b5ed7 0%, #0ea5e9 100%);
    border-radius: var(--radius);
    color: #fff;
    padding: 28px;
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow);
}

.hero h1 {
    margin: 0 0 6px;
    font-size: 1.8rem
}

.hero p {
    margin: 0;
    opacity: .95
}

/* Grid sections */
.grid {
    display: grid;
    gap: 18px
}

@media(min-width:960px) {
    .grid-2 {
        grid-template-columns: 1.2fr .8fr
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

/* Call widget (home only) */
.call-panel .call-status {
    color: var(--muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.btn.primary {
    background: var(--brand);
    color: #fff
}

.btn.primary:hover {
    background: var(--brand-700)
}

.btn.secondary {
    background: #eef2ff;
    color: #1e293b;
    border-color: #e5e7eb
}

.btn.secondary:hover {
    background: #e8ecff
}

.btn.chat {
    background: var(--good);
    color: #fff
}

.btn.chat:hover {
    background: #02b62f;
}

.btn:disabled,
.btn.disabled {
    cursor: not-allowed;
    opacity: .55;
    filter: grayscale(.2);
}

.btn:disabled {
    pointer-events: none
}

.icon {
    font-style: normal
}

/* Inline call buttons group */
.call-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Transcript */
.transcript {
    background: #f8fafc;
    border: 1px dashed #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    min-height: 44px;
}

.transcript .row {
    display: flex;
    gap: 10px;
    margin: 8px 0
}

.transcript .speaker {
    min-width: 95px;
    color: #0f172a;
    font-weight: 700
}

.transcript .message {
    color: #334155
}

/* Section titles */
.section-title {
    margin: 0 0 10px;
    font-size: 1.25rem
}

.list {
    margin: 0;
    padding: 0;
    list-style: none
}

.list li {
    padding: 12px 6px;
    border-top: 1px solid #eef2f7
}

.list li:first-child {
    border-top: none
}

/* Footer */
.footer {
    margin-top: 36px;
    padding: 18px 0;
    color: #fff;
    background: linear-gradient(to left, var(--brand), var(--accent));
}

.footer .copy {
    opacity: .95
}

/* Lead pages (details/list) use same badges/fonts */
.badge {
    border-radius: 8px;
    padding: 3px 8px;
    font-size: .85rem;
    white-space: nowrap
}

.badge.green {
    background: #d1fae5;
    color: #065f46
}

.badge.yellow {
    background: #fef3c7;
    color: #92400e
}

.badge.red {
    background: #fee2e2;
    color: #991b1b
}

.badge.gray {
    background: #e5e7eb;
    color: #374151
}

/* Make transcript/notes nicer (you asked earlier) */
pre.pretty {
    background: #111827;
    color: #e5e7eb;
    padding: 14px;
    border-radius: 10px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9rem;
}

/* Utility */
.spacer {
    height: 16px
}

.hidden {
    display: none
}

.center {
    display: grid;
    place-items: center
}

/* === Chat Page === */
.chat-box {
    background: #fff;
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 320px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.chat-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    font-size: 1rem;
}

.chat-error {
    color: var(--bad);
    font-weight: 600;
    margin-top: 8px;
}

/* Chat bubbles */
.bubble-wrap {
    display: flex;
    width: 100%;
}

.bubble-wrap.user {
    justify-content: flex-end;
}

.bubble-wrap.assistant {
    justify-content: flex-start;
}

.bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: var(--radius);
    line-height: 1.6;
    white-space: pre-wrap;
}

.bubble.user {
    background: var(--brand);
    color: #fff;
    border-top-left-radius: var(--radius);
    border-top-right-radius: 4px;
}

.bubble.assistant {
    background: #f3f4f6;
    color: var(--ink);
    border: 1px solid #e5e7eb;
    border-top-right-radius: var(--radius);
    border-top-left-radius: 4px;
}

/* Floating Chat Button */
.floating-chat-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    /* RTL-friendly left placement */
    width: 60px;
    height: 60px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.2s, background 0.2s;
}

.floating-chat-btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.btn.chat-btn {
    background: #28a745;
    color: #fff;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.btn.chat-btn:hover {
    background: #1f7f37;
}

/* Timeline container */
.timeline {
    margin: 24px 0;
    padding: 0 12px;
    /* increased padding for RTL */
    border-right: 2px solid #d1d5db;
}

/* Each update entry */
.timeline-item {
    position: relative;
    padding: 0 32px 20px 0;
    /* more right padding to fit dot + spacing */
    margin-bottom: 12px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Dot alignment (RTL corrected) */
.timeline-dot {
    width: 12px;
    height: 12px;
    background: #2563eb;
    border-radius: 50%;
    position: absolute;
    right: -12px;
    /* align exactly on the vertical line */
    top: 12px;
    /* better vertical centering */
    transform: translateX(50%);
    /* center dot across the line */
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #2563eb;
}

/* The update message bubble */
.timeline-message {
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95em;
    color: #1e293b;
    margin-right: 12px;
    /* spacing away from the dot */
}

/* The small timestamp + source text */
.timeline-meta {
    font-size: 0.8em;
    color: #6b7280;
    margin-top: 4px;
}

/* === CRM Layout === */
.crm-container {
    max-width: 1200px;
    margin: auto;
    padding: 24px;
}

.crm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.lead-name {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
}

.lead-status {
    margin-top: 6px;
}

.lead-status .meta {
    color: var(--muted);
    margin-right: 8px;
}

/* Page layout */
.crm-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* Left sections */
.crm-section {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--ring);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.crm-section h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

/* Notes */
.notes-box {
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    white-space: pre-wrap;
}

/* Timeline */
.timeline {
    border-right: 2px solid #d1d5db;
    padding-right: 24px;
}

.timeline-item {
    position: relative;
    padding-right: 32px;
    margin-bottom: 24px;
}

.timeline-dot {
    position: absolute;
    right: -7px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--brand);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--brand);
}

.timeline-content {
    background: #f1f5f9;
    padding: 12px 16px;
    border-radius: 10px;
    width: 85%;
}

.timeline-content .msg {
    margin: 0;
}

.timeline-content .meta {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Right sidebar */
.crm-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card {
    background: white;
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.side-card h3 {
    margin: 0 0 10px;
}

/* Empty state */
.empty {
    color: var(--muted);
    text-align: center;
}

.crm-bottom-actions {
    margin-top: 20px;
    text-align: left;
    /* RTL-friendly, aligns to left baseline */
}

.crm-bottom-actions .btn {
    width: 100%;
    justify-content: center;
}

.hero.hero-large {
    padding: 48px;
    text-align: center;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: .95;
    margin: 14px 0 20px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.call-section {
    padding: 24px;
}

.call-section .muted {
    margin-bottom: 14px;
    display: block;
}

.call-section {
    padding: 24px;
}

.call-section .muted {
    margin-bottom: 14px;
    display: block;
}

.card-dark {
    background: #161b22;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #30363d;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-dark {
    background: linear-gradient(135deg, #0c1220 0%, #111827 100%);
    padding: 60px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero-dark h1 {
    font-size: 2.4rem;
    margin: 0 0 14px;
    color: #ffffff;
}

.hero-dark p {
    color: #94a3b8;
    font-size: 1.15rem;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn.neon {
    background: #00c6ff;
    color: #000;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 0 12px #00c6ff99;
}

.btn.neon:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px #00e0ffdd;
}

.btn.outline {
    background: transparent;
    border: 2px solid #475569;
    color: #e6edf3;
}

.btn.green {
    background: #10b981;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 0 12px #00ff5599;
}

.btn.green:hover {
    transform: scale(1.03);
    box-shadow: 0 0 18px #1fff3ddd;
}

.video-slider-section h2 {
    margin-bottom: 18px;
}

.video-slider-wrapper {
    position: relative;
}

.video-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.video-slider::-webkit-scrollbar {
    display: none;
}

.video-card-dark {
    min-width: 280px;
    background: #1a202c;
    border: 1px solid #2d3748;
    border-radius: 14px;
    padding: 16px;
}

.video-card-dark h3 {
    margin: 10px 0;
}

.video-thumb-dark {
    height: 160px;
    background: #2d3748;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 1.2rem;
}

/* slider buttons */
.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #0ea5e9;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    color: black;
    font-size: 1.2rem;
    box-shadow: 0 0 12px #0ea5e988;
    z-index: 10;
}

.slider-btn.left {
    right: -10px;
}

.slider-btn.right {
    left: -10px;
}

.call-dark h2 {
    color: #fff;
}

.call-dark .muted {
    color: #9ca3af;
    margin-bottom: 16px;
}

.call-dark input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #111827;
    border: 1px solid #374151;
    color: #fff;
}

.floating-chat-btn {
    background: #0ea5e9;
    box-shadow: 0 0 18px #0ea5e9aa;
}

/* ============================
   MODERN DARK NAVBAR
============================= */

.nav-dark {
    background: linear-gradient(135deg,
            #060b12 0%,
            #081a33 25%,
            #0a2c57 50%,
            #0b3f7a 75%,
            #0cc2ff 100%);

    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    color: #ffffff !important;
    /* ← FORCE white text */
}

.nav-container {
    width: min(1200px, 94%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* BRAND */

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 46px;
    height: 46px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #00c6ff;
    box-shadow: 0 0 10px #00c6ff44;
    letter-spacing: 1px;
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e6edf3;
}

.nav-subtitle {
    font-size: 0.85rem;
    color: #acacac;
}

/* NAV LINKS */

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-item {
    color: #c9d1d9;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: 0.25s ease;
}

.nav-item:hover {
    color: #fff;
    background: #21262d;
}

.nav-item.active {
    background: #00c6ff;
    color: #000;
    box-shadow: 0 0 12px #00c6ff88;
}

/* =========================================
   5-CARD CYBER SLIDER — RTL PERFECT
========================================= */

.carousel-container {
    position: relative;
    width: 100%;
    height: 620px;
    /* a bit taller for 9:16 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Base slide – hidden by default */
.slide {
    position: absolute;
    width: 320px;
    height: 570px;
    /* 9:16ish, matches your posters */
    top: 50%;
    left: 50%;
    border-radius: 28px;
    overflow: hidden;

    background: rgba(12, 18, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);

    box-shadow: 0 0 40px rgba(0, 225, 255, 0.35);

    /* IMPORTANT: default state = small, centered, invisible */
    transform-origin: center;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    pointer-events: none;
    z-index: 1;

    transition: transform 0.6s ease, opacity 0.6s ease;
}

/* All visible positions allow interaction */
.center,
.left1,
.left2,
.right1,
.right2 {
    pointer-events: auto;
}

/* Videos fill the card */
.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
    background: #0d1726;
    /* fallback */
}

/* --------- POSITIONS -------- */

/* Center – moved lower ( -30% instead of -50% ) */
.center {
    transform: translate(-50%, -30%) scale(1.15);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 0 75px rgba(0, 225, 255, 0.55);
}

/* Two cards to the LEFT (remember RTL: visually left = smaller index) */
.left1 {
    opacity: 0.55;
    transform: translate(calc(-50% + 420px), -35%) rotate(8deg) scale(0.9);
    z-index: 3;
}

.left2 {
    opacity: 0.25;
    transform: translate(calc(-50% + 720px), -40%) rotate(12deg) scale(0.75);
    z-index: 2;
}

/* Two cards to the RIGHT */
.right1 {
    opacity: 0.55;
    transform: translate(calc(-50% - 420px), -35%) rotate(-8deg) scale(0.9);
    z-index: 3;
}

.right2 {
    opacity: 0.25;
    transform: translate(calc(-50% - 720px), -40%) rotate(-12deg) scale(0.75);
    z-index: 2;
}

/* Nav buttons */
/*.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00c6ff;
    border: none;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    font-size: 1.2rem;
    color: black;
    box-shadow: 0 0 14px #00c6ffaa;
}*/

/* NAV BUTTONS — PERFECT CIRCLES */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    /* fixed width */
    height: 55px;
    /* fixed height  → makes it a circle */
    border-radius: 50%;
    /* circle */
    background: #00c6ff;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    font-weight: bold;
    color: black;

    box-shadow: 0 0 14px #00c6ffaa;
    z-index: 20;
    padding: 0;
    /* remove padding so it stays round */
    line-height: 1;
    /* prevents vertical stretching */
}

.nav-btn.left {
    right: 8%;
}

.nav-btn.right {
    left: 8%;
}

/* Title / description block under slider */
.video-info {
    margin-top: 160px;
    /* already lowered – keep it or tweak */
    text-align: center;
}

.video-info h3 {
    font-size: 2rem;
    color: white;
}

.video-info p {
    font-size: 1.2rem;
    color: #94a3b8;
}

.slide video {
    pointer-events: none;
}

.center video {
    pointer-events: auto;
}


/* ============================
   📱 MOBILE FIXES (max-width: 768px)
============================= */
@media (max-width: 768px) {

    .carousel-container {
        height: 420px;
        overflow: hidden;
    }

    .slide {
        width: 220px;
        /* smaller 9:16 frame */
        height: 380px;
    }

    /* Center video */
    .center {
        transform: translate(-50%, -45%) scale(1.05);
    }

    /* Show side videos more clearly */
    .left1 {
        transform: translate(calc(-50% + 250px), -50%) rotate(5deg) scale(0.78);
        opacity: 0.55;
    }

    .left2 {
        transform: translate(calc(-50% + 420px), -50%) rotate(8deg) scale(0.55);
        opacity: 0.25;
    }

    .right1 {
        transform: translate(calc(-50% - 250px), -50%) rotate(-5deg) scale(0.78);
        opacity: 0.55;
    }

    .right2 {
        transform: translate(calc(-50% - 420px), -50%) rotate(-8deg) scale(0.55);
        opacity: 0.25;
    }

    /* Make buttons closer */
    .nav-btn.left {
        right: 2%;
    }

    .nav-btn.right {
        left: 2%;
    }

    /* Reduce gap above info text */
    .video-info {
        margin-top: 60px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        overflow: visible;
        /* allow glow to show */
        margin-top: 40px;
        /* push down slightly so glow doesn't touch top */
    }

    .carousel {
        overflow: visible;
        /* allow outer glow to render */
    }

    .slide {
        box-shadow: 0 0 65px rgba(0, 225, 255, 0.55);
        /* stronger but soft glow */
    }

    /* Slight reposition of center card so glow doesn't get cropped */
    .center {
        transform: translate(-50%, -42%) scale(1.05);
    }
}

@media (max-width: 768px) {
    .slide {
        box-shadow: 0 0 85px rgba(0, 225, 255, 0.45);
    }
}

/* ========================================
   🔧 PERFECT SYMMETRY FOR MOBILE SLIDER
======================================== */
@media (max-width: 768px) {

    /* Center position */
    .center {
        transform: translate(-50%, -42%) scale(1.05);
    }

    /* LEFT SIDE (rtl visually left = +X) */
    .left1 {
        transform: translate(calc(-50% + 100px), -50%) rotate(6deg) scale(0.82);
        opacity: 0.55;
    }

    .left2 {
        transform: translate(calc(-50% + 200px), -50%) rotate(10deg) scale(0.65);
        opacity: 0.25;
    }

    /* RIGHT SIDE (rtl visually right = -X) */
    .right1 {
        transform: translate(calc(-50% - 100px), -50%) rotate(-6deg) scale(0.82);
        opacity: 0.55;
    }

    .right2 {
        transform: translate(calc(-50% - 200px), -50%) rotate(-10deg) scale(0.65);
        opacity: 0.25;
    }
}

/* ======================================================
   FIX MOBILE HORIZONTAL GAP (RTL SAFE)
   ====================================================== */

html,
body {
    overflow-x: hidden !important;
}

/* Fix floating chat button pushing layout */
.floating-chat-btn {
    left: 12px;
    /* smaller */
    transform: translateX(0);
    /* force inside viewport */
}

/* Limit large shadows ONLY on mobile */
@media (max-width: 768px) {
    .center {
        box-shadow: 0 0 45px rgba(0, 225, 255, 0.45);
    }
}

/* ============================
   CLEAN MINIMAL MEDIA BUTTONS
============================ */
.media-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transform: scale(0.7);
    transition: 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.center .media-btn {
    opacity: 1;
    transform: scale(1);
}

/* Second button sits to the left */
.play-btn {
    right: 60px;
}

/* Hover glow */
.media-btn:hover {
    box-shadow: 0 0 10px #00e0ffAA;
    background: rgba(0, 0, 0, 0.65);
}

/* Muted state highlight */
.sound-btn.unmuted {
    background: rgba(0, 200, 255, 0.35);
    border-color: rgba(0, 200, 255, 0.6);
}

/* MOBILE SIZE */
@media (max-width: 768px) {
    .media-btn {
        width: 32px;
        height: 32px;
        font-size: 15px;
        top: 10px;
        right: 10px;
    }

    .play-btn {
        right: 50px;
    }
}

/* ===== MOBILE HEADER FIX ===== */
@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 14px;
    }

    .nav-brand {
        width: 100%;
        justify-content: center;
    }

    .nav-title {
        font-size: 1.3rem;
        font-weight: 800;
        text-align: center;
        width: 100%;
    }
}

/* =======================================
      SERVICE CARDS – DARK CYBER STYLE
======================================= */

.service-cards {
    margin: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Card container */
.service-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #0e1623;
    border: 1px solid #1f2937;
    box-shadow: 0 0 22px rgba(0, 200, 255, 0.15);
    opacity: 0;
    transform: translateX(0);
    transition: 0.8s ease;
}

/* Alternating corners */
.service-card.from-left {
    border-radius: 0 22px 22px 0;
    transform: translateX(-120px);
}

.service-card.from-right {
    border-radius: 22px 0 0 22px;
    transform: translateX(120px);
}

/* Reveal animation when scrolled into view */
.service-card.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Video styling */
.service-card video {
    width: 180px;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.2);
}

/* Text block */
.service-text {
    color: #e6edf3;
}

.service-text h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #00e0ff;
}

.service-text p {
    margin: 0;
    font-size: 1rem;
    color: #b8c2cc;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .service-card {
        flex-direction: column;
        text-align: center;
        border-radius: 20px !important;
    }

    .service-card.from-left,
    .service-card.from-right {
        transform: translateY(60px);
    }

    .service-card video {
        width: 100%;
        height: auto;
        max-width: 280px;
    }
}

.back-to-call-wrapper {
    text-align: center;
    margin: 50px 0 80px;
}

.back-to-call-btn {
    padding: 14px 26px !important;
    font-size: 1.2rem;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 0 14px #00e0ff88;
}

.back-to-call-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 22px #00e0ffcc;
}

/* ============================================
   DARK CYBER CHAT PANEL
============================================ */
.chat-panel-dark {
    background: #111827;
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 0 35px rgba(0, 200, 255, 0.18);
    backdrop-filter: blur(6px);
    color: #e6edf3;
    overflow: visible;
}

/* Chat box container */
.chat-box {
    background: #0d1522;
    border: 1px solid #1f2937;
    border-radius: 18px;
    padding: 20px;
    height: 360px;
    overflow-y: auto;
    box-shadow: inset 0 0 25px rgba(0, 200, 255, 0.08);
}

/* Scrollbar */
.chat-box::-webkit-scrollbar {
    width: 8px;
}

.chat-box::-webkit-scrollbar-thumb {
    background: #00c6ff55;
    border-radius: 10px;
}

.chat-box::-webkit-scrollbar-thumb:hover {
    background: #00c6ffaa;
}

/* Assistant bubble (light gray in dark theme) */
.bubble.assistant {
    background: #1a2234;
    color: #dce3ea;
    border: 1px solid #2b3548;
    border-top-right-radius: var(--radius);
    border-top-left-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.09);
}

/* User bubble (neon blue) */
.bubble.user {
    background: #00c6ff;
    color: #000;
    border: none;
    font-weight: 700;
    box-shadow: 0 0 18px #00c6ffaa;
}

/* Chat form bar */
.chat-form {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

/* Input field */
.chat-form input {
    flex: 1;
    padding: 14px;
    background: #0f1a2e;
    border: 1px solid #243144;
    border-radius: 14px;
    color: #e2e8f0;
    font-size: 1rem;
    box-shadow: inset 0 0 10px rgba(0, 200, 255, 0.08);
}

.chat-form input::placeholder {
    color: #6b7280;
}

/* Send button */
.btn.primary {
    background: #00c6ff;
    color: #000;
    font-weight: 800;
    box-shadow: 0 0 14px #00c6ff88;
    border-radius: 14px;
    padding: 12px 18px;
}

.btn.primary:hover {
    transform: scale(1.04);
    box-shadow: 0 0 22px #00e0ffdd;
}

/* Error message */
.chat-error {
    background: rgba(239, 68, 68, 0.15);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #ef444455;
    color: #ff7b7b;
    font-weight: 700;
}


@media (max-width: 768px) {

    .left2,
    .right2 {
        display: none !important;
    }
}

/* Default (desktop + idle mobile) */
.slide {
    will-change: transform;
}

/* Mobile only */
@media (max-width: 768px) {
    .carousel.is-sliding .slide {
        box-shadow: 0 0 18px rgba(0, 225, 255, 0.25);
        /* lighter glow */
        backdrop-filter: none;
        /* blur is expensive */
        transition: transform 0.35s ease, opacity 0.35s ease;
    }
}

/* Reserve space for intl-tel-input country list */
.chat-panel-dark.has-country-dropdown {
    margin-bottom: 360px;
    /* enough for full country list */
    transition: margin-bottom 0.25s ease;
}

/* =========================
   CHAT PAGE ONLY: sticky footer layout
   ========================= */
body.chat-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.chat-page>main {
    flex: 1 0 auto;
    padding-bottom: 220px;
}

body.chat-page>.footer,
body.chat-page footer {
    flex: 0 0 auto;
}

/* ================================
   intl-tel-input — DARK THEME
================================ */

/* Dropdown container */
.iti__country-list {
    background: #0f172a !important;
    color: #e6edf3 !important;
    border: 1px solid #1e293b !important;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 200, 255, 0.25);
    max-height: 320px;
    scrollbar-width: thin;
}

/* Country rows */
.iti__country {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

/* Country name */
.iti__country-name {
    color: #e6edf3;
    font-weight: 600;
}

/* Dial code */
.iti__dial-code {
    color: #7dd3fc;
    font-weight: 700;
}

/* Hover & keyboard focus */
.iti__country:hover,
.iti__country.iti__highlight {
    background: linear-gradient(135deg,
            rgba(0, 200, 255, 0.18),
            rgba(0, 200, 255, 0.05));
}

/* Selected country */
.iti__country.iti__active {
    background: rgba(0, 200, 255, 0.25);
}

/* Flag */
.iti__flag {
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.35);
}

/* Search box (if enabled later) */
.iti__search-input {
    background: #020617;
    border: 1px solid #1e293b;
    color: #e6edf3;
    border-radius: 10px;
    padding: 8px 12px;
}

/* Scrollbar (WebKit) */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: #00c6ff66;
    border-radius: 10px;
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: #00c6ffaa;
}

.iti__country-list {
    backdrop-filter: blur(8px);
}

/* ================================
   intl-tel-input – FIX WHITE WRAPPER
================================ */

/* The outer floating container */
.iti--container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Sometimes the container adds padding */
.iti--container * {
    box-sizing: border-box;
}

.iti--container {
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.25);
}

/* =========================================
   intl-tel-input — DARK DROPDOWN (FIX WHITE FRAME)
   Put this at END of style.css
========================================= */

/* The floating dropdown wrapper (often the white box) */
.iti__dropdown-content,
.iti--container .iti__dropdown-content {
    background: rgba(10, 16, 28, 0.98) !important;
    border: 1px solid rgba(0, 200, 255, 0.22) !important;
    box-shadow: 0 0 28px rgba(0, 200, 255, 0.20) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    /* prevents “white edge” bleed */
}

/* The actual list */
.iti__country-list,
.iti--container .iti__country-list {
    background: transparent !important;
    /* wrapper handles bg */
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* Search box inside dropdown */
.iti__search-input,
.iti--container .iti__search-input {
    background: rgba(15, 26, 46, 0.95) !important;
    color: #e6edf3 !important;
    border: 1px solid rgba(0, 200, 255, 0.18) !important;
    border-radius: 12px !important;
    outline: none !important;
}

/* Hover / highlight row */
.iti__country.iti__highlight,
.iti__country:hover {
    background: rgba(0, 200, 255, 0.10) !important;
}

/* ================================
   intl-tel-input — COLORS FIX
================================ */

/* Country name (text) */
.iti__country-name {
    color: #e6edf3 !important;
    opacity: 0.9;
}

/* Dial code — USE BRAND COLOR */
.iti__dial-code {
    color: var(--accent) !important;
    /* your sky blue */
}

/* Search placeholder */
.iti__search-input::placeholder {
    color: #94a3b8 !important;
}

/* ================================
   intl-tel-input — SCROLLBAR STYLE
================================ */

/* WebKit browsers (Chrome, Edge, Safari) */
.iti__country-list::-webkit-scrollbar {
    width: 8px;
}

.iti__country-list::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
}

.iti__country-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            rgba(0, 200, 255, 0.8),
            rgba(0, 120, 255, 0.9));
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.6);
}

.iti__country-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            rgba(0, 220, 255, 1),
            rgba(0, 150, 255, 1));
}

/* Firefox */
.iti__country-list {
    scrollbar-width: thin;
    scrollbar-color: #00c6ff rgba(15, 23, 42, 0.6);
}

@media (max-width: 768px) {
    .iti__country-list::-webkit-scrollbar {
        width: 6px;
    }
}