﻿:root {
    --accent: #00d2ff;
    --accent2: #0056ff;
}

[data-theme="dark"] {
    --bg: #030b1e;
    --nav-bg: rgba(3, 9, 28, 0.95);
    --nav-bdr: rgba(0, 210, 255, 0.15);
    --card-bg: rgba(5, 12, 32, 0.82);
    --card-bdr: rgba(0, 210, 255, 0.18);
    --text: #e8edf5;
    --muted: #7a8ba8;
    --inp-bg: rgba(255, 255, 255, 0.04);
    --inp-bdr: rgba(255, 255, 255, 0.1);
    --inp-focus: #00d2ff;
    --inp-focusbg: rgba(0, 210, 255, 0.07);
    --label: #5a7090;
    --divider: rgba(0, 210, 255, 0.1);
    --head-bg: rgba(0, 60, 180, 0.08);
    --shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
    --pill-bg: rgba(0, 210, 255, 0.08);
    --pill-bdr: rgba(0, 210, 255, 0.2);
    --toggle-bg: rgba(255, 255, 255, 0.06);
    --toggle-bdr: rgba(255, 255, 255, 0.12);
    --inp-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    --btn-shadow: 0 6px 28px rgba(0, 86, 255, 0.45);
    --icon-clr: rgba(0, 210, 255, 0.6);
}

[data-theme="light"] {
    --bg: #f2f2f2;
    --nav-bg: rgba(255, 255, 255, 0.97);
    --nav-bdr: rgba(0, 86, 255, 0.12);
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-bdr: rgba(0, 86, 255, 0.14);
    --text: #0d1b2e;
    --muted: #5a6f8a;
    --inp-bg: rgba(255, 255, 255, 0.85);
    --inp-bdr: rgba(0, 86, 255, 0.2);
    --inp-focus: #0056ff;
    --inp-focusbg: rgba(0, 86, 255, 0.05);
    --label: #4a6080;
    --divider: rgba(0, 86, 255, 0.1);
    --head-bg: rgba(0, 86, 255, 0.04);
    --shadow: 0 20px 60px rgba(0, 40, 120, 0.14);
    --pill-bg: rgba(0, 86, 255, 0.07);
    --pill-bdr: rgba(0, 86, 255, 0.2);
    --toggle-bg: rgba(0, 86, 255, 0.06);
    --toggle-bdr: rgba(0, 86, 255, 0.18);
    --inp-shadow: 0 2px 12px rgba(0, 60, 180, 0.08);
    --btn-shadow: 0 6px 28px rgba(0, 86, 255, 0.3);
    --icon-clr: rgba(0, 86, 255, 0.5);
}

/* ══════════════════════════
       RESET
    ══════════════════════════ */

::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nova Flat", system-ui;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background .4s;
}

/* ══════════════════════════
       VIDEO BACKGROUND
    ══════════════════════════ */
.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity .5s;
}

[data-theme="dark"] .bg-video {
    opacity: 1;
}

[data-theme="light"] .bg-video {
    opacity: 0.35;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: background .5s;
}

[data-theme="dark"] .bg-overlay {
    background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0, 86, 255, 0.55) 0%, transparent 55%), radial-gradient(ellipse 55% 55% at 0% 100%, rgba(0, 210, 255, 0.28) 0%, transparent 55%), radial-gradient(ellipse 55% 55% at 100% 0%, rgba(100, 60, 255, 0.2) 0%, transparent 55%), linear-gradient(180deg, rgba(2, 6, 40, 0.88) 0%, rgba(3, 8, 20, 0.96) 100%);
}

