/* 인증 화면(로그인/회원가입/아이디 찾기/비밀번호 찾기). 3개 site 공통이며 색은 site별 palette가 결정한다.
   로그인 화면 상단은 프로토타입대로 로고 이미지 + BTMS(.btms-brand--auth) 와 한 줄 설명(가운데 정렬)이다. */
*, *::before, *::after { box-sizing: border-box; }
body { align-items: center; background: var(--btms-auth-bg, var(--md-sys-color-background)); color: var(--md-sys-color-on-surface); display: flex; font-family: var(--btms-font-family); justify-content: center; margin: 0; min-height: 100dvh; padding: 24px 0; }
main { background: var(--md-sys-color-surface); border: 1px solid var(--md-sys-color-outline-variant); border-radius: 20px; box-shadow: var(--md-sys-elevation-level3); max-width: 420px; padding: 32px; width: calc(100% - 32px); }
h1 { font-size: 26px; letter-spacing: -.02em; margin: 0; }
label { display: block; font-weight: 700; margin-top: 16px; }
input { border: 1px solid var(--md-sys-color-outline); border-radius: 12px; box-sizing: border-box; font-size: 16px; margin-top: 8px; padding: 12px; width: 100%; }
input:focus { border-color: var(--md-sys-color-primary); box-shadow: 0 0 0 3px var(--md-sys-color-primary-container); outline: none; }
button { background: var(--md-sys-color-primary); border: 0; border-radius: 12px; color: var(--md-sys-color-on-primary); cursor: pointer; font-size: 16px; font-weight: 700; margin-top: 24px; padding: 12px; width: 100%; }
.hint, .error, .logout { border-radius: 12px; margin-top: 16px; padding: 12px; }
.hint { background: var(--md-sys-color-primary-container); color: var(--md-sys-color-on-primary-container); }
.error { background: var(--md-sys-color-error-container); color: var(--md-sys-color-error); }
.logout { background: var(--btms-color-success-container); color: var(--btms-color-success); }

/* ---------- 프로토타입 기반 인증 화면 ---------- */
/* 로고 + BTMS 워드마크. components.css 를 로드하지 않는 인증 화면용으로 같은 규칙을 둔다.
   치수는 palette-{site}.css 의 --btms-brand-* / --btms-auth-brand-* 가 결정한다. */
