/* === LOGIN PAGE === */
.login-page {
    height: 85vh;  /* Altezza minima meno header/footer */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Sfondo decorativo */
.login-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.mountains-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
}

/* Container principale */
.login-container {
    position: relative;
    z-index: 1;
    max-width: 440px;
    width: 100%;
    background: white;
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icona decorativa */
.login-icon {
    width: 80px;
    height: 80px;
    font-size: 3rem;
    margin: 0 auto 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Titolo */
.login-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 40px;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group label svg {
    color: #FF6B35;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input::placeholder {
    color: #adb5bd;
}

.form-group input:focus {
    outline: none;
    border-color: #FF6B35;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Pulsante */
.btn-login {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c61 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login svg {
    transition: transform 0.3s ease;
}

.btn-login:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .login-page {
        min-height: calc(100vh - 100px);
        padding: 40px 20px;
    }

    .login-container {
        padding: 40px 30px;
    }

    .login-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }

    .login-title {
        font-size: 1.6rem;
    }

    .mountains-bg {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 35px 25px;
    }

    .login-icon {
        width: 60px;
        height: 60px;
    }

    .form-group input {
        padding: 12px 14px;
    }
}
