.hris-auth {
    --auth-primary: #3a37eb;
    --auth-primary-hover: #2d2acb;
    --auth-primary-soft: #efefff;
    --auth-secondary: #111d5e;
    --auth-heading: #1c2539;
    --auth-body: #5f6878;
    --auth-muted: #8b94a5;
    --auth-page-bg: #f4f6fb;
    --auth-surface: #ffffff;
    --auth-surface-soft: #f8f9fc;
    --auth-input-bg: #f6f7fb;
    --auth-border: #e2e6ee;
    --auth-focus: rgba(58, 55, 235, 0.2);
    --auth-success: #248a4b;
    --auth-success-soft: #eaf8ef;
    --auth-danger: #d83b4c;
    --auth-danger-soft: #fff0f2;
    --auth-info: #2176ae;
    --auth-info-soft: #edf7ff;
    --auth-radius-sm: 10px;
    --auth-radius-md: 16px;
    --auth-radius-lg: 24px;
    --auth-shadow: 0 24px 70px rgba(28, 37, 57, 0.14);
    --auth-transition: 180ms ease;
    background: var(--auth-page-bg);
    color: var(--auth-body);
    font-family: var(--hris-font-sans);
    min-height: 100vh;
    overflow-x: hidden;
}

html[data-theme="dark"] .hris-auth {
    --auth-primary: #807dff;
    --auth-primary-hover: #9a98ff;
    --auth-primary-soft: #292847;
    --auth-secondary: #cfd2ff;
    --auth-heading: #f5f7fb;
    --auth-body: #cbd0da;
    --auth-muted: #929bad;
    --auth-page-bg: #0e1420;
    --auth-surface: #171f2d;
    --auth-surface-soft: #1d2736;
    --auth-input-bg: #111927;
    --auth-border: #303c4e;
    --auth-focus: rgba(128, 125, 255, 0.28);
    --auth-success: #66d394;
    --auth-success-soft: #173429;
    --auth-danger: #ff8996;
    --auth-danger-soft: #3b2028;
    --auth-info: #7cc8f2;
    --auth-info-soft: #193044;
    --auth-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    color-scheme: dark;
}

.hris-auth *,
.hris-auth *::before,
.hris-auth *::after {
    box-sizing: border-box;
}

.hris-auth a {
    color: var(--auth-primary);
    transition: color var(--auth-transition), background-color var(--auth-transition), border-color var(--auth-transition);
}

.hris-auth a:hover {
    color: var(--auth-primary-hover);
}

.hris-auth__skip-link {
    background: var(--auth-surface);
    border-radius: 0 0 var(--auth-radius-sm) 0;
    box-shadow: var(--auth-shadow);
    color: var(--auth-heading);
    left: 0;
    padding: 10px 16px;
    position: fixed;
    top: -60px;
    z-index: 1100;
}

.hris-auth__skip-link:focus {
    top: 0;
}

.hris-auth__theme-toggle {
    align-items: center;
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(28, 37, 57, 0.1);
    color: var(--auth-heading);
    display: inline-flex;
    height: 44px;
    justify-content: center;
    position: fixed;
    right: 24px;
    top: 24px;
    transition: transform var(--auth-transition), border-color var(--auth-transition), color var(--auth-transition);
    width: 44px;
    z-index: 1000;
}

.hris-auth__theme-toggle:hover,
.hris-auth__theme-toggle:focus-visible {
    border-color: var(--auth-primary);
    color: var(--auth-primary);
    outline: none;
    transform: translateY(-2px);
}

.hris-auth__page {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    margin: 0 auto;
    min-height: 100vh;
    width: 100%;
}

.hris-auth--register .hris-auth__page {
    grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.65fr);
}