[data-theme="light"] .bg-overlay {
    background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 100, 255, 0.18) 0%, transparent 60%), radial-gradient(ellipse 60% 60% at 0% 100%, rgba(0, 180, 255, 0.12) 0%, transparent 55%), radial-gradient(ellipse 60% 60% at 100% 0%, rgba(80, 50, 200, 0.1) 0%, transparent 55%), linear-gradient(180deg, rgba(242, 242, 242, 0.55) 0%, rgba(242, 242, 242, 0.75) 100%);
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: linear-gradient(rgba(0, 210, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 210, 255, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    animation: gridScroll 18s linear infinite;
    transition: opacity .5s;
}

[data-theme="dark"] .bg-grid {
    opacity: 1;
}

[data-theme="light"] .bg-grid {
    opacity: 0.55;
}

@keyframes gridScroll {
    to {
        background-position: 56px 56px;
    }
}

.orbs {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    animation: orbDrift ease-in-out infinite alternate;
}

.orb-1 {
    width: 560px;
    height: 560px;
    top: -180px;
    left: -130px;
    animation-duration: 13s;
}

.orb-2 {
    width: 420px;
    height: 420px;
    bottom: -130px;
    right: -90px;
    animation-duration: 18s;
}

.orb-3 {
    width: 260px;
    height: 260px;
    top: 35%;
    left: 60%;
    animation-duration: 23s;
}

[data-theme="dark"] .orb-1 {
    background: radial-gradient(circle, rgba(0, 86, 255, .45), transparent 70%);
}

[data-theme="dark"] .orb-2 {
    background: radial-gradient(circle, rgba(0, 210, 255, .25), transparent 70%);
}

[data-theme="dark"] .orb-3 {
    background: radial-gradient(circle, rgba(124, 77, 255, .2), transparent 70%);
}

[data-theme="light"] .orb-1 {
    background: radial-gradient(circle, rgba(0, 100, 255, .18), transparent 70%);
}

[data-theme="light"] .orb-2 {
    background: radial-gradient(circle, rgba(0, 180, 255, .14), transparent 70%);
}

[data-theme="light"] .orb-3 {
    background: radial-gradient(circle, rgba(80, 50, 200, .12), transparent 70%);
}

@keyframes orbDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(28px, -36px) scale(1.07);
    }

    100% {
        transform: translate(-18px, 18px) scale(.95);
    }
}

#particles-js {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* ══════════════════════════
       TOP NAVBAR
    ══════════════════════════ */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-bdr);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
    transition: background .35s, border-color .35s;
}

    .top-navbar::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent2), var(--accent), var(--accent2), transparent);
        background-size: 200% 100%;
        animation: shimBar 4s linear infinite;
        opacity: .7;
    }

@keyframes shimBar {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo img {
    height: 75px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.45));
    transition: filter .3s, transform .3s;
}

    .nav-logo img:hover {
        filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.8));
        transform: scale(1.04);
    }

.nav-home {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Nova Flat", system-ui;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--muted);
    text-decoration: none;
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-bdr);
    border-radius: 100px;
    padding: 7px 16px 7px 12px;
    transition: all .25s;
}

    .nav-home svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }

    .nav-home:hover {
        color: var(--accent);
        border-color: var(--accent);
        background: rgba(0, 210, 255, 0.1);
    }

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Google Translate */
#google_translate_element .goog-te-gadget-simple {
    background: var(--toggle-bg) !important;
    border: 1px solid var(--toggle-bdr) !important;
    border-radius: 100px !important;
    padding: 7px 14px !important;
    font-family: "Nova Flat", system-ui !important;
    font-size: 12px !important;
    color: var(--muted) !important;
    transition: all .25s;
    cursor: pointer;
}

    #google_translate_element .goog-te-gadget-simple:hover {
        border-color: var(--accent) !important;
    }

    #google_translate_element .goog-te-gadget-simple span,
    #google_translate_element .goog-te-gadget-simple a {
        color: var(--muted) !important;
        font-family: "Nova Flat", system-ui !important;
        font-size: 12px !important;
        text-decoration: none !important;
    }

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Nova Flat", system-ui;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: var(--toggle-bg);
    border: 1px solid var(--toggle-bdr);
    border-radius: 100px;
    padding: 7px 16px;
    cursor: pointer;
    transition: all .25s;
    white-space: nowrap;
}

    .theme-btn:hover {
        color: var(--accent);
        border-color: var(--accent);
        background: rgba(0, 210, 255, 0.1);
    }

    .theme-btn .t-ico {
        font-size: 15px;
        line-height: 1;
    }

/* ══════════════════════════
       PAGE WRAPPER
    ══════════════════════════ */
.page-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding:40px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ══════════════════════════
       LOGIN CARD
    ══════════════════════════ */
.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--card-bg);
    border: 1px solid var(--card-bdr);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    box-shadow: var(--shadow), 0 0 0 1px rgba(0, 210, 255, 0.04);
    position: relative;
    animation: cardIn .7s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent2), var(--accent), var(--accent2), transparent);
    background-size: 200% 100%;
    animation: shimBar 3.5s linear infinite;
    z-index: 1;
}

