/* ── Pagina login — tema verde ── */
body.login-page {
    font-family: 'Barlow', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: #0d1f0d;
}

/* Sfondo orb animati */
.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: #2A8A2A;
    top: -100px;
    right: -100px;
    --orb-drift-x: -20px;
    --orb-drift-y: 20px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #1A8A6A;
    bottom: -80px;
    left: -60px;
    animation-delay: -3s;
    --orb-drift-x: 15px;
    --orb-drift-y: -15px;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: #6A8A2A;
    top: 50%;
    left: 20%;
    animation-delay: -5s;
    --orb-drift-x: 10px;
    --orb-drift-y: 10px;
}

/* Container card */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

/* Card login */
.login-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,.97);
    box-shadow: 0 32px 80px rgba(0,0,0,.5);
}

.login-card-header {
    background: linear-gradient(135deg, #1E6B1E, #2A8A2A);
    padding: 32px 36px 24px;
    text-align: center;
}

.login-logo {
    height: 38px;
    margin-bottom: 16px;
}

.login-brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #fff;
    letter-spacing: 2px;
    display: block;
}

.login-brand-tagline {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    letter-spacing: 1px;
    display: block;
    margin-top: 4px;
}

/* Corpo card */
.login-card-body {
    padding: 28px 32px;
}

.login-card-body h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

/* Campi input login */
.login-field {
    margin-bottom: 16px;
}

.login-field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .7px;
    margin-bottom: 5px;
}

.login-field input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 2px solid var(--border);
    border-radius: 11px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: var(--text);
    background: var(--surface);
    outline: none;
    transition: all .2s;
}

.login-field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(30,107,30,.1);
}

/* Checkbox ricordami */
.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.login-remember label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
}

/* Bottone submit login */
.btn-login {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .25s;
    color: #fff;
    background: linear-gradient(135deg, #2A8A2A, #1E6B1E);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30,107,30,.35);
}

.btn-login:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Footer card */
.login-card-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: var(--surface2);
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}
