/* Trendy Holiday account access. Shared login and registration design. */
.frontend-page .modal.th-login-modal .modal-dialog { max-width: 480px; }
.frontend-page .modal.th-login-modal .modal-content,
.frontend-page .th-login-card { padding: 32px; border: 1px solid #dce8e9; border-top: 4px solid #087f8c; border-radius: 20px; background: #fff; box-shadow: 0 24px 80px rgba(18,55,67,.2); color: #123743; }
.frontend-page .modal.th-login-modal .th-login-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 0 24px; border-bottom: 1px solid #e5eeee; }
.th-login-brand { display: block; width: 220px; max-width: 75%; height: auto; }
.th-login-close { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #dce8e9; border-radius: 50%; background: #f4f8f8; color: #365762; cursor: pointer; }
.th-login-close span { font-family: Arial, sans-serif; font-size: 27px; line-height: 1; }
.th-login-close:hover { background: #e7f3f2; color: #066875; }
.frontend-page .modal.th-login-modal .modal-body { padding: 0; }
.th-login-intro { padding: 24px 0 22px; }
.th-login-eyebrow { display: flex; align-items: center; gap: 9px; color: #567079; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.th-login-eyebrow::before { content: ''; width: 22px; height: 2px; background: #bc9655; }
.frontend-page .modal.th-login-modal .modal-title,
.frontend-page .th-login-card .form-title { margin: 10px 0 8px; color: #123743; font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: -.8px; }
.th-login-intro p { margin: 0; color: #647b83; font-size: 13px; line-height: 1.7; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .form-group { position: relative; margin: 0 0 20px; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .th-login-field label { display: block; margin: 0 0 8px; color: #294b57; font-size: 12px; font-weight: 500; line-height: 18px; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .th-login-field .form-control { height: 52px; padding: 12px 44px 12px 15px; border: 1px solid #d8e4e7; border-radius: 10px; background: #f8fbfb; color: #123743; font-size: 14px; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .form-control::placeholder { color: #7e9299; opacity: 1; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .form-control:focus { border-color: #087f8c; background: #fff; box-shadow: 0 0 0 3px rgba(8,127,140,.12); }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .th-login-field .input-icon { position: absolute; top: 52px; right: 16px; color: #68868f; font-size: 18px; line-height: 1; transform: translateY(-50%); pointer-events: none; }
.th-login-options { align-items: center; flex-wrap: wrap; gap: 12px; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .th-login-options label { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #567079; font-size: 12px; cursor: pointer; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form input[type=checkbox] { width: 16px; height: 16px; margin: 0; accent-color: #087f8c; }
.th-login-form a { color: #087783; font-weight: 500; }
.th-login-options a { font-size: 12px; }
.th-login-form a:hover { color: #055661; text-decoration: underline; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .form-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border: 1px solid #087f8c; border-radius: 10px; background: #087f8c; color: #fff; font-size: 14px; font-weight: 600; text-transform: none; box-shadow: 0 6px 16px rgba(8,127,140,.14); transition: background .2s; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .form-submit:hover { background: #066875; border-color: #066875; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .form-submit:disabled { opacity: .65; cursor: wait; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .th-login-signup { padding-top: 20px; border-top: 1px solid #e5eeee; color: #647b83; font-size: 12px; line-height: 1.8; }
.th-login-signup a { margin-left: 4px; }
.frontend-page .modal.th-login-modal .th-login-form .advanced,
.frontend-page .th-login-card .th-login-form .advanced { margin: 0 0 20px; padding: 16px; border: 1px solid #e5eeee; border-radius: 10px; background: #f8fbfb; }
.th-login-form .advanced .row { row-gap: 10px; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .advanced a { position: relative; border-radius: 6px; }
.frontend-page :is(#login, #register, .th-login-card) .th-login-form .advanced .input-icon { position: static; transform: none; color: inherit; font-size: 14px; line-height: 1; }
.th-login-form .invalid-feedback { font-size: 12px; line-height: 1.6; }
.th-login-form .message-error { margin-bottom: 12px; }
.th-login-form a:focus-visible, .th-login-form button:focus-visible,
.th-login-form input[type=checkbox]:focus-visible, .th-login-close:focus-visible { outline: 3px solid #bc9655; outline-offset: 3px; }
.frontend-page .bc-login-page { padding: 64px 0; }
.frontend-page .modal.th-register-modal .modal-dialog { max-width: 520px; }
.frontend-page .modal.th-register-modal .modal-content { padding: 28px; }
.frontend-page .modal.th-register-modal .th-login-header { padding-bottom: 18px; }
.th-register-modal .th-login-intro, .th-register-card .th-login-intro { padding: 20px 0 18px; }
.th-register-names { margin-left: -8px; margin-right: -8px; }
.th-register-names > [class*=col-] { padding-left: 8px; padding-right: 8px; }
.frontend-page :is(#register, .th-register-card) .th-register-form .form-group { margin-bottom: 14px; }
.frontend-page :is(#register, .th-register-card) .th-register-form .th-login-field label { margin-bottom: 6px; }
.frontend-page :is(#register, .th-register-card) .th-register-form .th-login-field .form-control { height: 48px; }
.frontend-page :is(#register, .th-register-card) .th-register-form .th-login-field .input-icon { top: 48px; }
.frontend-page :is(#register, .th-register-card) .th-register-terms { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 14px; border: 1px solid #e5eeee; border-radius: 10px; background: #f8fbfb; color: #567079; font-size: 12px; line-height: 1.8; font-weight: 400; cursor: pointer; }
.frontend-page :is(#register, .th-register-card) .th-register-terms input { flex: 0 0 16px; margin-top: 3px; }
.th-register-terms > span { min-width: 0; }
@media (max-width: 575px) {
    .frontend-page .modal.th-login-modal .modal-dialog { margin: 16px auto; max-width: calc(100% - 32px); min-height: calc(100% - 32px); }
    .frontend-page .modal.th-login-modal .modal-content,
    .frontend-page .th-login-card { padding: 24px; border-radius: 16px; }
    .frontend-page .modal.th-register-modal .modal-content { padding: 24px; }
    .th-login-brand { width: 200px; }
    .frontend-page :is(#login, #register, .th-login-card) .th-login-form .th-login-field .form-control { font-size: 16px; }
    .frontend-page .bc-login-page { padding: 32px 0; }
}
