/* NGOpedia NGO Login - scoped styles */
.ngo-login-page {
    --login-navy: #102b46;
    --login-blue: #164e78;
    --login-teal: #0f9b8e;
    --login-ink: #20374b;
    --login-muted: #718292;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72vh;
    padding: 34px clamp(14px, 4vw, 58px) 58px;
    background: #f4f8fb;
    box-sizing: border-box;
}
.ngo-login-page *, .ngo-login-page *::before, .ngo-login-page *::after { box-sizing: border-box; }
.ngo-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    width: 100%;
    max-width: 1050px;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid #e3ebf1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(16,43,70,.12);
}
.ngo-login-visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(30px, 5vw, 55px);
    background: linear-gradient(145deg, #102b46 0%, #164e78 57%, #137c85 100%);
}
.ngo-login-visual__content { position: relative; z-index: 2; max-width: 410px; }
.ngo-login-eyebrow, .ngo-login-kicker {
    display: block;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 2px;
}
.ngo-login-eyebrow { color: #9ce7dc; margin-bottom: 22px; }
.ngo-login-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 23px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 20px;
    background: rgba(255,255,255,.12);
    color: #b9f5e9;
    font-size: 29px;
    box-shadow: 0 12px 25px rgba(0,0,0,.1);
}
.ngo-login-visual h1 {
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.13;
    font-weight: 800;
    letter-spacing: -.5px;
}
.ngo-login-visual p {
    max-width: 390px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.85;
}
.ngo-login-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: #d8f6ef;
    font-size: 12px;
    line-height: 1.5;
}
.ngo-login-feature i { color: #8ce0d1; font-size: 17px; }
.ngo-login-visual__orb {
    position: absolute;
    z-index: 1;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    pointer-events: none;
}
.ngo-login-visual__orb--one { width: 330px; height: 330px; right: -145px; top: -110px; }
.ngo-login-visual__orb--two { width: 250px; height: 250px; right: -75px; bottom: -145px; background: rgba(255,255,255,.04); }

.ngo-login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 55px);
    min-width: 0;
}
.ngo-login-form-heading { margin-bottom: 29px; }
.ngo-login-kicker { color: #138d83; margin-bottom: 9px; }
.ngo-login-form-heading h2 { margin: 0 0 10px; color: var(--login-navy); font-size: 30px; line-height: 1.2; font-weight: 800; }
.ngo-login-form-heading p { margin: 0; color: var(--login-muted); font-size: 13px; line-height: 1.75; }
.ngo-login-label { display: block; margin: 0 0 8px; color: #294359; font-size: 12px; font-weight: 800; }
.ngo-login-label--password { margin-top: 20px; }
.ngo-login-input-wrap { position: relative; }
.ngo-login-input-wrap > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b91a2;
    font-size: 15px;
    pointer-events: none;
}
.ngo-login-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px 12px 43px;
    border: 1px solid #dce6ed;
    border-radius: 12px;
    outline: none;
    background: #f9fbfd;
    color: #20374b;
    font-family: inherit;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.ngo-login-input::placeholder { color: #9aa9b5; }
.ngo-login-input:focus { border-color: #42b9ad; background: #fff; box-shadow: 0 0 0 4px rgba(15,155,142,.11); }
.ngo-login-error { display: block; margin-top: 6px; color: #c83e4d; font-size: 11px; line-height: 1.45; }
.ngo-login-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.ngo-login-primary, .ngo-login-secondary, .ngo-login-home {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    padding: 11px 14px;
    border-radius: 11px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ngo-login-primary { border: 1px solid #0f9287; background: linear-gradient(135deg, #0f9b8e, #087d83); color: #fff; box-shadow: 0 7px 16px rgba(15,155,142,.18); }
.ngo-login-primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 10px 20px rgba(15,155,142,.25); }
.ngo-login-secondary { border: 1px solid #cbddeb; background: #f0f7fb; color: #164e78; }
.ngo-login-secondary:hover { background: #e5f1f8; transform: translateY(-1px); }
.ngo-login-bottom-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ngo-login-forgot { color: #0d8e83; font-size: 12px; font-weight: 700; text-decoration: none; }
.ngo-login-forgot:hover { color: #096e68; text-decoration: underline; }
.ngo-login-home { min-height: auto; padding: 8px 11px; border: 1px solid #e1eaf0; background: #fff; color: #6a7d8d; font-size: 11px; }
.ngo-login-home:hover { background: #f5f9fb; color: #294359; }

@media (max-width: 780px) {
    .ngo-login-page { min-height: 0; padding: 22px 14px 42px; }
    .ngo-login-shell { grid-template-columns: minmax(0, 1fr); max-width: 520px; border-radius: 21px; }
    .ngo-login-visual { min-height: 250px; padding: 29px 25px; }
    .ngo-login-eyebrow { margin-bottom: 14px; }
    .ngo-login-emblem { width: 52px; height: 52px; border-radius: 16px; margin-bottom: 15px; font-size: 23px; }
    .ngo-login-visual h1 { font-size: 30px; }
    .ngo-login-feature { margin-top: 20px; }
    .ngo-login-form-panel { padding: 30px 25px 32px; }
}
@media (max-width: 420px) {
    .ngo-login-actions { grid-template-columns: minmax(0, 1fr); }
    .ngo-login-bottom-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .ngo-login-input, .ngo-login-primary, .ngo-login-secondary, .ngo-login-home { transition: none; }
}
