/* =========================================
   VIBECHECK LOGIN PAGE
   ========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(80, 0, 120, 0.08),
            transparent 45%
        ),
        #020207;

    color: white;

    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   PAGE
   ========================================= */

.auth-page {
    width: 100%;
    min-height: 100vh;

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

    padding: 20px;
}


/* =========================================
   LOGIN CARD
   ========================================= */

.auth-card {
    position: relative;

    width: 100%;
    max-width: 390px;

    min-height: 430px;

    padding: 38px 28px 25px;

    background:
        linear-gradient(
            145deg,
            rgba(7, 7, 15, 0.98),
            rgba(2, 2, 8, 0.99)
        );

    border: 1px solid #3025ff;

    border-radius: 9px;

    box-shadow:
        0 0 6px rgba(0, 100, 255, 0.8),
        0 0 15px rgba(130, 0, 255, 0.35),
        inset 0 0 20px rgba(60, 0, 120, 0.08);

    overflow: visible;
}


/* =========================================
   TOP NEON LINE
   ========================================= */

.auth-card::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 35px;
    right: 35px;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #ff00dd,
        #8b00ff,
        #00aaff,
        transparent
    );

    box-shadow:
        0 0 8px #ff00dd,
        0 0 12px #00aaff;
}


/* =========================================
   HEADER
   ========================================= */

.auth-header {
    text-align: center;

    margin-bottom: 27px;
}


/* Lock */

.lock-icon {
    width: 35px;
    height: 35px;

    margin: -56px auto 7px;

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

    border: 1px solid #c000ff;

    border-radius: 50%;

    background: #070711;

    font-size: 14px;

    box-shadow:
        0 0 7px rgba(210, 0, 255, 0.9),
        0 0 14px rgba(120, 0, 255, 0.35);

    position: relative;

    z-index: 2;
}


/* Heading */

.auth-header h1 {
    margin: 0;

    font-size: 25px;

    font-weight: 900;

    letter-spacing: 0.4px;

    color: #ffffff;

    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.25);
}


/* Subtitle */

.auth-header p {
    margin: 5px 0 5px;

    font-size: 9px;

    color: #aaaabe;
}


/* Neon line */

.neon-line {
    width: 58px;
    height: 1px;

    margin: 5px auto 0;

    background: linear-gradient(
        90deg,
        #ff00cc,
        #7b00ff,
        #00c8ff
    );

    box-shadow:
        0 0 6px #ff00cc,
        0 0 6px #00c8ff;
}


/* =========================================
   INPUTS
   ========================================= */

.input-group {
    position: relative;

    width: 100%;

    margin-bottom: 11px;
}


.input-group input {
    width: 100%;

    height: 36px;

    padding: 0 38px 0 35px;

    border-radius: 6px;

    border: 1px solid rgba(100, 70, 150, 0.55);

    background: rgba(0, 0, 7, 0.9);

    color: white;

    outline: none;

    font-size: 10px;

    transition: 0.2s;
}


.input-group input::placeholder {
    color: #77778a;
}


.input-group input:focus {
    border-color: #00aaff;

    box-shadow:
        0 0 7px rgba(0, 170, 255, 0.3);
}


/* Input icon */

.input-icon {
    position: absolute;

    left: 12px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 10px;

    color: #c000ff;

    pointer-events: none;
}


/* Password eye */

.password-toggle {
    position: absolute;

    right: 8px;
    top: 50%;

    transform: translateY(-50%);

    width: 22px;
    height: 22px;

    padding: 0;

    border: none;

    background: transparent;

    color: #66667a;

    cursor: pointer;

    font-size: 10px;
}


.password-toggle:hover {
    color: #00c8ff;
}


/* =========================================
   FORGOT PASSWORD
   ========================================= */

.forgot-button {
    display: block;

    margin: 0 0 12px auto;

    padding: 0;

    border: none;

    background: transparent;

    color: #00aaff;

    font-size: 8px;

    cursor: pointer;
}


.forgot-button:hover {
    color: #00ddff;

    text-decoration: underline;
}


/* =========================================
   LOGIN BUTTON
   ========================================= */

.login-button {
    width: 100%;

    height: 36px;

    border: none;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            #ff00cc,
            #c000ff,
            #144dff
        );

    color: white;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.3px;

    cursor: pointer;

    box-shadow:
        0 0 8px rgba(255, 0, 210, 0.28);

    transition: 0.2s;
}


.login-button:hover {
    box-shadow:
        0 0 14px rgba(255, 0, 210, 0.45),
        0 0 14px rgba(0, 80, 255, 0.3);

    transform: translateY(-1px);
}


.login-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================
   OR
   ========================================= */

.or-divider {
    display: flex;

    align-items: center;

    gap: 10px;

    margin: 18px 0 14px;

    color: #77778a;

    font-size: 8px;
}


.or-divider::before,
.or-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #292938;
}


/* =========================================
   CREATE ACCOUNT
   ========================================= */

.create-account-button {
    width: 100%;

    height: 35px;

    border-radius: 5px;

    border: 1px solid #b000ff;

    background: transparent;

    color: #d000ff;

    font-size: 9px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s;
}


.create-account-button:hover {
    background: rgba(170, 0, 255, 0.08);

    box-shadow:
        0 0 9px rgba(180, 0, 255, 0.3);
}


/* =========================================
   MESSAGE
   ========================================= */

.auth-message {
    min-height: 18px;

    margin: 10px 0 0;

    text-align: center;

    font-size: 8px;

    color: #888899;
}


.auth-message.error {
    color: #ff4d7d;
}


.auth-message.success {
    color: #00e5a0;
}


/* =========================================
   BACK TO VIBECHECK
   ========================================= */

.back-link {
    display: block;

    margin-top: 13px;

    text-align: center;

    color: #77778a;

    text-decoration: none;

    font-size: 8px;
}


.back-link:hover {
    color: #ffffff;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 500px) {

    .auth-page {
        padding: 15px;
    }

    .auth-card {
        max-width: 390px;

        min-height: 420px;

        padding-left: 22px;
        padding-right: 22px;
    }
}