/* login.css — 4-H CoreDesk
 * Stili specifici pagina di login
 */


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background: linear-gradient(135deg, #e6f4ec 0%, #d7efe2 100%);
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-family: 'DM Sans', -apple-system, sans-serif;
    padding: 20px;
}
.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 40px rgba(0,0,0,.10);
}
.login-logo {
    text-align: center;
    margin-bottom: 32px;
}
.login-logo img {
    height: 72px;
    width: auto;
    margin-bottom: 16px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.login-logo h1 {
    font-size: 20px;
    font-weight: 800;
    color: #0f5132;
    letter-spacing: -.02em;
    margin-bottom: 4px;
}
.login-logo p {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: #374151; margin-bottom: 5px;
}
.form-group input {
    width: 100%; padding: 10px 12px;
    border: 1.5px solid #d1d5db; border-radius: 8px;
    font-size: 14px; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus {
    outline: none; border-color: #1a7a4a;
    box-shadow: 0 0 0 3px rgba(26,122,74,.10);
}
.btn-login {
    width: 100%; padding: 11px;
    background: #1a7a4a; color: #fff; border: none;
    border-radius: 8px; font-size: 15px; font-weight: 700;
    font-family: inherit; cursor: pointer; transition: background .15s;
    margin-top: 4px;
}
.btn-login:hover { background: #0f5132; }
.alert-error {
    background: #fee2e2; border: 1px solid #fca5a5; color: #7f1d1d;
    padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 13.5px;
}
.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    line-height: 1.6;
}
.login-footer strong { color: #6b7280; font-weight: 600; }
