/* ════════════════════════════════
   LOGIN PAGE
════════════════════════════════ */

.login-section {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: radial-gradient(circle at 20% 80%, #e7f1e4 0%, #ffffff 60%);
    position: relative;
    overflow: hidden;
}
.login-section::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(125,170,110,0.12) 0%, transparent 70%);
    top: -80px; right: -80px;
    pointer-events: none;
}

/* ─── Card ─── */
.login-card {
    background: #ffffff;
    border: 1px solid #D8E8D2;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(45,90,61,0.1);
    padding: 48px 44px;
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
}
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7DAA6E, #2D5A3D);
}

/* ─── Header ─── */
.login-header {
    text-align: center;
    margin-bottom: 28px;
}
.login-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}
.login-logo-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.login-logo {
    width: 250%;
    height: 250%;
    object-fit: contain;
    filter: contrast(1.2) saturate(1.3);
}
.login-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #4F7C59;
    line-height: 1;
}
.login-subtitle {
    font-size: 13px;
    color: #6B7F70;
    margin: 0;
}

/* ─── Form Labels ─── */
.login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #2D5A3D;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

/* ─── Input Group ─── */
.login-input-wrap {
    position: relative;
    margin-bottom: 18px;
}
.login-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7DAA6E;
    font-size: 14px;
    pointer-events: none;
}
.login-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1.5px solid #D8E8D2;
    border-radius: 12px;
    background: #F4FAF1;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #1C2B22;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.login-input:focus {
    border-color: #7DAA6E;
    box-shadow: 0 0 0 3px rgba(125,170,110,0.15);
    background: #ffffff;
}
.login-input::placeholder {
    color: #a0b5a5;
}

/* ─── Remember & Forgot ─── */
.login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.login-remember {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #6B7F70;
    cursor: pointer;
}
.login-remember input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: #4F7C59;
    cursor: pointer;
}
.login-forgot {
    font-size: 13px;
    font-weight: 600;
    color: #4F7C59;
    text-decoration: none;
    transition: color 0.2s;
}
.login-forgot:hover {
    color: #2D5A3D;
}

/* ─── Submit Button ─── */
.btn-login {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #4F7C59, #2D5A3D);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(45,90,61,0.25);
}
.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,90,61,0.35);
}
.btn-login:active {
    transform: scale(0.98);
}

/* ─── Divider ─── */
.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #D8E8D2;
}
.login-divider span {
    font-size: 12px;
    color: #a0b5a5;
    white-space: nowrap;
}

/* ─── Social Button ─── */
.btn-social {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid #D8E8D2;
    background: #ffffff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.btn-social:hover {
    border-color: #7DAA6E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ─── Register Link ─── */
.login-register {
    text-align: center;
    margin-top: 24px;
    font-size: 13px;
    color: #6B7F70;
}
.login-register a {
    font-weight: 700;
    color: #4F7C59;
    text-decoration: none;
    transition: color 0.2s;
}
.login-register a:hover {
    color: #2D5A3D;
}

/* ─── Alert ─── */
.alert {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: none;
}
.alert-danger {
    background: #fff0f0;
    color: #c0392b;
    border-left: 4px solid #e74c3c;
}
.alert-success {
    background: #f0faf3;
    color: #2d6a2f;
    border-left: 4px solid #4F7C59;
}