.scan-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, .4), transparent);
    animation: scanDown 7s linear infinite;
    pointer-events: none;
    z-index: 6;
}

@keyframes scanDown {
    0% {
        top: 0;
        opacity: 1
    }

    96% {
        opacity: 1
    }

    100% {
        top: 100%;
        opacity: 0
    }
}

/* corner brackets */
.c {
    position: absolute;
    width: 13px;
    height: 13px;
    pointer-events: none;
    z-index: 5;
}

.c-tl {
    top: 8px;
    left: 8px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.c-tr {
    top: 8px;
    right: 8px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

.c-bl {
    bottom: 8px;
    left: 8px;
    border-bottom: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.c-br {
    bottom: 8px;
    right: 8px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

/* ── Card Head ── */
.card-head {
    padding: 26px 30px 20px;
    text-align: center;
    background: var(--head-bg);
    border-bottom: 1px solid var(--divider);
}

.card-logo {
    max-height: 64px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.45));
    transition: filter .3s;
    margin-bottom: 14px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

    .card-logo:hover {
        filter: drop-shadow(0 0 22px rgba(0, 210, 255, 0.8));
    }

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pill-bg);
    border: 1px solid var(--pill-bdr);
    border-radius: 100px;
    padding: 5px 16px;
    font-family: "Nova Flat", system-ui;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

    .live-pill .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 7px var(--accent);
        animation: blinkDot 1.8s ease-in-out infinite;
    }

@keyframes blinkDot {

    0%, 100% {
        opacity: 1
    }

    50% {
        opacity: .2
    }
}

.card-head h2 {
    font-family: "Nova Flat", system-ui;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
    color: var(--text);
    margin-bottom: 4px;
}

.card-head p {
    font-family: "Nova Flat", system-ui;
    font-size: 13px;
    color: var(--muted);
}

/* ── Card Body ── */
.card-body {
    padding: 24px 30px 28px;
}

/* Error */
.err-banner {
    background: rgba(255, 60, 80, 0.08);
    border: 1px solid rgba(255, 60, 80, 0.22);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-family: "Nova Flat", system-ui;
    font-size: 13px;
    color: #ff4d6d;
    text-align: center;
}

/* ═══════════════════════════
       PREMIUM INPUT FIELDS
    ═══════════════════════════ */
.fg {
    margin-bottom: 18px;
    opacity: 0;
    animation: fadeUp .5s ease forwards;
}

    .fg:nth-child(1) {
        animation-delay: .15s
    }

    .fg:nth-child(2) {
        animation-delay: .25s
    }

    .fg:nth-child(3) {
        animation-delay: .35s
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.flbl {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Nova Flat", system-ui;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--label);
    margin-bottom: 7px;
}

/* Input wrapper — border on the wrapper, not the input */
.iw {
    position: relative;
    border-radius: 12px;
    background: var(--inp-bg);
    border: 1.5px solid var(--inp-bdr);
    box-shadow: var(--inp-shadow);
    transition: border-color .25s, box-shadow .25s, background .25s;
    display: flex;
    align-items: center;
}

    .iw:focus-within {
        border-color: var(--inp-focus) !important;
        background: var(--inp-focusbg) !important;
        box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12), var(--inp-shadow) !important;
    }

[data-theme="light"] .iw:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 86, 255, 0.12), var(--inp-shadow) !important;
}

/* Left icon */
.iw svg.ico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--icon-clr);
    stroke-width: 2;
    pointer-events: none;
    transition: stroke .25s;
    flex-shrink: 0;
}

.iw:focus-within svg.ico {
    stroke: var(--accent);
}

/* Vertical separator */
.ico-sep {
    position: absolute;
    left: 42px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--inp-bdr);
    pointer-events: none;
    transition: background .25s;
}

.iw:focus-within .ico-sep {
    background: rgba(0, 210, 255, 0.3);
}

[data-theme="light"] .iw:focus-within .ico-sep {
    background: rgba(0, 86, 255, 0.3);
}

