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

:root {
    --bg: #09090b;
    --card: rgba(24, 24, 27, .82);
    --border: rgba(255,255,255,.10);
    --text: #ffffff;
    --muted: #a1a1aa;
    --input: #18181b;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(255, 0, 80, .20),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 90%,
            rgba(90, 50, 255, .20),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

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

    padding: 25px;
}

.auth-wrapper {
    width: 100%;
    max-width: 460px;
}

.logo {
    text-align: center;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.logo span {
    background: linear-gradient(
        90deg,
        #ff0050,
        #ff2d55,
        #7c3aed
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-card {
    background: var(--card);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid var(--border);

    border-radius: 28px;

    padding: 32px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);
}

.auth-card h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.subtitle {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 28px;
}

.field {
    margin-bottom: 17px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.input {
    width: 100%;
    height: 52px;

    background: var(--input);

    border: 1px solid var(--border);

    border-radius: 14px;

    color: white;

    padding: 0 16px;

    font-size: 15px;

    outline: none;

    transition: .2s;
}

.input:focus {
    border-color: rgba(255, 0, 80, .7);

    box-shadow:
        0 0 0 4px rgba(255,0,80,.10);
}

.password-wrap {
    position: relative;
}

.password-wrap .input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;

    right: 15px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;
    background: none;

    color: #a1a1aa;

    cursor: pointer;
}

.submit-btn {
    width: 100%;
    height: 54px;

    margin-top: 8px;

    border: 0;
    border-radius: 15px;

    background:
        linear-gradient(
            90deg,
            #ff0050,
            #ff2d55,
            #7c3aed
        );

    color: white;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 12px 30px rgba(255,0,80,.25);
}

.error {
    background: rgba(239,68,68,.12);

    border: 1px solid rgba(239,68,68,.25);

    color: #fca5a5;

    padding: 13px;

    border-radius: 12px;

    font-size: 14px;

    margin-bottom: 18px;
}

.info {
    text-align: center;

    color: var(--muted);

    font-size: 13px;

    margin-top: 22px;
}

@media(max-width:500px) {

    body {
        padding: 15px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 23px;
    }

    .logo {
        font-size: 34px;
    }
}