.btms-brand { align-items: center; color: inherit; display: inline-flex; gap: var(--btms-brand-gap, 8px); text-decoration: none; }
.btms-brand__logo { display: block; height: var(--btms-brand-logo-h, 26px); width: auto; }
.btms-brand__text { color: var(--btms-brand-text-color, var(--md-sys-color-on-surface-variant)); font-size: var(--btms-brand-text-size, 13px); font-weight: var(--btms-brand-text-weight, 600); letter-spacing: var(--btms-brand-tracking, .02em); line-height: 1; }
.btms-brand--auth { gap: var(--btms-auth-brand-gap, 9px); justify-content: center; width: 100%; }
.btms-brand--auth .btms-brand__logo { height: var(--btms-auth-brand-logo-h, 40px); }
.btms-brand--auth .btms-brand__text { font-size: var(--btms-auth-brand-text-size, 15px); letter-spacing: var(--btms-auth-brand-tracking, var(--btms-brand-tracking, .02em)); }
.btms-auth__eyebrow { color: var(--md-sys-color-on-surface-variant); font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.btms-auth__desc { color: var(--md-sys-color-on-surface-variant); font-size: 14px; line-height: 1.6; margin: 8px 0 4px; }
/* 프로토타입 로그인: 로고 아래 설명 400 13px 가운데, margin 8px 0 30px */
.btms-brand--auth + .btms-auth__desc { font-size: 13px; margin: 8px 0 30px; text-align: center; }
.btms-auth--done { max-width: 400px; padding: 44px 40px; text-align: center; }
.btms-auth--done h1 { font-size: 20px; }
.btms-auth--done .btms-auth__desc { font-size: 13px; line-height: 1.7; margin: 10px 0 30px; }
.btms-auth__done-icon { align-items: center; background: var(--md-sys-color-primary); border-radius: 50%; color: var(--md-sys-color-on-primary); display: flex; height: 72px; justify-content: center; margin: 0 auto 22px; width: 72px; }
.btms-auth__done-icon .material-symbols-outlined { font-size: 38px; font-variation-settings: 'wght' 600; }

/* 입력 + 우측 버튼 한 줄 (코드 발송 / 인증) */
.btms-auth__row { align-items: center; display: flex; gap: 8px; }
.btms-auth__row input { flex: 1; min-width: 0; }
.btms-auth__side { flex: none; font-size: 14px; margin-top: 8px; padding: 12px 14px; white-space: nowrap; width: auto; }
.btms-auth__timer { color: var(--md-sys-color-error); flex: none; font-size: 13px; font-weight: 700; margin-top: 8px; }

/* 비밀번호 입력 + 표시 토글 */
.btms-auth__pw { position: relative; }
.btms-auth__pw input { padding-right: 46px; }
.btms-auth__toggle {
    align-items: center;
    background: transparent;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 4px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(calc(-50% + 4px));
    width: auto;
}
.btms-auth__toggle .material-symbols-outlined { font-size: 20px; }
.btms-auth__toggle:hover,
.btms-auth__toggle[aria-pressed="true"] { color: var(--md-sys-color-primary); }

.btms-auth__note { color: var(--md-sys-color-on-surface-variant); font-size: 12px; line-height: 1.5; margin: 8px 0 0; }
.btms-auth__check { align-items: center; display: flex; font-weight: 500; gap: 8px; }
.btms-auth__check input { margin-top: 0; width: auto; }

/* 약관 전체 동의 + 필수 3항목 (프로토타입 회원가입) */
.btms-auth__terms { display: flex; flex-direction: column; gap: 11px; margin-top: 20px; }
.btms-auth__terms-all,
.btms-auth__terms-opt { align-items: center; cursor: pointer; display: flex; gap: 8px; margin: 0; }
.btms-auth__terms input { accent-color: var(--md-sys-color-primary); flex: none; height: 16px; margin: 0; width: 16px; }
.btms-auth__terms-all span { color: var(--md-sys-color-on-surface); font-size: 12px; font-weight: 600; }
.btms-auth__terms-rule { background: var(--md-sys-color-outline-variant); display: block; height: 1px; }
.btms-auth__terms-item { align-items: center; display: flex; justify-content: space-between; }
.btms-auth__terms-opt span { color: var(--md-sys-color-on-surface-variant); font-size: 12px; font-weight: 500; }
.btms-auth__terms-opt em { color: var(--md-sys-color-primary); font-style: normal; font-weight: 700; }
.btms-auth__terms-view { color: var(--md-sys-color-on-surface-variant); font-size: 11px; }

.btms-auth__foot { color: var(--md-sys-color-on-surface-variant); font-size: 13px; margin: 16px 0 0; text-align: center; }
.btms-auth__foot a { color: var(--md-sys-color-primary); font-weight: 700; }
.btms-auth__cta { background: var(--md-sys-color-primary); border-radius: 12px; color: var(--md-sys-color-on-primary); display: block; font-weight: 700; margin-top: 24px; padding: 12px; text-decoration: none; }

/* 로그인 안내 박스 + 하단 링크(회원가입 | 비밀번호 찾기) */
.btms-auth__notice { background: var(--md-sys-color-surface-container-low, var(--md-sys-color-surface-variant)); border-radius: 8px; color: var(--md-sys-color-on-surface-variant); font-size: 12px; line-height: 1.6; margin: 16px 0 0; padding: 11px 13px; text-align: center; text-wrap: pretty; }
.btms-auth__foot--split { align-items: center; display: flex; gap: 14px; justify-content: center; }
.btms-auth__foot--split a { color: var(--md-sys-color-on-surface-variant); font-size: 12px; font-weight: 500; }
.btms-auth__foot-sep { color: var(--md-sys-color-outline-variant); }

/* 회원가입·비밀번호 찾기: 프로토타입 폼 카드(radius 4, 얕은 그림자, 400px, 컴팩트 필드) */
.btms-auth--form { border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .1); max-width: 400px; padding: 30px 34px 34px; }
.btms-auth--form h1 { font-size: 18px; }
.btms-auth--form .btms-auth__desc { font-size: 12px; line-height: 1.5; margin: 4px 0 22px; }
.btms-auth--form label { color: var(--md-sys-color-on-surface-variant); font-size: 11px; font-weight: 500; margin-top: 15px; }
.btms-auth--form input { border-radius: 6px; font-size: 13px; height: 40px; margin-top: 6px; padding: 0 12px; }
.btms-auth--form .btms-auth__pw input { padding-right: 44px; }
.btms-auth--form .btms-auth__side { font-size: 11px; height: 40px; margin-top: 6px; padding: 0 14px; }
.btms-auth--form .btms-auth__timer { margin-top: 6px; }
.btms-auth--form button[type="submit"]:not(.btms-auth__side) { border-radius: 6px; font-size: 14px; height: 46px; margin-top: 20px; padding: 0; }
.btms-auth--form .btms-auth__foot { font-size: 12px; }
.btms-auth--form .btms-auth__terms label { margin-top: 0; }
.btms-auth--form .btms-auth__terms input { height: 16px; margin: 0; width: 16px; }

@media (max-width: 480px) {
    main { padding: 24px 20px; }
    .btms-auth__row { flex-wrap: wrap; }
    .btms-auth__side { width: 100%; }
}