.hris-auth__brand {
    background:
        radial-gradient(circle at 85% 14%, rgba(255, 255, 255, 0.2), transparent 22%),
        radial-gradient(circle at 12% 85%, rgba(17, 29, 94, 0.32), transparent 30%),
        linear-gradient(145deg, #3734de 0%, #4e4bf1 52%, #2523a8 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(36px, 5vw, 72px);
    position: relative;
}

.hris-auth__brand::after {
    border: 32px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -120px;
    content: "";
    height: 320px;
    position: absolute;
    right: -105px;
    width: 320px;
}

.hris-auth__brand-link {
    align-items: center;
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(17, 29, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    color: #ffffff;
    display: inline-flex;
    gap: 14px;
    min-height: 78px;
    overflow: hidden;
    padding: 10px 16px 10px 10px;
    position: relative;
    text-decoration: none;
    transition: background-color var(--auth-transition), border-color var(--auth-transition), box-shadow var(--auth-transition), transform var(--auth-transition);
    z-index: 1;
}

.hris-auth__brand-link::after {
    background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.12), transparent 72%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-72%);
    transition: transform 500ms ease;
}

.hris-auth__brand-link:hover,
.hris-auth__brand-link:focus-visible {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 20px 46px rgba(17, 29, 94, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
    outline: none;
    text-decoration: none;
    transform: translateY(-2px);
}

.hris-auth__brand-link:hover::after,
.hris-auth__brand-link:focus-visible::after {
    transform: translateX(72%);
}

.hris-auth__brand-mark {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 13px;
    box-shadow: 0 8px 20px rgba(17, 29, 94, 0.16);
    display: inline-flex;
    flex: 0 0 108px;
    height: 56px;
    justify-content: center;
    padding: 8px 10px;
    position: relative;
    z-index: 1;
}

.hris-auth__brand-logo {
    display: block;
    height: auto;
    max-width: 88px;
    object-fit: contain;
    width: 100%;
}

.hris-auth__brand-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 142px;
    position: relative;
    z-index: 1;
}

.hris-auth__brand-identity strong {
    color: #ffffff;
    font-family: var(--hris-font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hris-auth__brand-identity small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.35;
}

.hris-auth__brand-copy {
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.hris-auth__eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 8px 12px;
    text-transform: uppercase;
}

.hris-auth__brand-copy h1 {
    color: #ffffff;
    font-family: var(--hris-font-heading);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 24px 0 18px;
}

.hris-auth__brand-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
    max-width: 460px;
}

.hris-auth__brand-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    position: relative;
    z-index: 1;
}

.hris-auth__brand-meta span {
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
}

.hris-auth__main {
    align-items: center;
    background:
        radial-gradient(circle at 95% 5%, var(--auth-primary-soft), transparent 28%),
        var(--auth-page-bg);
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: clamp(72px, 7vw, 112px) clamp(24px, 6vw, 88px);
}

.hris-auth__card {
    background: var(--auth-surface);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-lg);
    box-shadow: var(--auth-shadow);
    color: var(--auth-body);
    max-width: 560px;
    padding: clamp(28px, 4vw, 48px);
    width: 100%;
}

.hris-auth--register .hris-auth__card {
    max-width: 980px;
}

.hris-auth__card-header {
    margin-bottom: 30px;
}

.hris-auth__card-header h2 {
    color: var(--auth-heading);
    font-family: var(--hris-font-heading);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 10px;
}

.hris-auth__card-header p {
    color: var(--auth-muted);
    line-height: 1.65;
    margin: 0;
}

.hris-auth__alert {
    align-items: flex-start;
    border: 1px solid transparent;
    border-radius: var(--auth-radius-sm);
    display: flex;
    gap: 12px;
    line-height: 1.45;
    margin-bottom: 20px;
    padding: 13px 15px;
}

.hris-auth__alert i {
    margin-top: 3px;
}

.hris-auth__alert strong,
.hris-auth__alert span {
    display: block;
}

.hris-auth__alert--success {
    background: var(--auth-success-soft);
    border-color: color-mix(in srgb, var(--auth-success) 28%, transparent);
    color: var(--auth-success);
}

.hris-auth__alert--danger {
    background: var(--auth-danger-soft);
    border-color: color-mix(in srgb, var(--auth-danger) 28%, transparent);
    color: var(--auth-danger);
}

