.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.login-container {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 8px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    text-align: center;
    max-width: 300px;
    width: 90%;
    /* border: 1px solid #e0e0e0; */
}

/* .login-title {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 500;
} */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 0.9rem;
    outline: none;
    font-weight: bold;
    transition: border-color 0.2s ease;
    background: #FFFFFF;
}

.login-input:focus {
    border-color: #000000;
}

.login-button {
    padding: 0.8rem 1.5rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #000000;
}

.login-error {
    color: #D32F2F;
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 0.5rem;
    display: none;
}

/* CSS per il logo nel login */
.login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;  /* ← Aumenta per più spazio sotto */
    margin-top: -6rem;      /* ← Aggiungi margine negativo per spostarlo in alto */
}

/* Responsive design */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .login-title {
        font-size: 1.1rem;
    }
}