/* 출장관리자 로그인·계정 복구. manager 프로토타입의 400px tonal card를 페이지 root로 격리한다. */
body.btms-manager-auth {
    background: var(--md-sys-color-surface-container-high);
    min-height: 100dvh;
    padding: 40px;
}
.btms-manager-auth .btms-manager-auth__card--login {
    background: var(--md-sys-color-surface-container-lowest);
    border: 0;
    border-radius: 28px;
    max-width: 400px;
    padding: 40px 36px 34px;
}
.btms-manager-auth__card--login .btms-brand--auth + .btms-auth__desc { margin: 12px 0 30px; }
.btms-manager-auth__card--login label {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    font-weight: 500;
}
.btms-manager-auth__card--login input:not([type="checkbox"]) {
    border-radius: 8px;
    font-size: 14px;
    height: 48px;
    padding-inline: 15px;
}
.btms-manager-auth__card--login #username { margin-bottom: 14px; }
.btms-manager-auth__card--login .btms-auth__pw input { padding-right: 44px; }
.btms-manager-auth .btms-auth__toggle {
    height: 44px;
    right: 2px;
    width: 44px;
}
.btms-manager-auth .btms-auth__toggle .material-symbols-outlined { font-size: 18px; }
.btms-manager-auth__card--login form > button[type="submit"] {
    border-radius: var(--btms-radius-pill);
    height: 48px;
    padding: 0;
}
.btms-manager-auth .btms-manager-auth__card--recovery {
    background: var(--md-sys-color-surface-container-lowest);
    border: 0;
    border-radius: 28px;
    max-width: 400px;
    padding: 36px 34px 30px;
}
.btms-manager-auth__card--recovery h1 { font-size: 20px; font-weight: 400; }
.btms-manager-auth__card--recovery .btms-auth__desc { font-size: 12px; margin: 4px 0 22px; }
.btms-manager-auth__card--recovery .btms-auth__recovery-flow { display: flex; flex-direction: column; gap: 15px; }
.btms-manager-auth__card--recovery .btms-auth__recovery-step { margin: 0; }
.btms-manager-auth__card--recovery label {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 11px;
    font-weight: 500;
    margin: 0 0 6px;
}
.btms-manager-auth__card--recovery .btms-auth__row { align-items: center; }
.btms-manager-auth__card--recovery .btms-auth__row > input {
    border-radius: 8px;
    font-size: 13px;
    height: 44px;
    margin: 0;
}
.btms-manager-auth__card--recovery .btms-auth__side {
    background: var(--md-sys-color-on-surface);
    border-radius: 10px;
    color: var(--md-sys-color-surface);
    font-size: 12px;
    font-weight: 600;
    height: 44px;
    margin: 0;
    padding: 0 16px;
}
.btms-manager-auth__card--recovery .btms-auth__codebox {
    align-items: center;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 8px;
    display: flex;
    flex: 1;
    height: 44px;
    min-width: 0;
    padding-right: 14px;
}
.btms-manager-auth__card--recovery .btms-auth__codebox:focus-within {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 3px var(--md-sys-color-primary-container);
}
.btms-manager-auth__card--recovery .btms-auth__codebox input {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    flex: 1;
    font-size: 13px;
    height: 42px;
    margin: 0;
    min-width: 0;
    padding: 0 12px;
}
.btms-manager-auth__card--recovery .btms-auth__codebox input:focus { box-shadow: none; }
.btms-manager-auth__card--recovery .btms-auth__timer { margin: 0; }
.btms-manager-auth__card--recovery .btms-auth__timer.is-inactive { color: var(--md-sys-color-outline); }
.btms-manager-auth__card--recovery .btms-auth__verify {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 8px;
    color: var(--md-sys-color-on-surface);
    padding: 0;
    width: 56px;
}
.btms-manager-auth__card--recovery .btms-auth__password-fields { display: flex; flex-direction: column; gap: 8px; }
.btms-manager-auth__card--recovery .btms-auth__pw input {
    border-radius: 8px;
    font-size: 13px;
    height: 46px;
    margin: 0;
}
.btms-manager-auth__card--recovery .btms-auth__note { margin: 7px 0 0; }
.btms-manager-auth__card--recovery .btms-auth__password-reset > button[type="submit"],
.btms-manager-auth__card--recovery .btms-auth__cta {
    border-radius: var(--btms-radius-pill);
    min-height: 48px;
}
.btms-manager-auth__card--recovery .btms-auth__password-reset > button[type="submit"] { margin-top: 6px; }
.btms-manager-auth__card--recovery :is(input, button):disabled {
    cursor: not-allowed;
    opacity: .45;
}
.btms-manager-auth :is(input, button, a):focus-visible {
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: 2px;
}
@media (max-width: 480px) {
    body.btms-manager-auth { padding: 24px 16px; }
    .btms-manager-auth .btms-manager-auth__card--login,
    .btms-manager-auth .btms-manager-auth__card--recovery { padding: 28px 20px 24px; width: 100%; }
}