.hris-auth__alert--info {
    background: var(--auth-info-soft);
    border-color: color-mix(in srgb, var(--auth-info) 28%, transparent);
    color: var(--auth-info);
}

.hris-auth label,
.hris-auth legend,
.hris-auth .form-group > p {
    color: var(--auth-heading);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hris-auth .form-group {
    margin-bottom: 20px;
}

.hris-auth__field-hint {
    color: var(--auth-muted);
    display: block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 7px;
}

.hris-auth__login-options {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: 2px 0 24px;
}

.hris-auth__checkbox {
    align-items: center;
    cursor: pointer;
    display: inline-flex;
    gap: 9px;
    margin: 0 !important;
    min-height: 40px;
}

.hris-auth__checkbox input[type="checkbox"] {
    accent-color: var(--auth-primary);
    cursor: pointer;
    height: 18px;
    margin: 0;
    width: 18px;
}

.hris-auth__checkbox span {
    color: var(--auth-body);
    font-size: 14px;
    font-weight: 600;
}

.hris-auth input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]),
.hris-auth select,
.hris-auth textarea {
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-heading);
    display: block;
    font-size: 14px;
    min-height: 48px;
    outline: none;
    padding: 11px 14px;
    transition: background-color var(--auth-transition), border-color var(--auth-transition), box-shadow var(--auth-transition);
    width: 100%;
}

.hris-auth textarea {
    min-height: 112px;
    resize: vertical;
}

.hris-auth input::placeholder,
.hris-auth textarea::placeholder {
    color: var(--auth-muted);
    opacity: 1;
}

.hris-auth input:-webkit-autofill,
.hris-auth input:-webkit-autofill:hover,
.hris-auth input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--auth-input-bg) inset;
    -webkit-text-fill-color: var(--auth-heading);
    caret-color: var(--auth-heading);
}

.hris-auth input:focus,
.hris-auth select:focus,
.hris-auth textarea:focus,
.hris-auth button:focus-visible,
.hris-auth a:focus-visible {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px var(--auth-focus);
    outline: none;
}

.hris-auth .input-group {
    display: block;
    position: relative;
    width: 100%;
}

.hris-auth .input-group input {
    padding-right: 50px !important;
}

.hris-auth__password-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--auth-muted);
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    z-index: 2;
}

.hris-auth__password-toggle:hover {
    color: var(--auth-primary);
}

.hris-auth input[type="file"] {
    background: var(--auth-input-bg);
    border: 1px dashed var(--auth-border);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-body);
    cursor: pointer;
    min-height: 48px;
    padding: 6px;
    width: 100%;
}

.hris-auth input[type="file"]::file-selector-button {
    background: var(--auth-primary-soft);
    border: 0;
    border-radius: 7px;
    color: var(--auth-primary);
    cursor: pointer;
    font-weight: 700;
    margin-right: 10px;
    padding: 8px 12px;
}

.hris-auth .btn {
    align-items: center;
    border-radius: var(--auth-radius-sm);
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    transition: transform var(--auth-transition), background-color var(--auth-transition), border-color var(--auth-transition), color var(--auth-transition), box-shadow var(--auth-transition);
}

.hris-auth .btn:hover {
    transform: translateY(-1px);
}

.hris-auth .btn:disabled,
.hris-auth .btn.disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.hris-auth [data-auth-submit] {
    gap: 9px;
}

