* {
        box-sizing: border-box;
        margin: 0;
        padding: 0
    }

    body {
        font-family: 'Segoe UI',sans-serif;
        background: linear-gradient(135deg,#050D1A,#0A1628);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: linear-gradient(rgba(0,191,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,191,255,.04) 1px, transparent 1px);
            background-size: 40px 40px;
            pointer-events: none;
            z-index: 0;
        }

    .card {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 440px;
        background: rgba(10,22,40,0.95);
        border: 1px solid rgba(0,191,255,0.15);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 0 60px rgba(0,102,255,.15);
    }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg,#0066FF,#00BFFF,#0066FF);
            background-size: 200% auto;
            animation: shimmer 3s linear infinite;
        }

    @@keyframes shimmer {
        to {
            background-position: 200% center
        }
    }

    .card-header {
        position: relative;
        padding: 36px 40px 28px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .home-link {
        position: absolute;
        top: 12px;
        left: 14px;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 4px;
        color: #8B9BB4;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

        .logo span {
            color: #00BFFF
        }

    .card-header h1 {
        font-size: 26px;
        font-weight: 700;
        letter-spacing: -0.5px;
        background: linear-gradient(90deg,#E8EDF5,#00BFFF);
        -webkit-background-clip: text;
        color: transparent;
    }

    .card-header p {
        color: #8B9BB4;
        font-size: 13px;
        margin-top: 6px
    }

    .card-body {
        padding: 36px 40px
    }

    .field {
        margin-bottom: 22px
    }

        .field label {
            display: block;
            font-size: 11px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: #8B9BB4;
            margin-bottom: 8px;
        }

    .input-wrap {
        position: relative
    }

        .input-wrap input {
            width: 100%;
            padding: 12px 16px;
            background: #06111F;
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 8px;
            color: #E8EDF5;
            font-size: 14px;
            outline: none;
            transition: border-color .2s,box-shadow .2s;
        }

            .input-wrap input:focus {
                border-color: rgba(0,191,255,.5);
                box-shadow: 0 0 0 3px rgba(0,191,255,.08);
            }

            .input-wrap input::placeholder {
                color: #374151
            }

    .eye-btn {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #8B9BB4;
        cursor: pointer;
        font-size: 16px;
        padding: 0;
        line-height: 1;
    }

        .eye-btn:hover {
            color: #E8EDF5
        }

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

    .remember {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer
    }

        .remember input[type=checkbox] {
            width: 16px;
            height: 16px;
            accent-color: #00BFFF;
            cursor: pointer;
        }

        .remember span {
            font-size: 13px;
            color: #8B9BB4
        }

    .forgot {
        font-size: 13px;
        color: #00BFFF;
        text-decoration: none;
        transition: color .2s
    }

        .forgot:hover {
            color: #7DF9FF
        }

    .btn-login {
        width: 100%;
        padding: 14px;
        background: linear-gradient(135deg,#0066FF,#00BFFF);
        border: none;
        border-radius: 8px;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        letter-spacing: .5px;
        transition: opacity .2s,transform .1s;
        position: relative;
        overflow: hidden;
    }

        .btn-login::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(255,255,255,0);
            transition: background .2s;
        }

        .btn-login:hover {
            opacity: .92;
            transform: translateY(-1px)
        }

        .btn-login:active {
            transform: translateY(0)
        }

        .btn-login:disabled {
            opacity: .5;
            cursor: not-allowed;
            transform: none
        }

    .divider {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 24px 0;
        color: #374151;
        font-size: 12px;
    }

        .divider::before, .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(255,255,255,0.06);
        }

    .link-row {
        text-align: center;
        font-size: 13px;
        color: #8B9BB4
    }

        .link-row a {
            color: #00BFFF;
            text-decoration: none;
            font-weight: 500
        }

            .link-row a:hover {
                color: #7DF9FF
            }

    .error-box {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        background: rgba(255,61,46,.08);
        border: 1px solid rgba(255,61,46,.25);
        border-left: 3px solid #FF3D2E;
        border-radius: 8px;
        padding: 12px 14px;
        margin-bottom: 22px;
    }

        .error-box .icon {
            font-size: 16px;
            flex-shrink: 0;
            margin-top: 1px
        }

        .error-box p {
            color: #FF8070;
            font-size: 13px;
            line-height: 1.5
        }

    @@keyframes spin {
        to {
            transform: rotate(360deg)
        }
    }

    .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255,255,255,.3);
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin .7s linear infinite;
        display: inline-block;
        vertical-align: middle;
        margin-right: 8px;
    }

    .home-btn {
        display: block;
        width: 100%;
        padding: 13px;
        margin-top: 10px;
        text-align: center;
        text-decoration: none;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
        color: #E8EDF5;
        font-size: 14px;
        font-weight: 600;
        transition: all .2s ease;
    }

        .home-btn:hover {
            background: rgba(255,255,255,.05);
            border-color: #00BFFF;
            color: #00BFFF;
        }

/* ── Login email verification ── */
.verify-box {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    background: rgba(0,191,255,.07);
    border: 1px solid rgba(0,191,255,.20);
    border-left: 3px solid #00BFFF;
    border-radius: 10px;
    padding: 14px 15px;
    margin-bottom: 22px;
}

.verify-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,191,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verify-box h2 {
    font-size: 14px;
    color: #E8EDF5;
    margin-bottom: 4px;
}

.verify-box p {
    font-size: 12.5px;
    color: #9FB3C8;
    line-height: 1.5;
}

.code-wrap input {
    text-align: center;
    letter-spacing: 8px;
    font-weight: 800;
    font-size: 22px !important;
    color: #00BFFF !important;
}

/* V65: clickable brand/logo home link */
a.nav-logo,
a.logo,
a.logo-text,
a.brand-home {
    text-decoration: none;
    cursor: pointer;
}
a.nav-logo:hover,
a.logo:hover,
a.logo-text:hover,
a.brand-home:hover {
    filter: drop-shadow(0 0 10px rgba(0,191,255,.35));
}