/* 출장자 로그인 전용. 관리자·여행사 인증 화면에는 적용하지 않는다. */
body.btms-traveler-login {
    display: block;
    min-height: 100vh;
    padding: 0;
}
.btms-traveler-login__root {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 0 60px;
    width: 100%;
}
.btms-traveler-login__content {
    flex: 1;
    max-width: 1200px;
    padding: 0 28px;
    width: 100%;
}
.btms-traveler-login__stage {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 88vh;
}
.btms-traveler-login .btms-traveler-login__card {
    background: var(--md-sys-color-surface-container-lowest);
    border: 0;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(30, 34, 60, .1);
    font-family: Roboto, sans-serif;
    max-width: 100%;
    padding: 44px 40px;
    width: 400px;
}
.btms-traveler-login__card .btms-brand--auth {
    display: flex;
    gap: 9px;
}
.btms-traveler-login__card .btms-brand--auth .btms-brand__logo {
    height: 40px;
}
.btms-traveler-login__card .btms-brand--auth .btms-brand__text {
    font-size: 15px;
    font-weight: 600;
}
.btms-traveler-login__card .btms-auth__desc {
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    margin: 8px 0 30px;
    text-align: center;
}
.btms-traveler-login__card form > label:not(.btms-auth__check) {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 7px;
}
.btms-traveler-login__card input:not([type="checkbox"]) {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 10px;
    color: var(--md-sys-color-on-surface);
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 48px;
    margin: 0;
    padding: 0 14px;
}
.btms-traveler-login__card input:not([type="checkbox"]):focus {
    border-color: var(--md-sys-color-primary);
    box-shadow: none;
    outline: none;
}
.btms-traveler-login__card input:not([type="checkbox"]):focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-primary-container);
}
.btms-traveler-login__card #username {
    margin-bottom: 14px;
}
.btms-traveler-login__card .btms-auth__pw {
    margin-bottom: 16px;
}
.btms-traveler-login__card .btms-auth__pw input {
    padding: 0 44px 0 14px;
}
.btms-traveler-login__card .btms-auth__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
}
.btms-traveler-login__card .btms-auth__toggle[hidden] {
    display: none;
}
.btms-traveler-login__card .btms-auth__toggle .material-symbols-outlined {
    font-size: 19px;
}
.btms-traveler-login__card .btms-auth__toggle:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: -6px;
}
.btms-traveler-login__card .btms-auth__check {
    color: var(--md-sys-color-on-surface-variant);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    gap: 8px;
    line-height: 18px;
    margin: 0 0 22px;
}
.btms-traveler-login__card .btms-auth__check input {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    border: 1.5px solid var(--md-sys-color-outline);
    border-radius: 4px;
    cursor: pointer;
    flex: none;
    height: 18px;
    margin: 0;
    padding: 0;
    width: 18px;
}
.btms-traveler-login__card .btms-auth__check input:checked {
    background-color: var(--md-sys-color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    border-color: var(--md-sys-color-primary);
}
.btms-traveler-login__card .btms-auth__check input:focus {
    box-shadow: none;
    outline: none;
}
.btms-traveler-login__card .btms-auth__check input:focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-primary-container);
}
.btms-traveler-login__card form > button[type="submit"] {
    background: var(--md-sys-color-primary);
    border: 0;
    border-radius: 10px;
    color: var(--md-sys-color-on-primary);
    font-family: Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    height: 50px;
    margin: 0;
    padding: 0;
    width: 100%;
}
.btms-traveler-login__card form > button[type="submit"]:focus-visible {
    outline: 3px solid var(--md-sys-color-primary-container);
    outline-offset: 2px;
}
.btms-traveler-login__card .btms-auth__foot--split {
    font-size: 12px;
}
.btms-traveler-login__card .btms-auth__foot--split a {
    text-decoration: none;
}

