/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    /* SFONDO BLU - niente più viola */
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow-x: hidden;
}

/* Placeholder per l'immagine di background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Card principale */
.login-card {
    max-width: 480px;
    width: 100%;
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Logo e titolo - TUTTO BLU */
.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo i {
    font-size: 3rem;
    /* Icona blu invece di viola */
    color: #3b82f6;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 800;
    /* H1 BLU - niente più gradiente viola */
    color: #1e3a8a;
    margin-top: 0.5rem;
    letter-spacing: -0.02em;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.subtitle {
    text-align: center;
    color: #718096;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* Form */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Opzioni */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.checkbox input {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.forgot-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

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

/* Pulsanti */
.button-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: #3b82f6;
    color: white;
}

.btn-login:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.btn-register {
    background: #10b981;
    color: white;
}

.btn-register:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
}

/* Tagline finale */
.tagline {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.tagline p {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tagline i {
    color: #10b981;
    margin-right: 0.25rem;
}

/* Responsive */
@media (max-width: 640px) {
    .login-card {
        padding: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}