.hris-auth__submit-spinner {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.hris-auth__submit-spinner[hidden] {
    display: none !important;
}

.hris-auth .btn-indigo {
    background: var(--auth-primary);
    border-color: var(--auth-primary);
    color: #ffffff;
}

.hris-auth .btn-indigo:hover,
.hris-auth .btn-indigo:focus {
    background: var(--auth-primary-hover);
    border-color: var(--auth-primary-hover);
    color: #ffffff;
}

.hris-auth .btn-outline-indigo,
.hris-auth .btn-outline-primary {
    background: transparent;
    border-color: var(--auth-primary);
    color: var(--auth-primary);
}

.hris-auth .btn-outline-indigo:hover,
.hris-auth .btn-outline-primary:hover {
    background: var(--auth-primary-soft);
    border-color: var(--auth-primary);
    color: var(--auth-primary-hover);
}

.hris-auth .btn-outline-secondary {
    background: transparent;
    border-color: var(--auth-border);
    color: var(--auth-body);
}

.hris-auth .text-danger {
    color: var(--auth-danger) !important;
}

.hris-auth .text-muted {
    color: var(--auth-muted) !important;
}

.hris-auth .bs-stepper-header {
    border-bottom: 1px solid var(--auth-border);
    margin-bottom: 28px;
    padding-bottom: 20px;
}

.hris-auth .bs-stepper .line {
    background: var(--auth-border);
}

.hris-auth .bs-stepper-circle {
    background: var(--auth-surface-soft);
    color: var(--auth-muted);
}

.hris-auth .bs-stepper-label {
    color: var(--auth-muted);
    font-family: var(--hris-font-heading);
}

.hris-auth .bs-stepper .step.active .bs-stepper-circle,
.hris-auth .bs-stepper .step.crossed .bs-stepper-circle {
    background: var(--auth-primary);
    color: #ffffff;
}

.hris-auth .bs-stepper .step.active .bs-stepper-label,
.hris-auth .bs-stepper .step.crossed .bs-stepper-label {
    color: var(--auth-heading);
}

.hris-auth .bs-stepper-content {
    padding: 0;
}

.hris-auth__register-header {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.hris-auth__duration-badge {
    align-items: center;
    background: var(--auth-primary-soft);
    border-radius: 999px;
    color: var(--auth-primary);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    padding: 8px 12px;
}

.hris-auth__file-reminder,
.hris-auth__privacy-note {
    align-items: flex-start;
    background: var(--auth-info-soft);
    border: 1px solid color-mix(in srgb, var(--auth-info) 22%, transparent);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-info);
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.5;
    margin: -10px 0 24px;
    padding: 12px 14px;
}

.hris-auth__file-reminder i,
.hris-auth__privacy-note i {
    margin-top: 3px;
}

.hris-auth__stepper .bs-stepper-header {
    background: var(--auth-surface-soft);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-md);
    box-shadow: none;
    margin-bottom: 30px;
    padding: 10px;
}

.hris-auth__stepper-fallback-note {
    align-items: flex-start;
    background: var(--auth-info-soft);
    border: 1px solid color-mix(in srgb, var(--auth-info) 22%, transparent);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-info);
    display: none;
    font-size: 13px;
    gap: 10px;
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 12px 14px;
}

.auth-js-failed .hris-auth__stepper-fallback-note,
.hris-auth__stepper--fallback .hris-auth__stepper-fallback-note {
    display: flex;
}

.auth-js-failed .hris-auth__stepper .bs-stepper-header,
.hris-auth__stepper--fallback .bs-stepper-header,
.auth-js-failed .hris-auth__stepper [data-stepper-action],
.hris-auth__stepper--fallback [data-stepper-action] {
    display: none;
}

.auth-js-failed .hris-auth__stepper .content,
.hris-auth__stepper--fallback .content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.auth-js-failed .hris-auth__stepper .content + .content,
.hris-auth__stepper--fallback .content + .content {
    border-top: 1px solid var(--auth-border);
    margin-top: 30px;
    padding-top: 30px;
}

.hris-auth__stepper .step {
    flex: 1 1 0;
    min-width: 0;
}

.hris-auth__stepper .step-trigger {
    align-items: center;
    border-radius: 12px;
    justify-content: flex-start;
    padding: 12px;
    transition: background-color var(--auth-transition), box-shadow var(--auth-transition);
    width: 100%;
}

.hris-auth__stepper .step.active .step-trigger {
    background: var(--auth-surface);
    box-shadow: 0 8px 22px rgba(28, 37, 57, 0.08);
}

