/* ----- RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

/* ================== */
/* PAGE AUTH (LOGIN)  */
/* ================== */

body {
    background: radial-gradient(circle at 20% 20%, #0a0f1f, #02050a 80%);
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-root {
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-box {
    width: 330px;
    padding: 25px;
    border-radius: 14px;
    background: rgba(10, 14, 30, 0.85);
    box-shadow: 0 0 25px rgba(50, 70, 255, 0.25);
    backdrop-filter: blur(8px);
}

.auth-box h2 {
    color: white;
    margin-bottom: 5px;
}

.subtitle {
    color: #8892b0;
    font-size: 13px;
    margin-bottom: 20px;
}

.tab-container {
    display: flex;
    margin-bottom: 18px;
    gap: 6px;
}

.tab {
    flex: 1;
    padding: 8px;
    border: none;
    background: #0f1629;
    color: #b0b6c8;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
}

.tab.active {
    background: linear-gradient(135deg, #4b4ffe, #6a72ff);
    color: white;
}

.form {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.form.active {
    display: flex;
}

input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #e6e6e6;
    font-size: 14px;
}

.btn-primary {
    margin-top: 5px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #4b4ffe, #6a72ff);
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.btn-primary:hover {
    filter: brightness(1.15);
}