/* Actual input — transparent background, border handled by wrapper */
input.form_i,
input.regi_in,
input.form-control,
input.form-control.form-control02 {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 48px 0 54px;
    font-family: "Nova Flat", system-ui;
    font-size: 14px;
    font-weight: 500;
    color: var(--text) !important;
    background: transparent !important;
    border: none !important;
    border-radius: 12px;
    outline: none;
    box-shadow: none !important;
    transition: color .25s;
}

::placeholder {
    color: rgba(122, 139, 168, .45) !important;
    font-family: "Nova Flat", system-ui;
    font-weight: 400;
}

input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Eye toggle */
.eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--muted);
    transition: color .25s;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

    .eye-btn:hover {
        color: var(--accent);
        background: rgba(0, 210, 255, 0.08);
    }

    .eye-btn svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
        fill: none;
        stroke-width: 2;
    }

/* ── Remember / Forgot row ── */
.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    opacity: 0;
    animation: fadeUp .5s .42s ease forwards;
}

.rem-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .rem-wrap input[type="checkbox"] {
        width: 16px;
        height: 16px;
        accent-color: var(--accent);
        cursor: pointer;
        padding: 0;
    }

    .rem-wrap label {
        font-family: "Nova Flat", system-ui;
        font-size: 13px;
        color: var(--muted);
        cursor: pointer;
        margin: 0;
    }

a.forgot {
    font-family: "Nova Flat", system-ui;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

    a.forgot:hover {
        color: var(--accent);
    }

/* ── Submit Button ── */
.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    margin: 15px 0;
    font-family: "Nova Flat", system-ui;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent2) 0%, #0099ee 50%, var(--accent) 100%) !important;
    border: none !important;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    box-shadow: var(--btn-shadow);
    opacity: 0;
    animation: fadeUp .5s .50s ease forwards;
}

    .btn-login::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 55%);
        opacity: 0;
        transition: opacity .3s;
    }

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 38px rgba(0, 210, 255, .55), 0 0 60px rgba(0, 86, 255, .2);
    }

        .btn-login:hover::before {
            opacity: 1;
        }

    .btn-login:active {
        transform: translateY(0);
    }

.btn-arr {
    display: inline-block;
    transition: transform .3s;
}

.btn-login:hover .btn-arr {
    transform: translateX(5px);
}

/* ── Card Divider ── */
.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--divider), transparent);
    margin: 0 30px;
}

/* ── Card Footer ── */
.card-foot {
    padding: 16px 30px 22px;
    text-align: center;
}

    .card-foot p {
        font-family: "Nova Flat", system-ui;
        font-size: 14px;
        color: var(--muted);
    }

        .card-foot p a {
            color: var(--accent);
            font-weight: 700;
            text-decoration: none;
            transition: color .2s, text-shadow .2s;
        }

a.signup-btn {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s, text-shadow .2s;
}

    a.signup-btn:hover {
        color: #fff;
        text-shadow: 0 0 10px rgba(0, 210, 255, .7);
    }

/* Bootstrap custom control */
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--accent);
    background-color: var(--accent);
}

/* ══════════════════════════
       RESPONSIVE
    ══════════════════════════ */
@media(max-width:768px) {
    .top-navbar {
        padding: 0 20px;
        height: 72px;
    }

    .nav-logo img {
        height: 52px;
    }
}

@media(max-width:520px) {
    .top-navbar {
        padding: 0 14px;
        height: 64px;
    }

    .nav-logo img {
        height: 44px;
    }

    .nav-home {
        padding: 6px 12px 6px 10px;
        font-size: 12px;
    }

        .nav-home .nav-txt {
            display: none;
        }

    .theme-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    #google_translate_element .goog-te-gadget-simple {
        padding: 5px 8px !important;
    }

    .page-wrapper {
        padding: 0 12px 32px;
    }

    .login-card {
        border-radius: 18px;
    }

    .card-head {
        padding: 20px 18px 16px;
    }

        .card-head h2 {
            font-size: 19px;
        }

    .card-logo {
        max-height: 52px;
    }

    .card-body {
        padding: 18px 18px 20px;
    }

    .card-foot {
        padding: 12px 18px 18px;
    }

    .card-divider {
        margin: 0 18px;
    }

    .fg {
        margin-bottom: 14px;
    }

    input.form_i,
    input.regi_in,
    input.form-control {
        height: 46px;
        font-size: 13px;
    }

    .iw {
        border-radius: 10px;
    }

    .btn-login {
        height: 48px;
        font-size: 13px;
        letter-spacing: 1.5px;
        border-radius: 11px;
    }
}

