/* ====== CARD AUTENTICAZIONE ====== */
.auth-card {
    background: #16171b;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 18px rgba(76,134,229,0.18);
    border-radius: 16px;
    color: #ffffff;
    padding:2.5rem;

}
.auth-card.register-card {
    max-width: 800px;
    width: 100%;
}   

.auth-card.login-card {
    max-width: 420px;
    width: 100%;
}

/* ====== INPUT FIELDS ====== */
.auth-card input {
    background: #101114 !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

.auth-card input:focus {
    border-color: #4c86e5;
    box-shadow: 0 0 0 0.15rem rgba(76,134,229,0.35);
    background: #0d0e11;
    color: #fff;
}

/* ====== TITOLI ====== */
.auth-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ====== LINK ====== */
.auth-link {
    color: #4c86e5;
    font-weight: 600;
    text-decoration: none;
    transition: 0.15s;
}
.auth-link:hover {
    text-decoration: underline;
}

/* ====== BOTTONI ====== */
.btn-auth {
    background: grey;
    border: none;
    font-weight: 600;
    color: #fff;
    transition: 0.2s;
    width: 100%;
    padding: 0.65rem;
}
.btn-auth:hover {
    background: #3a6ac0;
}

/* ====== ERRORI ====== */
.auth-error {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 3px;
}
@media (max-width: 768px) {
    .auth-card {
        padding: 1.5rem;
        margin: 0 1rem;   /* ← QUESTA è la chiave */
    }

    .auth-card.register-card {
        max-width: 400px !important;
    }
}



body {
    background-image: url("/static/images/gym.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: scroll !important;
    font-family: 'Montserrat', sans-serif;
}