.hris-auth__stepper .step-trigger:focus-visible {
    box-shadow: 0 0 0 4px var(--auth-focus);
}

.hris-auth__stepper .bs-stepper-circle {
    align-items: center;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    margin-right: 10px;
    width: 34px;
}

.hris-auth__stepper .bs-stepper-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    text-align: left;
}

.hris-auth__stepper .bs-stepper-label strong {
    color: inherit;
    font-size: 13px;
    line-height: 1.25;
}

.hris-auth__stepper .bs-stepper-label small {
    color: var(--auth-muted);
    font-family: var(--hris-font-sans);
    font-size: 11px;
    font-weight: 500;
}

.hris-auth__stepper .line {
    flex: 0 1 34px;
    margin: 0 2px;
    min-width: 16px;
}

.hris-auth__section-heading {
    align-items: center;
    display: flex;
    gap: 13px;
    margin-bottom: 24px;
}

.hris-auth__section-icon,
.hris-auth__upload-icon {
    align-items: center;
    background: var(--auth-primary-soft);
    border-radius: 11px;
    color: var(--auth-primary);
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.hris-auth__section-heading h3 {
    color: var(--auth-heading);
    font-family: var(--hris-font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 3px;
}

.hris-auth__section-heading h3:focus {
    outline: none;
}

.hris-auth__section-heading p {
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.hris-auth input.is-invalid,
.hris-auth select.is-invalid,
.hris-auth textarea.is-invalid {
    border-color: var(--auth-danger) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-danger) 12%, transparent);
}

.hris-auth__choice-group {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hris-auth__choice {
    cursor: pointer;
    margin: 0 !important;
    position: relative;
}

.hris-auth__choice input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.hris-auth__choice span {
    align-items: center;
    background: var(--auth-input-bg);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-sm);
    color: var(--auth-body);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    min-height: 48px;
    padding: 11px 14px;
    transition: border-color var(--auth-transition), background-color var(--auth-transition), color var(--auth-transition), box-shadow var(--auth-transition);
}

.hris-auth__choice input:checked + span {
    background: var(--auth-primary-soft);
    border-color: var(--auth-primary);
    color: var(--auth-primary);
}

.hris-auth__choice input:focus-visible + span {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px var(--auth-focus);
}

.hris-auth__upload-card {
    background: var(--auth-surface-soft);
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius-md);
    height: 100%;
    padding: 16px;
    transition: border-color var(--auth-transition), box-shadow var(--auth-transition);
}

.hris-auth__upload-card:focus-within {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px var(--auth-focus);
}

.hris-auth__upload-card.is-invalid {
    border-color: var(--auth-danger);
}

.hris-auth__upload-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 13px;
}

.hris-auth__upload-heading label {
    display: block;
    margin: 0 0 2px;
}

.hris-auth__upload-heading small {
    color: var(--auth-muted);
    display: block;
    font-size: 11px;
}

.hris-auth__upload-card input[type="file"] {
    background: var(--auth-surface);
}

.hris-auth__file-name {
    color: var(--auth-muted);
    display: block;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 8px;
    overflow-wrap: anywhere;
}

.hris-auth__file-name.has-file {
    color: var(--auth-success);
    font-weight: 700;
}

.hris-auth__privacy-note {
    background: var(--auth-success-soft);
    border-color: color-mix(in srgb, var(--auth-success) 22%, transparent);
    color: var(--auth-success);
    margin: 4px 0 24px;
}

.hris-auth__step-actions {
    align-items: center;
    border-top: 1px solid var(--auth-border);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 22px;
}

.hris-auth__step-actions--end {
    justify-content: flex-end;
}

.hris-auth__step-actions .btn {
    gap: 9px;
    min-width: 136px;
}

.hris-auth__register-login {
    color: var(--auth-muted);
    font-size: 13px;
    margin: 26px 0 0;
    text-align: center;
}

