.government-auth-page {
    min-height: 100vh;
    color: #25324a;
    background: #f1f5f9;
}

.government-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(47, 111, 237, 0.08), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #eef3f8 100%);
    pointer-events: none;
}

.government-auth-page .modal-backdrop { background: transparent; }
.government-auth-page .modal-backdrop.in { opacity: 0; }
.government-auth-modal { overflow-y: auto; }

.government-auth-modal .government-auth-dialog {
    width: 420px;
    max-width: calc(100% - 30px);
    margin: 54px auto 30px;
}

.government-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    color: #1f2a3d;
    text-decoration: none;
}

.government-auth-brand:hover,
.government-auth-brand:focus { color: #1f2a3d; text-decoration: none; }

.government-auth-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    background: #2f6fed;
    border-radius: 9px;
    box-shadow: 0 5px 12px rgba(47, 111, 237, 0.25);
    font-size: 15px;
    font-weight: 700;
}

.government-auth-brand strong,
.government-auth-brand small { display: block; }
.government-auth-brand strong { font-size: 13px; line-height: 1.2; }
.government-auth-brand small {
    margin-top: 2px;
    color: #8a9ab1;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.government-auth-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe5ec;
    border-radius: 11px;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .03), 0 18px 44px rgba(15, 23, 42, .09);
}

.government-auth-header {
    padding: 28px 30px 22px;
    background: #fff;
    border-bottom: 1px solid #e7ebf1;
}

.government-auth-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #7187a8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.government-auth-header .modal-title {
    margin: 0;
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.government-auth-header p {
    margin: 9px 0 0;
    color: #718198;
    font-size: 11px;
    line-height: 1.6;
}

.government-auth-body { padding: 26px 30px 28px; }
.government-auth-form .form-group { margin-bottom: 18px; }
.government-auth-form .form-group > label {
    margin-bottom: 7px;
    color: #40516a;
    font-size: 10px;
    font-weight: 700;
}

.government-auth-input {
    display: flex;
    align-items: center;
    height: 42px;
    background: #fff;
    border: 1px solid #d9e1ea;
    border-radius: 5px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.government-auth-input:focus-within {
    border-color: #80aee0;
    box-shadow: 0 0 0 3px rgba(66, 139, 202, .1);
}

.government-auth-input > span {
    flex: 0 0 40px;
    color: #8a99ad;
    text-align: center;
    font-size: 13px;
}

.government-auth-input .form-control {
    height: 40px;
    padding: 0 12px 0 0;
    color: #334155;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
}

.government-auth-input .form-control:focus { box-shadow: none; }
.government-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 4px 0 20px;
    color: #64748b;
    font-size: 10px;
}

.government-auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-weight: 500;
}

.government-auth-remember input { margin: 0; accent-color: #428bca; }
.government-auth-options a,
.government-auth-help a { color: #2563eb; font-weight: 700; }

.government-auth-submit {
    width: 100%;
    height: 42px;
    color: #fff;
    background: #428bca;
    border: 1px solid #357ebd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .14);
    font-size: 12px;
    font-weight: 700;
}

.government-auth-submit:hover,
.government-auth-submit:focus {
    color: #fff;
    background: #3276b1;
    border-color: #285e8e;
    box-shadow: 0 4px 10px rgba(50, 118, 177, .2);
    outline: none;
}

.government-auth-help {
    margin: 20px 0 0;
    color: #7b899d;
    font-size: 10px;
    text-align: center;
}

.government-auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #087f5b;
    background: #f0fbf7;
    border: 1px solid #cceee1;
    border-radius: 7px;
    font-size: 10px;
}

.government-auth-validation:empty { display: none; }
.government-auth-form .field-validation-error,
.government-auth-validation {
    display: block;
    margin-top: 5px;
    color: #c64444;
    font-size: 9px;
}

.government-auth-footer {
    margin-top: 18px;
    color: #91a0b5;
    font-size: 9px;
    letter-spacing: .04em;
    text-align: center;
}

@media (max-width: 480px) {
    .government-auth-modal .government-auth-dialog { margin-top: 24px; }
    .government-auth-header,
    .government-auth-body { padding-right: 22px; padding-left: 22px; }
    .government-auth-header .modal-title { font-size: 21px; }
}
