.baldna-site.auth-page { min-height: 100dvh; background: #f4f7fc; }
.baldna-site .auth-shell { position: relative; display: flex; min-height: 100dvh; overflow: hidden; padding: clamp(16px, 4vw, 48px); }
.baldna-site .auth-shell::before, .baldna-site .auth-shell::after { position: absolute; width: 520px; aspect-ratio: 1; background: url("../images/baldna-pattern-watermark.png") center / contain no-repeat; content: ""; opacity: .07; pointer-events: none; }
.baldna-site .auth-shell::before { top: -190px; inset-inline-end: -170px; }
.baldna-site .auth-shell::after { bottom: -210px; inset-inline-start: -180px; }

.baldna-site .auth-shell__form { position: relative; z-index: 1; width: 100%; max-width: 480px; min-height: 0; margin: auto; padding: clamp(24px, 4vw, 40px); border: 1px solid #dfe6f2; border-radius: 10px; background: #fff; box-shadow: 0 18px 48px #18243c12; }
.baldna-site .auth-shell__identity { margin-bottom: 32px; text-align: center; }
.baldna-site .auth-shell__country { margin: 0; color: #101c35; font-size: 1.2rem; font-weight: 700; line-height: 1.6; }
.baldna-site .auth-shell__ministry { margin: 0 0 18px; color: #4b5870; font-size: 1rem; font-weight: 600; line-height: 1.6; }
.baldna-site .auth-shell__logo { display: inline-block; }
.baldna-site .auth-shell__logo img { display: block; width: auto; margin-inline: auto; max-width: min(350px, 100%); height: auto; }
.baldna-site .auth-shell__body > .container { padding: 0 0 8px; }


.baldna-site .auth-title { margin: 0 0 20px; color: #101c35; font-size: 1.35rem; font-weight: 700; line-height: 1.6; text-align: center; }
.baldna-site .auth-title--success { color: #00652f; }
.baldna-site .auth-note { margin: 0 0 24px; padding: 14px 18px; border: 1px solid #dfe6f2; background: #f4f7fc; color: #18243c; line-height: 1.9; }
.baldna-site .auth-form__hint { margin: 6px 0 0; color: #4b5870; font-size: .9rem; line-height: 1.6; }
.baldna-site .auth-form__alt { margin: 18px 0 0; text-align: center; }
.baldna-site .auth-form__alt a { color: #1642ad; font-weight: 600; text-decoration: none; }
.baldna-site .auth-form__alt a:hover { color: #123ca6; text-decoration: underline; text-underline-offset: 4px; }
.baldna-site .auth-form__alert { margin-bottom: 20px; padding: 12px 14px; border: 1px solid #f1c4c9; background: #fdf3f4; color: #8f0d1b; }
.baldna-site .auth-form__alert p { margin: 0; }
.baldna-site .auth-form__field { margin-bottom: 18px; }
.baldna-site .auth-form__label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.baldna-site .auth-form__field label { display: block; margin-bottom: 6px; color: #18243c; font-size: .95rem; font-weight: 600; }
.baldna-site .auth-form__label-row label { margin-bottom: 0; }
.baldna-site .auth-form__forgot { color: #1642ad; font-size: .9rem; font-weight: 600; text-decoration: none; }
.baldna-site .auth-form__forgot:hover { color: #123ca6; text-decoration: underline; text-underline-offset: 4px; }
.baldna-site .auth-form__field input:not([type="hidden"]) { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c5d2ed; border-radius: 6px; background: #fff; color: #18243c; transition: border-color .18s, box-shadow .18s; }
.baldna-site .auth-form__field input::placeholder { color: #7a879d; }
.baldna-site .auth-form__field input:hover { border-color: #9cb5eb; }
.baldna-site .auth-form__field input:focus, .baldna-site .auth-form__field input:focus-visible { border-color: #164ed8; outline: 0; box-shadow: 0 0 0 3px #164ed826; }
.baldna-site .auth-form__field--invalid input:not([type="hidden"]) { border-color: #ce1126; }
.baldna-site .auth-form__control { position: relative; }
.baldna-site .auth-form__control i { position: absolute; top: 50%; inset-inline-start: 14px; color: #7a879d; font-size: 1.25rem; line-height: 1; transform: translateY(-50%); pointer-events: none; transition: color .18s; }
.baldna-site .auth-form__control:focus-within i { color: #164ed8; }
.baldna-site .auth-form__control input:not([type="hidden"]) { padding-inline-start: 44px; }
.baldna-site .auth-form__error { margin: 6px 0 0; color: #b3101f; font-size: .9rem; line-height: 1.6; }
.baldna-site .auth-form__captcha { display: flex; align-items: stretch; gap: 12px; }
.baldna-site .auth-form__captcha img { flex: 0 0 auto; height: 48px; width: auto; border: 1px solid #dfe6f2; }
.baldna-site .auth-form__captcha input:not([type="hidden"]) { flex: 1 1 auto; min-width: 0; }
.baldna-site .auth-form__check { margin-bottom: 18px; }
.baldna-site .auth-form__submit { width: 100%; margin-top: 6px; padding: 12px 24px; border: 1px solid #164ed8; background: #164ed8; color: #fff; font-weight: 600; }
.baldna-site .auth-form__submit:hover { border-color: #123ca6; background: #123ca6; color: #fff; }

.baldna-site .auth-form__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.baldna-site .auth-form__danger, .baldna-site .auth-form__cancel { padding: 12px 16px; font-weight: 600; }
.baldna-site .auth-form__danger { border: 1px solid #ce1126; background: #ce1126; color: #fff; }
.baldna-site .auth-form__danger:hover { border-color: #a80d1f; background: #a80d1f; color: #fff; }
.baldna-site .auth-form__cancel { border: 1px solid #c5d2ed; background: #fff; color: #18243c; }
.baldna-site .auth-form__cancel:hover { border-color: #164ed8; background: #f4f7fc; color: #18243c; }

.baldna-site .auth-divider { display: flex; align-items: center; gap: 12px; margin-block: 26px 16px; color: #66748a; font-size: .9rem; }
.baldna-site .auth-divider::before, .baldna-site .auth-divider::after { flex: 1 1 0; height: 1px; background: #dfe6f2; content: ""; }
.baldna-site .auth-sudapass { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.baldna-site .auth-sudapass a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid #c5d2ed; background: #fff; color: #18243c; font-size: .92rem; font-weight: 600; text-decoration: none; transition: border-color .18s, background-color .18s; }
.baldna-site .auth-sudapass a:hover { border-color: #164ed8; background: #f4f7fc; }
.baldna-site .auth-sudapass img { flex: 0 0 auto; width: auto; height: 26px; }

.baldna-site.auth-page .btn { border-radius: 6px !important; }
.baldna-site .auth-form__alert, .baldna-site .auth-note, .baldna-site .auth-form__captcha img, .baldna-site .auth-sudapass a { border-radius: 6px; }

@media (max-width: 575px) {
  .baldna-site.auth-page { background: #fff; }
  .baldna-site .auth-shell { padding: 0; }
  .baldna-site .auth-shell::before, .baldna-site .auth-shell::after { display: none; }
  .baldna-site .auth-shell__form { max-width: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 399px) {
  .baldna-site .auth-sudapass { grid-template-columns: 1fr; }
}
