body {
    /* background: #f5f7fa; */
    background-image: url("./images/mountain.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: 'Rubik', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.4); /* semi-transparent black */
    z-index: -1;
}

.auth-container {
    background: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 350px;
    text-align: center;
}
h1 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #3a3a3a;
}
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.tabs button {
    flex: 1;
    padding: 0.7rem 0;
    border: none;
    background: #e7eaf0;
    color: #555;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.7rem 0.7rem 0 0;
    transition: background 0.2s;
}
.tabs button.active {
    background: #6dcff6;
    color: #fff;
    font-weight: 600;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.auth-form input {
    padding: 0.7rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}
.auth-form input:focus {
    border-color: #6dcff6;
}
.auth-form button {
    padding: 0.7rem;
    border-radius: 0.5rem;
    border: none;
    background: #e77fa0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.auth-form button:hover {
    background: #6dcff6;
    transform: scale(1.03);
    transition: background 0.2s, transform 0.2s;
}

.form-message {
    min-height: 1.2em;
    font-size: 0.95em;
    color: #e77fa0;
    margin-top: 0.2em;
}
@media (max-width: 480px) {
    .auth-container {
        padding: 2rem 1rem;
        max-width: 90%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .tabs button {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .auth-form input,
    .auth-form button {
        font-size: 1rem;
        padding: 0.6rem;
    }
}

