/* Styles apply only to the content rendered by newSite/login/login.xhtml. */
.ns-login-page { width: calc(100% - 28px); max-width: 1200px; color: #23382e; margin: 36px auto 44px; text-align: right; }
.ns-login-page *, .ns-login-page *::before, .ns-login-page *::after { box-sizing: border-box; }
.ns-login-hero { display: grid; grid-template-columns: 45% 55%; overflow: hidden; border: 1px solid #e2e9e4; border-radius: 24px; background: #fff; box-shadow: 0 8px 30px #173d2510; }
.ns-login-form { padding: 42px 38px; min-width: 0; }
.ns-login-form h1 { margin: 0 0 10px; font-size: 28px; font-weight: 800; color: #124d36; line-height: 1.6; }
.ns-login-subtitle { color: #69796f; font-size: 14px; margin-bottom: 26px; line-height: 1.9; }
.ns-login-field { margin-bottom: 20px; }
.ns-login-field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.ns-login-field label span { color: #a83b36; }
.ns-login-field input { display: block; width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #d5dfd9; border-radius: 10px; background: #f8faf9; color: #23382e; font: inherit; box-shadow: none; }
.ns-login-field input:focus { background: #fff; border-color: #078552; outline: 3px solid #07855220; }
.ns-login-field input:autofill { color: #23382e; }
.ns-login-password { position: relative; }
.ns-login-password input { padding-right: 52px; }
.ns-login-eye { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #62776a; cursor: pointer; }
.ns-login-eye:hover { background: #e8f3ec; color: #087b49; }
.ns-login-recovery { display: inline-block; color: #087b49; font-size: 13px; margin: 0 0 24px; }
.ns-login-submit, .ns-login-register { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 50px; padding: 10px 16px; border: 1px solid #078552; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; transition: background-color .15s; }
.ns-login-submit { background: #078552; color: #fff; }
.ns-login-submit:hover { background: #066b42; }
.ns-login-register { background: #fff; color: #087b49; }
.ns-login-register:hover { background: #edf7f1; color: #066b42; }
.ns-login-register-caption { display: flex; align-items: center; gap: 12px; color: #6d7c73; font-size: 13px; margin: 22px 0 16px; }
.ns-login-register-caption::before, .ns-login-register-caption::after { content: ""; height: 1px; flex: 1; background: #e0e7e2; }
.ns-login-error { padding: 12px; margin-bottom: 18px; border: 1px solid #eed1ce; border-radius: 10px; background: #fff4f2; color: #932d25; overflow-wrap: anywhere; line-height: 1.8; }
.ns-login-photo { min-width: 0; position: relative; }
.ns-login-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; }
.ns-login-faq { margin-top: 28px; }
.ns-login-faq-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 32px; min-height: 144px; border-radius: 20px; background: linear-gradient(110deg, #e6f2e7, #edf9f4); overflow: hidden; }
.ns-login-faq-banner h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: #124d36; line-height: 1.6; }
.ns-login-faq-banner p { margin: 0; color: #526e5f; font-size: 14px; line-height: 1.9; }
.ns-login-faq-banner img { width: 130px; height: 130px; object-fit: cover; border-radius: 20px; mix-blend-mode: multiply; }
.ns-login-faq .accordion { margin-top: 16px; border: 1px solid #e1e8e3; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 18px #173d2508; }
.ns-login-faq .accordion-item { border: 0; border-radius: 0; background: #fff; box-shadow: none; margin: 0; }
.ns-login-faq .accordion-item + .accordion-item { border-top: 1px solid #e6ece8; }
.ns-login-faq .accordion-header { margin: 0; }
.ns-login-faq .accordion-header .accordion-button { display: flex; gap: 18px; align-items: center; width: 100%; min-height: 70px; margin: 0; padding: 18px 24px; border: 0; border-radius: 0 !important; background: #fff; color: #293c31; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.9; text-align: right; box-shadow: none; }
.ns-login-faq .accordion-button span { flex: 1; }
.ns-login-faq .accordion-button::after { content: "+"; display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; margin: 0 auto 0 0; background: none !important; color: #078552; font-family: Arial, sans-serif; font-size: 27px; font-weight: 400; transform: none !important; }
.ns-login-faq .accordion-button:not(.collapsed) { background: #f0f8f3; color: #124d36; }
.ns-login-faq .accordion-button:not(.collapsed)::after { content: "\2212"; }
.ns-login-faq .accordion-button:hover { background: #f6faf7; }
.ns-login-faq .accordion-body { background: #f0f8f3; padding: 4px 24px 22px; color: #4b6053; font-size: 14px; line-height: 2.1; overflow-wrap: anywhere; }
.ns-login-faq .accordion-body p { margin: 0 0 12px; }
.ns-login-faq .accordion-body p:last-child { margin-bottom: 0; }
.ns-login-page button:focus-visible, .ns-login-page a:focus-visible { outline: 3px solid #087b49; outline-offset: 3px; }
.ns-login-faq .accordion-button:focus-visible { outline-offset: -3px; box-shadow: none; }
@media (max-width: 991px) {
    .ns-login-form { padding: 30px 24px; }
    .ns-login-form h1 { font-size: 24px; }
}
@media (max-width: 767px) {
    .ns-login-page { margin: 20px auto 28px; }
    .ns-login-hero { grid-template-columns: 1fr; border-radius: 18px; }
    .ns-login-form { padding: 28px 22px; }
    .ns-login-photo { height: 200px; }
    .ns-login-faq-banner { padding: 16px 20px; min-height: 112px; gap: 12px; border-radius: 16px; }
    .ns-login-faq-banner h2 { font-size: 21px; }
    .ns-login-faq-banner p { font-size: 12px; }
    .ns-login-faq-banner img { width: 90px; height: 90px; flex-shrink: 0; }
    .ns-login-faq .accordion-header .accordion-button { padding: 15px 16px; font-size: 14px; gap: 12px; }
    .ns-login-faq .accordion-body { padding: 4px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .ns-login-page * { transition: none !important; animation: none !important; }
}