@media (max-width: 840px) {
    .btms-traveler-login__content {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 출장자 회원가입·비밀번호 찾기 전용. 공통 인증 규칙과 다른 site 화면에는 영향을 주지 않는다. */
body.btms-traveler-auth,
body.btms-traveler-login {
    -webkit-font-smoothing: antialiased;
    letter-spacing: .5px;
    text-rendering: optimizeLegibility;
}
body.btms-traveler-auth {
    display: block;
    line-height: 24px;
    min-height: 100vh;
    padding: 0;
}
.btms-traveler-auth__root {
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 0 60px;
    width: 100%;
}
.btms-traveler-auth__content {
    flex: 1;
    max-width: 1200px;
    padding: 0 28px;
    width: 100%;
}
.btms-traveler-auth__stage {
    align-items: center;
    animation: btms-auth-fade-in .3s ease;
    display: flex;
    justify-content: center;
    min-height: 88vh;
    padding: 40px 0;
}
.btms-traveler-auth .btms-traveler-auth__card {
    background: var(--md-sys-color-surface-container-lowest);
    border: 0;
    font-family: Roboto, sans-serif;
    letter-spacing: .5px;
    line-height: normal;
    margin: 0;
    max-width: 100%;
    width: 400px;
}
.btms-traveler-auth .btms-traveler-auth__card--form {
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
    overflow: hidden;
    padding: 30px 34px 34px;
}
.btms-traveler-auth .btms-traveler-auth__card--done {
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(30, 34, 60, .1);
    padding: 48px 40px;
    text-align: center;
}
.btms-traveler-auth__card h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: normal;
    margin: 0 0 4px;
}
.btms-traveler-auth__card .btms-auth__desc {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 22px;
}
.btms-traveler-auth__flow,
.btms-traveler-auth__step {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
}
.btms-traveler-auth__card--reset .btms-traveler-auth__flow {
    padding-top: 15px;
}

.btms-traveler-auth__field {
    min-width: 0;
}
.btms-traveler-auth__field > label,
.btms-traveler-auth__passwords > legend {
    color: var(--md-sys-color-on-surface-variant);
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 6px;
    padding: 0;
}
.btms-traveler-auth__label-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}
.btms-traveler-auth__label-row > label {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 6px;
}
.btms-traveler-auth__card input:not([type="checkbox"]):not([type="hidden"]) {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 6px;
    color: var(--md-sys-color-on-surface);
    font-family: Roboto, sans-serif;
    font-size: 13px;
    font-weight: 400;
    height: 40px;
    letter-spacing: .5px;
    line-height: normal;
    margin: 0;
    min-width: 0;
    padding: 0 12px;
    width: 100%;
}
.btms-traveler-auth__card input:not([type="checkbox"]):not([type="hidden"]):focus {
    border-color: var(--md-sys-color-primary);
    box-shadow: none;
    outline: none;
}
.btms-traveler-auth__card input:not([type="checkbox"]):not([type="hidden"]):focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-primary-container);
}
.btms-traveler-auth__card .btms-auth__row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}
.btms-traveler-auth__card .btms-auth__row > input {
    flex: 1;
}
.btms-traveler-auth__card button {
    font-family: Roboto, sans-serif;
    letter-spacing: .5px;
    line-height: normal;
}
.btms-traveler-auth__card .btms-auth__side {
    background: transparent;
    border: 1px solid var(--md-sys-color-primary);
    border-radius: 6px;
    color: var(--md-sys-color-primary);
    flex: none;
    font-size: 11px;
    font-weight: 600;
    height: 40px;
    margin: 0;
    padding: 0;
    width: 78px;
}
.btms-traveler-auth__card .btms-auth__side:hover {
    background: var(--md-sys-color-primary-container);
}
.btms-traveler-auth__card .btms-auth__side--reset-send {
    background: var(--md-sys-color-on-surface);
    border: 0;
    border-radius: 8px;
    color: var(--md-sys-color-surface);
    font-size: 12px;
    padding: 0 16px;
    width: auto;
}
.btms-traveler-auth__card .btms-auth__side--reset-send:hover {
    background: var(--md-sys-color-on-surface);
}
.btms-traveler-auth__card .btms-auth__side--reset-verify {
    border-color: var(--md-sys-color-outline);
    color: var(--md-sys-color-on-surface);
    font-size: 12px;
    font-weight: 500;
    width: 52px;
}
.btms-traveler-auth__card .btms-auth__side--reset-verify:hover {
    background: var(--md-sys-color-surface-container-low);
}
.btms-traveler-auth__card button:focus-visible,
.btms-traveler-auth__card .btms-auth__cta:focus-visible {
    outline: 3px solid var(--md-sys-color-primary-container);
    outline-offset: 2px;
}
.btms-traveler-auth__card .btms-auth__timer {
    color: var(--md-sys-color-error);
    flex: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: normal;
    margin: 0 0 6px;
}
.btms-traveler-auth__code-control {
    align-items: center;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 6px;
    display: flex;
    flex: 1;
    height: 40px;
    min-width: 0;
    padding: 0 12px;
}
.btms-traveler-auth__card .btms-traveler-auth__code-control > input:not([type="checkbox"]):not([type="hidden"]) {
    border: 0;
    border-radius: 0;
    flex: 1;
    height: 38px;
    padding: 0;
}
.btms-traveler-auth__card .btms-traveler-auth__code-control input:focus,
.btms-traveler-auth__card .btms-traveler-auth__code-control input:focus-visible {
    box-shadow: none;
}
.btms-traveler-auth__code-control:focus-within {
    border-color: var(--md-sys-color-primary);
    box-shadow: 0 0 0 3px var(--md-sys-color-primary-container);
}
.btms-traveler-auth__card .btms-traveler-auth__code-control .btms-auth__timer {
    font-size: 13px;
    margin: 0;
}