.hris-auth__register-login a {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .hris-auth__page,
    .hris-auth--register .hris-auth__page {
        grid-template-columns: minmax(0, 1fr);
    }

    .hris-auth__brand {
        gap: 26px;
        min-height: auto;
        padding: 28px clamp(24px, 7vw, 56px);
    }

    .hris-auth__brand-copy h1 {
        font-size: clamp(28px, 6vw, 42px);
        margin: 18px 0 10px;
    }

    .hris-auth__brand-copy p {
        font-size: 14px;
    }

    .hris-auth__brand-meta {
        display: none;
    }

    .hris-auth__main {
        align-items: flex-start;
        padding: 40px clamp(20px, 5vw, 48px) 64px;
    }

    .hris-auth__theme-toggle {
        right: 18px;
        top: 18px;
    }
}

@media (max-width: 575.98px) {
    .hris-auth__brand {
        gap: 18px;
        padding: 22px 20px 26px;
    }

    .hris-auth__brand-link {
        border-radius: 14px;
        gap: 10px;
        min-height: 60px;
        padding: 7px 11px 7px 7px;
    }

    .hris-auth__brand-mark {
        border-radius: 10px;
        flex-basis: 78px;
        height: 44px;
        padding: 6px 8px;
    }

    .hris-auth__brand-logo {
        max-width: 64px;
    }

    .hris-auth__brand-identity {
        gap: 2px;
        max-width: 106px;
    }

    .hris-auth__brand-identity strong {
        font-size: 9px;
        letter-spacing: 0.045em;
    }

    .hris-auth__brand-identity small {
        font-size: 8px;
    }

    .hris-auth__eyebrow,
    .hris-auth__brand-copy p {
        display: none;
    }

    .hris-auth__brand-copy h1 {
        font-size: 25px;
        margin: 0;
        max-width: calc(100% - 60px);
    }

    .hris-auth__main {
        padding: 24px 14px 44px;
    }

    .hris-auth__card {
        border-radius: 18px;
        padding: 24px 18px;
    }

    .hris-auth__card-header {
        margin-bottom: 24px;
    }

    .hris-auth__login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .hris-auth .bs-stepper-header {
        overflow-x: auto;
        padding-bottom: 14px;
    }

    .hris-auth__register-header {
        display: block;
    }

    .hris-auth__duration-badge {
        margin-top: 14px;
    }

    .hris-auth__stepper .bs-stepper-header {
        align-items: stretch;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr) 8px minmax(0, 1fr);
        margin: 0 0 24px;
        overflow: hidden;
        padding: 6px;
    }

    .hris-auth__stepper .step {
        width: 100%;
    }

    .hris-auth__stepper .step-trigger {
        flex-direction: column;
        height: 100%;
        min-width: 0;
        overflow: hidden;
        padding: 9px 4px;
        text-align: center;
        white-space: normal;
    }

    .hris-auth__stepper .bs-stepper-circle {
        flex-basis: 30px;
        height: 30px;
        margin: 0 0 6px;
        width: 30px;
    }

    .hris-auth__stepper .bs-stepper-label {
        min-width: 0;
        text-align: center;
        width: 100%;
    }

    .hris-auth__stepper .bs-stepper-label strong {
        display: block;
        overflow-wrap: normal;
        white-space: normal;
    }

    .hris-auth__stepper .bs-stepper-label small {
        display: none;
    }

    .hris-auth__stepper .line {
        align-self: center;
        margin: 0;
        min-width: 0;
        width: 100%;
    }

    .hris-auth .bs-stepper-label {
        font-size: 11px;
    }

    .hris-auth__section-heading {
        align-items: flex-start;
    }

    .hris-auth__choice-group {
        grid-template-columns: minmax(0, 1fr);
    }

    .hris-auth__step-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hris-auth__step-actions--end {
        flex-direction: column;
    }

    .hris-auth__step-actions .btn {
        width: 100%;
    }
}

@media (max-width: 359.98px) {
    .hris-auth__stepper .step-trigger {
        padding-inline: 2px;
    }

    .hris-auth__stepper .bs-stepper-label strong {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hris-auth *,
    .hris-auth *::before,
    .hris-auth *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
