.te-auth[hidden], .te-auth [hidden] { display: none !important; }
body.te-auth-open { overflow: hidden; }
.te-auth { --te-orange: var(--orange, #ff771b); position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .52); overscroll-behavior: contain; }
.te-auth, .te-auth * { box-sizing: border-box; }
.te-auth__dialog { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 44px 36px 32px; border-radius: 18px; background: #fff; color: #333; box-shadow: 0 20px 65px rgba(0, 0, 0, .18); font-family: 'Poppins', Arial, sans-serif; outline: none; animation: te-auth-in .18s ease-out; }
.te-auth button, .te-auth input, .te-auth a { font-family: inherit; }
.te-auth button { cursor: pointer; }
.te-auth__close, .te-auth__back { position: absolute; top: 15px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: #a5a5a5; border-radius: 8px; }
.te-auth__close { right: 13px; font-size: 34px; line-height: 1; font-weight: 400; }
.te-auth__back { left: 13px; font-size: 24px; }
.te-auth__close:hover, .te-auth__back:hover { background: #fff3e9; color: var(--te-orange); }
.te-auth__heading { margin: 4px 0 30px; text-align: center; }
.te-auth__heading h2 { margin: 0 0 9px; color: var(--te-orange); font-size: 28px; font-weight: 600; line-height: 1.3; }
.te-auth__heading p { margin: 0; color: #666; font-size: 15px; line-height: 1.65; }
.te-auth__label { display: block; margin: 22px 0 10px; font-size: 14px; font-weight: 600; color: #363636; }
.te-auth__input { display: block; width: 100%; height: 56px; padding: 0 17px; border: 1px solid #dcdcdc; border-radius: 10px; background: #fff; color: #48536b; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.te-auth__input::placeholder { color: #969baa; opacity: 1; }
.te-auth__input[readonly] { background: #f7f8f9; color: #556076; }
.te-auth__input:focus { border-color: var(--te-orange); box-shadow: 0 0 0 3px rgba(255, 119, 27, .13); }
.te-auth__input[aria-invalid="true"] { border-color: #c63832; }
.te-auth__password { position: relative; }
.te-auth__password input { padding-right: 53px; }
.te-auth__eye { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; padding: 9px; border: 0; background: transparent; color: #999; border-radius: 7px; }
.te-auth__eye svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.te-auth__eye:hover { color: var(--te-orange); }
.te-auth__primary { width: 100%; min-height: 56px; margin: 28px 0 0; padding: 14px 12px; border: 0; border-radius: 10px; background: var(--te-orange); color: #fff; font-size: 16px; font-weight: 600; transition: background .15s; }
.te-auth__primary:hover { background: var(--orange-dark, #ec6510); }
.te-auth__primary:disabled { opacity: .65; cursor: wait; }
.te-auth__link { display: block; padding: 0; border: 0; background: transparent; color: var(--te-orange); font-size: 14px; font-weight: 600; }
.te-auth__link:hover { text-decoration: underline; }
.te-auth__forgot-center { margin: 20px auto 0; }
.te-auth__forgot-right { margin: 16px 0 0 auto; }
.te-auth__change { margin: 20px auto 0; font-size: 12px; }
.te-auth__hint { margin: 8px 0 0; color: #888; font-size: 11px; }
.te-auth__message { margin-bottom: 22px; padding: 12px 14px; background: #fff1ef; border: 1px solid #f5d2cc; border-radius: 8px; color: #a92e24; font-size: 12px; line-height: 1.7; }
.te-auth__message a { color: inherit; font-weight: 600; text-decoration: underline; }
.te-auth__message--success { background: #eef8f0; border-color: #c9e6ce; color: #29703b; }
.te-auth__mail-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: -6px auto 20px; border-radius: 50%; background: #fff1e7; color: var(--te-orange); }
.te-auth__mail-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.te-auth__verify-copy { margin: 0 0 26px; color: #777; font-size: 13px; line-height: 1.8; text-align: center; overflow-wrap: anywhere; }
.te-auth__verify-copy strong { color: #414b5c; font-weight: 600; }
.te-auth__otp-label, .te-auth__verify-hint { text-align: center; }
.te-auth__otp { max-width: 272px; height: 64px; margin-inline: auto; padding: 0 12px 0 24px; text-align: center; letter-spacing: 12px; font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
.te-auth__otp::placeholder { color: #c6cad2; }
.te-auth__verify-hint { line-height: 1.8; }
.te-auth__resend-copy { margin: 23px 0 6px; text-align: center; color: #888; font-size: 12px; }
.te-auth__resend { margin: 0 auto; }
.te-auth__resend:disabled { color: #aaa; text-decoration: none; cursor: default; }
.te-auth__divider { display: flex; align-items: center; gap: 18px; margin: 30px 0 24px; color: #999; font-size: 14px; }
.te-auth__divider::before, .te-auth__divider::after { content: ''; flex: 1; height: 1px; background: #e9e9e9; }
.te-auth__google { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; border: 1px solid #dcdcdc; border-radius: 10px; color: #555; font-size: 15px; font-weight: 600; text-decoration: none; }
.te-auth__google:hover { background: #fafafa; }
.te-auth__google svg { width: 22px; height: 22px; flex: 0 0 auto; }
.te-auth__captcha { margin-top: 24px; min-height: 78px; }
.te-auth__terms { margin: 16px 0 0; color: #919191; font-size: 10px; line-height: 1.8; text-align: center; }
.te-auth__terms a { color: var(--te-orange); text-decoration: none; }
.te-auth button:focus-visible, .te-auth a:focus-visible { outline: 3px solid rgba(255, 119, 27, .45); outline-offset: 3px; }
@keyframes te-auth-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .te-auth { padding: 12px; } .te-auth__dialog { padding: 42px 22px 26px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; } .te-auth__heading { margin-bottom: 24px; } .te-auth__heading h2 { font-size: 26px; } .te-auth__heading p { font-size: 13px; } .te-auth__input { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .te-auth__dialog { animation: none; } .te-auth * { transition: none; } }
