*{box-sizing:border-box;margin:0;padding:0}

body {
    overflow-x: hidden;
    font-family: 'Helvetica', sans-serif;
}

body > .main {
    margin: 0;
    padding: 0;
    max-width: none;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 60px;
}

.login-left {
    background: #1a4a1a;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 60px);
}

.login-left-bg {
    position: absolute;
    inset: 0;
    opacity: .06;
}

.login-left-bg svg {
    width: 100%;
    height: 100%;
}

.login-left-content {
    position: relative;
    z-index: 1;
}

.login-left-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 56px;
}

.login-left-logo-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-left-logo-text {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.login-left-title {
    font-size: 26px;
    font-weight: 500;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 14px;
}

.login-left-sub {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    margin-bottom: 40px;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.login-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6db86d;
    flex-shrink: 0;
}

.login-feature-text {
    font-size: 13px;
    color: rgba(255,255,255,.75);
}

.login-left-footer {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: rgba(255,255,255,.3);
}

.login-right {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.login-card {
    width: 100%;
    max-width: 380px;
}

.login-eyebrow {
    font-size: 11px;
    font-weight: 500;
    color: #1a6b2a;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.login-title {
    font-size: 24px;
    font-weight: 500;
    color: #1a2a1a;
    margin-bottom: 6px;
    text-align: left;
}

.login-subtitle {
    font-size: 13px;
    color: #7a8c7a;
    margin-bottom: 32px;
    line-height: 1.6;
    text-align: left;
}

.login-card .login-lock-notice {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    font-size: 13px;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #3a4a3a;
    margin-bottom: 6px;
    letter-spacing: .02em;
}

.login-field-wrap {
    position: relative;
}

.login-field-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #9aaa9a;
    pointer-events: none;
}

.input-field {
    width: 100%;
    padding: 10px 12px 10px 36px !important;
    border: 1px solid #dde8dd !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #1a2a1a !important;
    background: #fafcfa !important;
    outline: none !important;
    transition: border-color .15s, box-shadow .15s !important;
    box-shadow: none !important;
}

.input-field:focus {
    border-color: #1a6b2a !important;
    box-shadow: 0 0 0 3px rgba(26,107,42,.08) !important;
    background: #fff !important;
}

.extra-links {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
    margin-top: -8px;
}

.link {
    font-size: 14px;
    color: #1a6b2a;
    text-decoration: none;
}

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

.form-actions {
    margin-bottom: 20px;
}

.form-actions .btn-login {
    width: 100%;
    padding: 11px !important;
    background: #1a6b2a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background .15s !important;
}

.form-actions .btn-login:hover {
    background: #145220 !important;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.login-divider-line {
    flex: 1;
    height: 1px;
    background: #eef2ee;
}

.login-divider-text {
    font-size: 11px;
    color: #b0bcb0;
}

.login-back {
    text-align: center;
}

.login-back a {
    font-size: 12px;
    color: #7a8c7a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.login-back a:hover {
    color: #1a6b2a;
}

.live-validation-message {
    display: none;
    margin-top: 4px;
    color: #b42318;
    font-size: 12px;
    line-height: 1.4;
}

input.is-invalid,
input.is-invalid:focus {
    border-color: #b42318 !important;
    box-shadow: 0 0 0 1px rgba(180,35,24,.15) !important;
}

.password-requirements {
    margin: 6px 0 10px;
    padding-left: 18px;
    font-size: 12px;
}

.password-requirements li {
    color: #b42318;
    margin-bottom: 3px;
}

.password-requirements li.is-met {
    color: #1b8f3a;
}

@media (max-width: 768px) {
    .login-page {
        grid-template-columns: 1fr;
    }
    .login-left {
        min-height: auto;
        padding: 32px 24px;
    }
    .login-left-logo {
        margin-bottom: 24px;
    }
    .login-features {
        display: none;
    }
    .login-right {
        padding: 32px 24px;
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .login-right {
        padding: 24px 16px;
    }
}


/* Forgot Password */
.fp-body { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); padding: 48px 16px; background: #f4f6f4; }
.fp-card { background: #fff; border-radius: 16px; border: 1px solid #e8ede8; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.fp-icon-wrap { width: 52px; height: 52px; background: #eaf3de; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.fp-title { font-size: 22px; font-weight: 500; color: #1a2a1a; text-align: center; margin-bottom: 8px; }
.fp-sub { font-size: 13px; color: #7a8c7a; text-align: center; line-height: 1.6; margin-bottom: 28px; }
.fp-label { display: block; font-size: 12px; font-weight: 500; color: #3a4a3a; margin-bottom: 6px; letter-spacing: .02em; }
.fp-field { position: relative; margin-bottom: 16px; }
.fp-field-icon { position: absolute; left: 12px; top: 12px; width: 16px; height: 16px; color: #9aaa9a; pointer-events: none; }
.fp-input { width: 100%; padding: 10px 12px 10px 36px !important; border: 1px solid #dde8dd !important; border-radius: 8px !important; font-size: 14px !important; color: #1a2a1a !important; background: #fafcfa !important; outline: none !important; transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out !important; }
.fp-input:focus { border-color: #1a6b2a !important; box-shadow: 0 0 0 3px rgba(26,107,42,.08) !important; background: #fff !important; }
.fp-btn-primary { width: 100%; padding: 11px; background: #1a6b2a; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s ease-in-out; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.fp-btn-primary:hover { background: #145220; }
.fp-btn-secondary { width: 100%; padding: 10px; background: transparent; color: #1a6b2a; border: 1px solid #c8dcc8; border-radius: 8px; font-size: 14px; cursor: pointer; transition: background .2s ease-in-out; text-align: center; text-decoration: none; display: block; }
.fp-btn-secondary:hover { background: #f0f7f0; }
.fp-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
