/* ===== RESET ===== */
:root {
    --bg: #80008038;
    --card: linear-gradient(180deg, var(--accent), var(--accent-2) 120%);
    --muted: #93a3b8;
    --accent: purple;
    --accent-2: #071022;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-2: rgba(255, 255, 255, 0.02);
    --radius: 14px;
    --gap: 18px;
    --max-width: 1200px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

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

body {
    font-family: "Poppins", sans-serif;
    background: linear-gradient(180deg, var(--accent), var(--accent-2) 120%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
   /*  visibility: hidden; */
}

/* ===== CARD ===== */
.auth-card {
    /* background: rgba(255, 255, 255, 0.05); */
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
    /* box-shadow: 0 0 25px rgba(0, 0, 0, 0.3); */
    transition: 0.3s;
}

.auth-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.auth-header p {
    color: #aaa;
    font-size: 0.9rem;
}

/* ===== FORM ===== */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    transition: 0.2s;
}

.input-group:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: #00bcd4;
}

.input-group i {
    margin-right: 10px;
    color: #ccc;
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
}

.btn-l {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-l:hover {
    background: #00a6bd;
}

.toggle-text {
    text-align: center;
    margin-top: 1rem;
    color: #aaa;
    font-size: 0.9rem;
}

.toggle-text span {
    color: #00bcd4;
    cursor: pointer;
}

#message {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }
}