body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #4f8cff, #6fd3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.auth-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.auth-container h1 {
    margin-bottom: 25px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #4f8cff;
}

button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #4f8cff;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #3c73d6;
}

.forgot-link {
    font-size: 13px;
    color: #4f7cff;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.switch {
    margin-top: 20px;
    font-size: 14px;
}

.switch a {
    color: #4f8cff;
    text-decoration: none;
}

.error {
    margin-top: 15px;
    color: red;
    font-size: 13px;
}

/* =======================
   MOBILE LOGIN / REGISTER
======================= */
@media (max-width: 600px) {

    body {
        padding: 20px;
        height: auto;
        min-height: 100vh;
        box-sizing: border-box;
    }

    .auth-container {
        width: 100%;
        max-width: 380px;
        padding: 28px 22px;
        border-radius: 10px;
    }

    .auth-container h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    form {
        gap: 12px;
    }

    input {
        padding: 11px;
        font-size: 14px;
    }

    button {
        padding: 11px;
        font-size: 14px;
    }

    .switch {
        font-size: 13px;
        margin-top: 16px;
    }

    .error {
        font-size: 12px;
    }

}