@media(max-width:360px) {
    .top-navbar {
        padding: 0 10px;
    }

    .card-head {
        padding: 16px 14px 12px;
    }

    .card-body {
        padding: 14px 14px 16px;
    }
}

/* ════════════════════════════════════
       PHONE ROW — country + phone
    ════════════════════════════════════ */
.phone-row {
    display: flex;
    gap: 10px;
    position: relative;
}

/* ── Custom Country Dropdown ── */
.country-wrap {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    z-index: 4000;
    /* HIGH z-index — above card, below navbar */
}

.country-display {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 50px;
    padding: 0 10px 0 12px;
    background: var(--inp-bg);
    border: 1.5px solid var(--inp-bdr);
    border-radius: 12px;
    cursor: pointer;
    font-family: system-ui;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--inp-shadow);
    transition: all .25s;
    user-select: none;
}

    .country-display:hover,
    .country-wrap.open .country-display {
        border-color: var(--inp-focus);
        background: var(--inp-focusbg);
        box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12);
    }

    .country-display .c-flag {
        width: 24px;
        height: 17px;
        object-fit: cover;
        border-radius: 3px;
        flex-shrink: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    .country-display .c-code {
        font-family: system-ui;
        font-size: 13px;
        font-weight: 700;
        color: var(--text);
        flex: 1;
    }

    .country-display .c-arr {
        width: 13px;
        height: 13px;
        stroke: var(--muted);
        fill: none;
        stroke-width: 2.5;
        transition: transform .25s;
        flex-shrink: 0;
    }

.country-wrap.open .c-arr {
    transform: rotate(180deg);
}

/* Dropdown list — positioned ABOVE form content */
.country-list {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    max-height: 260px;
    overflow-y: auto;
    background: var(--dd-bg);
    border: 1.5px solid var(--inp-focus);
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 210, 255, 0.1);
    z-index: 9999;
    /* HIGHEST — above everything except navbar */
    display: none;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.country-wrap.open .country-list {
    display: block;
    animation: ddIn .2s ease;
}

@keyframes ddIn {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.country-list::-webkit-scrollbar {
    width: 4px;
}

.country-list::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

.c-search-wrap {
    padding: 10px 10px 8px;
    position: sticky;
    top: 0;
    background: var(--dd-bg);
    border-bottom: 1px solid var(--divider);
    z-index: 1;
}

.c-search {
    width: 100%;
    height: 34px;
    padding: 0 12px;
    font-family: system-ui;
    font-size: 13px;
    color: var(--text) !important;
    background: var(--inp-bg) !important;
    border: 1px solid var(--inp-bdr) !important;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s;
}

    .c-search:focus {
        border-color: var(--inp-focus) !important;
    }

::placeholder {
    color: rgba(122, 139, 168, .4) !important;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    cursor: pointer;
    font-family: system-ui;
    font-size: 13px;
    color: var(--text);
    transition: background .15s;
}

    .country-item:hover {
        background: var(--dd-hover);
    }

    .country-item.sel {
        background: rgba(0, 210, 255, .12);
    }

    .country-item img {
        width: 24px;
        height: 17px;
        object-fit: cover;
        border-radius: 3px;
        flex-shrink: 0;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    }

    .country-item .ci-name {
        flex: 1;
    }

    .country-item .ci-dial {
        font-size: 12px;
        color: var(--muted);
    }

/* Phone input */
.phone-iw {
    flex: 1;
    position: relative;
    border-radius: 12px;
    background: var(--inp-bg);
    border: 1.5px solid var(--inp-bdr);
    box-shadow: var(--inp-shadow);
    transition: border-color .25s, box-shadow .25s, background .25s;
    display: flex;
    align-items: center;
}

    .phone-iw:focus-within {
        border-color: var(--inp-focus) !important;
        background: var(--inp-focusbg) !important;
        box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.12) !important;
    }

    .phone-iw .ico {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        fill: none;
        stroke: var(--icon-clr);
        stroke-width: 2;
        pointer-events: none;
    }

    .phone-iw:focus-within .ico {
        stroke: var(--accent);
    }

    .phone-iw .ico-sep {
        position: absolute;
        left: 42px;
        top: 20%;
        height: 60%;
        width: 1px;
        background: var(--inp-bdr);
        pointer-events: none;
    }

    .phone-iw input {
        display: block;
        width: 100%;
        height: 50px;
        padding: 0 16px 0 54px;
        font-family: system-ui;
        font-size: 14px;
        font-weight: 500;
        color: var(--text) !important;
        background: transparent !important;
        border: none !important;
        border-radius: 12px;
        outline: none;
        box-shadow: none !important;
    }

.country-code-hidden {
    display: none;
}

/* ════════════════════════════════════
       SUBMIT BUTTON
    ════════════════════════════════════ */
.btn-reg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    margin-top: 20px;
    font-family: system-ui;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent2) 0%, #0099ee 50%, var(--accent) 100%) !important;
    border: none !important;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    box-shadow: var(--btn-shadow);
    opacity: 0;
    animation: fadeUp .5s .5s ease forwards;
}

    .btn-reg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, .16) 0%, transparent 55%);
        opacity: 0;
        transition: opacity .3s;
    }

    .btn-reg:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 38px rgba(0, 210, 255, .55), 0 0 60px rgba(0, 86, 255, .2);
    }

        .btn-reg:hover::before {
            opacity: 1;
        }

    .btn-reg:active {
        transform: translateY(0);
    }