/* 비밀번호 찾기 인증행은 입력 폭이 줄어도 확인 버튼·타이머를 밀어내지 않는다. */
.btms-traveler-auth__card--reset .btms-auth__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}
.btms-traveler-auth__card--reset .btms-traveler-auth__code-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
}
.btms-traveler-auth__card--reset .btms-traveler-auth__code-control input {
    width: 100%;
}
.btms-traveler-auth__passwords {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}
.btms-traveler-auth__passwords .btms-auth__pw {
    margin: 0;
    position: relative;
}
.btms-traveler-auth__passwords .btms-auth__pw:first-of-type {
    margin-bottom: 8px;
}
.btms-traveler-auth__card .btms-auth__pw input {
    padding: 0 40px 0 12px;
}
.btms-traveler-auth__card .btms-auth__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
}
.btms-traveler-auth__card .btms-auth__toggle[hidden] {
    display: none;
}
.btms-traveler-auth__card .btms-auth__toggle .material-symbols-outlined {
    font-size: 18px;
}
.btms-traveler-auth__card .btms-auth__toggle:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--md-sys-color-primary);
    outline-offset: -6px;
}
.btms-traveler-auth__card .btms-auth__note {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    margin: 7px 0 0;
}
.btms-traveler-auth .btms-auth__sr-only {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.btms-traveler-auth__card .btms-auth__terms {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
}
.btms-traveler-auth__card .btms-auth__terms-all,
.btms-traveler-auth__card .btms-auth__terms-opt {
    align-items: center;
    color: var(--md-sys-color-on-surface);
    cursor: pointer;
    display: flex;
    gap: 8px;
    margin: 0;
}
.btms-traveler-auth__card .btms-auth__terms input {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 4px;
    cursor: pointer;
    flex: none;
    height: 18px;
    margin: 0;
    padding: 0;
    width: 18px;
}
.btms-traveler-auth__card .btms-auth__terms input:checked {
    background-color: var(--md-sys-color-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3 3 7-7' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    border-color: var(--md-sys-color-primary);
}
.btms-traveler-auth__card .btms-auth__terms input:focus {
    box-shadow: none;
    outline: none;
}
.btms-traveler-auth__card .btms-auth__terms input:focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-primary-container);
}
.btms-traveler-auth__card .btms-auth__terms-all span {
    color: var(--md-sys-color-on-surface);
    font-size: 12px;
    font-weight: 600;
}
.btms-traveler-auth__card .btms-auth__terms-rule {
    background: var(--md-sys-color-outline-variant);
    display: block;
    height: 1px;
}
.btms-traveler-auth__card .btms-auth__terms-item {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}
.btms-traveler-auth__card .btms-auth__terms-opt {
    min-width: 0;
}
.btms-traveler-auth__card .btms-auth__terms-opt span {
    color: var(--md-sys-color-on-surface-variant);
    font-size: 12px;
    font-weight: 500;
    line-height: normal;
}
.btms-traveler-auth__card .btms-auth__terms-opt em {
    color: var(--md-sys-color-primary);
    font-style: normal;
}
.btms-traveler-auth__card .btms-auth__terms-view {
    color: var(--md-sys-color-on-surface-variant);
    flex: none;
    font-size: 11px;
    font-weight: 400;
}
.btms-traveler-auth__card form > button[type="submit"]:not(.btms-auth__side) {
    background: var(--md-sys-color-primary);
    border: 0;
    border-radius: 6px;
    color: var(--md-sys-color-on-primary);
    font-size: 14px;
    font-weight: 600;
    height: 46px;
    margin: 0;
    padding: 0;
    width: 100%;
}
.btms-traveler-auth__card--reset form > button[type="submit"]:not(.btms-auth__side) {
    margin-top: 6px;
}
.btms-traveler-auth__card .btms-auth__foot {
    color: var(--md-sys-color-on-surface-variant);
    display: flex;
    font-size: 12px;
    font-weight: 400;
    gap: 6px;
    justify-content: center;
    line-height: normal;
    margin: 17px 0 0;
}
.btms-traveler-auth__card .btms-auth__foot a {
    color: var(--md-sys-color-primary);
    font-weight: 400;
    text-decoration: none;
}
.btms-traveler-auth__messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 15px;
}
.btms-traveler-auth__card .btms-traveler-auth__messages > p {
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
    padding: 8px 10px;
}
.btms-traveler-auth__card--done h1 {
    font-size: 20px;
    margin: 0 0 10px;
}
.btms-traveler-auth__card--done .btms-auth__done-icon {
    align-items: center;
    background: var(--md-sys-color-primary);
    border-radius: 50%;
    color: var(--md-sys-color-on-primary);
    display: flex;
    height: 72px;
    justify-content: center;
    margin: 0 auto 22px;
    width: 72px;
}
.btms-traveler-auth__card--done .btms-auth__done-icon svg {
    display: block;
}
.btms-traveler-auth__card--done .btms-auth__desc {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 30px;
}
.btms-traveler-auth__card--done .btms-auth__cta {
    align-items: center;
    background: var(--md-sys-color-primary);
    border-radius: 10px;
    color: var(--md-sys-color-on-primary);
    display: flex;
    font-size: 15px;
    font-weight: 700;
    height: 50px;
    justify-content: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
    width: 100%;
}
.btms-traveler-auth .material-symbols-outlined,
.btms-traveler-login .material-symbols-outlined {
    letter-spacing: normal;
}
.btms-traveler-login__card .btms-brand__text,
.btms-traveler-auth__card .btms-brand__text {
    letter-spacing: .02em;
}

@keyframes btms-auth-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 840px) {
    .btms-traveler-auth__content {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btms-traveler-auth__stage {
        animation: none;
    }
}

/* 여행사 로그인·비밀번호 찾기 전용. 다른 site 인증 화면에는 적용하지 않는다. */
body.btms-agency-auth {
    align-items: center;
    background: var(--btms-auth-bg);
    display: flex;
    font-family: var(--btms-font-family);
    justify-content: center;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 40px;
}
.btms-agency-auth .btms-agency-auth__card {
    background: var(--md-sys-color-surface);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, .1);
    color: var(--md-sys-color-on-surface);
    font-family: var(--btms-font-family);
    margin: 0;
    max-width: 100%;
    width: 380px;
}
.btms-agency-auth .btms-agency-auth__card--login {
    min-height: 436px;
    padding: 44px 36px 34px;
}
.btms-agency-auth .btms-agency-auth__card--reset {
    min-height: 538.594px;
    padding: 38px 36px 32px;
}

/* 여행사 로그인 */
.btms-agency-auth--login .btms-brand--auth {
    align-items: center;
    display: flex;
    gap: 9px;
    justify-content: center;
    line-height: normal;
    margin: 0;
    width: 100%;
}
.btms-agency-auth--login .btms-brand--auth .btms-brand__logo {
    height: 30px;
    width: auto;
}
.btms-agency-auth--login .btms-brand--auth .btms-brand__text {
    color: var(--btms-brand-text-color);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: normal;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__desc {
    color: var(--btms-color-text-subtle);
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    margin: 6px 0 28px;
    text-align: center;
}
.btms-agency-auth--login .btms-agency-auth__card form {
    margin: 0;
}
.btms-agency-auth--login .btms-agency-auth__label {
    color: var(--btms-color-text-muted);
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 6px;
}
.btms-agency-auth--login .btms-agency-auth__card input:not([type="checkbox"]):not([type="hidden"]) {
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 8px;
    color: var(--md-sys-color-on-surface);
    font-family: var(--btms-font-family);
    font-size: 13px;
    font-weight: 400;
    height: 44px;
    line-height: normal;
    margin: 0;
    min-width: 0;
    padding: 0 13px;
    width: 100%;
}
.btms-agency-auth--login .btms-agency-auth__card #username {
    margin-bottom: 14px;
}
.btms-agency-auth--login .btms-agency-auth__card input:not([type="checkbox"]):not([type="hidden"]):focus {
    border-color: var(--md-sys-color-secondary);
    box-shadow: none;
    outline: none;
}
.btms-agency-auth--login .btms-agency-auth__card input:not([type="checkbox"]):not([type="hidden"]):focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-secondary-container);
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__pw {
    margin: 0 0 16px;
    position: relative;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__pw #password {
    padding: 0 44px 0 13px;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--btms-color-text-subtle);
    display: flex;
    height: 32px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 6px;
    top: 6px;
    transform: none;
    width: 32px;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__toggle[hidden] {
    display: none;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__toggle .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__toggle:hover,
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__toggle[aria-pressed="true"] {
    color: var(--md-sys-color-secondary);
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__toggle:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--md-sys-color-secondary);
    outline-offset: -4px;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__check {
    align-items: center;
    color: var(--md-sys-color-on-surface-variant);
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    gap: 8px;
    line-height: normal;
    margin: 0 0 22px;
    min-height: 22px;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__check input {
    accent-color: var(--md-sys-color-primary);
    cursor: pointer;
    flex: none;
    height: 16px;
    margin: 0;
    padding: 0;
    width: 16px;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__check input:focus {
    box-shadow: none;
    outline: none;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__check input:focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-secondary-container);
}
.btms-agency-auth--login .btms-agency-auth__card form > button[type="submit"] {
    background: var(--md-sys-color-primary);
    border: 0;
    border-radius: 8px;
    color: var(--md-sys-color-on-primary);
    font-family: var(--btms-font-family);
    font-size: 14px;
    font-weight: 600;
    height: 48px;
    line-height: normal;
    margin: 0;
    padding: 0;
    width: 100%;
}
.btms-agency-auth--login .btms-agency-auth__card form > button[type="submit"]:hover {
    background: var(--md-sys-color-inverse-surface);
}
.btms-agency-auth .btms-agency-auth__card button:focus-visible,
.btms-agency-auth .btms-agency-auth__card a:focus-visible {
    outline: 3px solid var(--md-sys-color-secondary-container);
    outline-offset: 2px;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__foot {
    color: var(--btms-color-text-muted);
    display: flex;
    font-size: 12px;
    font-weight: 400;
    justify-content: center;
    line-height: 16px;
    margin: 16px 0 0;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__foot a {
    color: var(--btms-color-text-muted);
    font-weight: 400;
    text-decoration: none;
}
.btms-agency-auth--login .btms-agency-auth__card .btms-auth__foot a:hover {
    color: var(--md-sys-color-secondary);
}

/* 여행사 비밀번호 찾기 */
.btms-agency-auth--reset .btms-agency-auth__card h1 {
    color: var(--md-sys-color-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-align: center;
}
.btms-agency-auth--reset .btms-agency-auth__card .btms-auth__desc {
    color: var(--btms-color-text-subtle);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    margin: 6px 0 26px;
    text-align: center;
}
.btms-agency-auth--reset .btms-agency-auth__card form {
    margin: 0;
}
.btms-agency-auth--reset .btms-agency-auth__label {
    color: var(--btms-color-text-muted);
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: normal;
    margin: 0 0 6px;
}
.btms-agency-auth--reset .btms-agency-auth__card .btms-auth__row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0 0 14px;
}
.btms-agency-auth--reset .btms-agency-auth__card input:not([type="hidden"]) {
    background: var(--md-sys-color-surface);
    border: 1px solid var(--md-sys-color-outline);
    border-radius: 7px;
    color: var(--md-sys-color-on-surface);
    flex: 1;
    font-family: var(--btms-font-family);
    font-size: 12px;
    font-weight: 400;
    height: 42px;
    line-height: normal;
    margin: 0;
    min-width: 0;
    padding: 0 12px;
    width: 100%;
}
.btms-agency-auth--reset .btms-agency-auth__card input:not([type="hidden"]):focus {
    border-color: var(--md-sys-color-secondary);
    box-shadow: none;
    outline: none;
}
.btms-agency-auth--reset .btms-agency-auth__card input:not([type="hidden"]):focus-visible {
    box-shadow: 0 0 0 3px var(--md-sys-color-secondary-container);
}
.btms-agency-auth--reset .btms-agency-auth__email-form .btms-auth__side {
    background: var(--md-sys-color-on-surface-variant);
    border: 0;
    border-radius: 7px;
    color: var(--md-sys-color-on-primary);
    flex: none;
    font-family: var(--btms-font-family);
    font-size: 11px;
    font-weight: 600;
    height: 42px;
    line-height: normal;
    margin: 0;
    padding: 0 14px;
    white-space: nowrap;
    width: auto;
}
.btms-agency-auth--reset .btms-agency-auth__code-control {
    flex: 1;
    min-width: 0;
    position: relative;
}
.btms-agency-auth--reset .btms-agency-auth__code-control #code {
    padding: 0 56px 0 12px;
}
.btms-agency-auth--reset .btms-agency-auth__card .btms-auth__timer {
    color: var(--md-sys-color-error);
    font-size: 11px;
    font-weight: 600;
    line-height: normal;
    margin: 0;
    min-width: 28px;
    position: absolute;
    right: 12px;
    text-align: right;
    top: 13px;
}
.btms-agency-auth--reset .btms-agency-auth__code-form .btms-auth__side {
    background: var(--md-sys-color-surface);
    border: 1px solid var(--btms-color-outline-strong);
    border-radius: 7px;
    color: var(--md-sys-color-on-surface-variant);
    flex: none;
    font-family: var(--btms-font-family);
    font-size: 11px;
    font-weight: 600;
    height: 42px;
    line-height: normal;
    margin: 0;
    padding: 0 16px;
    white-space: nowrap;
    width: auto;
}
.btms-agency-auth--reset .btms-agency-auth__divider {
    background: var(--md-sys-color-outline-variant);
    height: 1px;
    margin: 10px 0 16px;
}
.btms-agency-auth--reset .btms-agency-auth__password-form #newPassword {
    margin-bottom: 14px;
}
.btms-agency-auth--reset .btms-agency-auth__password-form #newPasswordConfirm {
    margin-bottom: 20px;
}
.btms-agency-auth--reset .btms-agency-auth__password-form > button[type="submit"] {
    background: var(--md-sys-color-primary);
    border: 0;
    border-radius: 8px;
    color: var(--md-sys-color-on-primary);
    font-family: var(--btms-font-family);
    font-size: 14px;
    font-weight: 600;
    height: 46px;
    line-height: normal;
    margin: 0;
    padding: 0;
    width: 100%;
}
.btms-agency-auth--reset .btms-agency-auth__card button:disabled,
.btms-agency-auth--reset .btms-agency-auth__card input:disabled {
    cursor: not-allowed;
    opacity: 1;
}
.btms-agency-auth--reset .btms-agency-auth__card input:disabled {
    background: var(--md-sys-color-surface-container);
    border-color: var(--md-sys-color-outline-variant);
    color: var(--btms-color-text-subtle);
}
.btms-agency-auth--reset .btms-agency-auth__card button:disabled {
    background: var(--md-sys-color-surface-variant);
    border-color: var(--md-sys-color-outline-variant);
    color: var(--btms-color-text-subtle);
}
.btms-agency-auth--reset .btms-agency-auth__card .btms-auth__foot {
    color: var(--btms-color-text-muted);
    display: flex;
    font-size: 12px;
    font-weight: 400;
    justify-content: center;
    line-height: 16px;
    margin: 14px 0 0;
}
.btms-agency-auth--reset .btms-agency-auth__card .btms-auth__foot a {
    color: var(--btms-color-text-muted);
    font-weight: 400;
    text-decoration: none;
}
.btms-agency-auth--reset .btms-agency-auth__card .btms-auth__foot a:hover {
    color: var(--md-sys-color-secondary);
}

/* 여행사 런타임 전용 계정 화면은 비밀번호 찾기 카드의 크기와 상태 표현을 그대로 쓴다. */
.btms-agency-auth--find-id .btms-agency-auth__card,
.btms-agency-auth--done .btms-agency-auth__card { min-height: 0; }
.btms-agency-auth--find-id .btms-agency-auth__card input { margin-bottom: 14px; }
.btms-agency-auth--find-id .btms-agency-auth__card #email { margin-bottom: 20px; }
.btms-agency-auth--find-id .btms-agency-auth__card form > button[type="submit"] {
    background: var(--md-sys-color-primary);
    border: 0;
    border-radius: 8px;
    color: var(--md-sys-color-on-primary);
    font-family: var(--btms-font-family);
    font-size: 14px;
    font-weight: 600;
    height: 46px;
    margin: 0;
    padding: 0;
    width: 100%;
}
.btms-agency-auth--done .btms-agency-auth__card { padding-block: 44px; }
.btms-agency-auth--done .btms-agency-auth__card .btms-auth__desc { margin-bottom: 26px; }
.btms-agency-auth--done .btms-agency-auth__card .btms-auth__cta {
    background: var(--md-sys-color-primary);
    border-radius: 8px;
    color: var(--md-sys-color-on-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 14px;
}
.btms-agency-auth .btms-agency-auth__messages {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 14px;
}
.btms-agency-auth .btms-agency-auth__messages > p,
.btms-agency-auth--login .btms-agency-auth__card > .error,
.btms-agency-auth--login .btms-agency-auth__card > .logout {
    border-radius: 7px;
    font-size: 11px;
    line-height: 1.5;
    margin: 10px 0 0;
    padding: 8px 10px;
}
.btms-agency-auth .btms-agency-auth__messages > p {
    margin: 0;
}

@media (max-width: 480px) {
    body.btms-agency-auth {
        padding: 24px 16px;
    }
    .btms-agency-auth .btms-agency-auth__card {
        max-width: 100%;
    }
    .btms-agency-auth--reset .btms-agency-auth__card .btms-auth__row {
        flex-wrap: nowrap;
    }
    .btms-agency-auth--reset .btms-agency-auth__card .btms-auth__side {
        width: auto;
    }
    .btms-agency-auth input:not([type="checkbox"]):not([type="hidden"]),
    .btms-agency-auth button { min-height: 44px; }
}