.btn-arr {
    display: inline-block;
    transition: transform .3s;
}

.btn-reg:hover .btn-arr {
    transform: translateX(5px);
}

a.signin-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s;
}

    a.signin-link:hover {
        color: #fff;
        text-shadow: 0 0 10px rgba(0, 210, 255, .7);
    }

.d-none {
    display: none !important;
}

/* Lock icon illustration */
.lock-icon {
    width: 56px;
    height: 56px;
    background: var(--pill-bg);
    border: 1px solid var(--pill-bdr);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.12);
}

    .lock-icon svg {
        width: 26px;
        height: 26px;
        stroke: var(--accent);
        fill: none;
        stroke-width: 2;
    }


/* ── Submit button ── */
.btn-fp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    margin-top: 6px;
    font-family: system-ui;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent2) 0%, #0099ee 50%, var(--accent) 100%) !important;
    border: none !important;
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    box-shadow: var(--btn-shadow);
    opacity: 0;
    animation: fadeUp .5s .28s ease forwards;
}

    .btn-fp::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, .15) 0%, transparent 55%);
        opacity: 0;
        transition: opacity .3s;
    }

    .btn-fp:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 38px rgba(0, 210, 255, .55), 0 0 60px rgba(0, 86, 255, .2);
    }

        .btn-fp:hover::before {
            opacity: 1;
        }

    .btn-fp:active {
        transform: translateY(0);
    }

/* ── Divider ── */
.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--divider), transparent);
    margin: 0 30px;
}

/* ===========================
   BSC Network Status
=========================== */
.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

    .status-dot::before {
        content: "";
        width: 10px;
        height: 10px;
        background: #22c55e;
        border-radius: 50%;
        animation: pulse 1.8s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .8);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* ===========================
   Security Info Box
=========================== */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #1b1f2b, #232838);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 4px solid #00bcf8;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);
    transition: .35s ease;
}

    .info-box:hover {
        transform: translateY(-4px);
        border-color: rgba(243,186,47,.35);
        box-shadow: 0 15px 35px rgba(243,186,47,.12), 0 0 20px rgba(243,186,47,.08);
    }

    .info-box i {
        width: 46px;
        height: 46px;
        min-width: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(243,186,47,.12);
        color: #f3ba2f;
        font-size: 20px;
        border-radius: 12px;
    }

    .info-box p {
        margin: 0;
        color: #cbd5e1;
        font-size: 14px;
        line-height: 1.8;
    }

.text-center{
    text-align:center !important;
}
/* Mobile */
@media (max-width:576px) {
    .status-dot {
        font-size: 13px;
        padding: 8px 15px;
    }

    .info-box {
        padding: 15px;
        gap: 12px;
    }

        .info-box i {
            width: 40px;
            height: 40px;
            min-width: 40px;
            font-size: 18px;
        }

        .info-box p {
            font-size: 13px;
        }
}