/* Checkout auth modal — single column, Google, guest CTA */

.tourmaster-lightbox-content .hca-modal [hidden]{
    display: none !important;
}

.tourmaster-lightbox-content .hca-modal{
    max-width: 26rem !important;
}

.tourmaster-lightbox-content .hca-title{
    font-size: 1.1rem !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}

.tourmaster-lightbox-content .hca-input{
    font-size: 0.95rem !important;
    padding: 0.6rem 0.85rem !important;
    min-height: 42px !important;
}

.tourmaster-lightbox-content .hca-primary,
.tourmaster-lightbox-content .hca-guest,
.tourmaster-lightbox-content .hca-back{
    font-size: 14px !important;
    line-height: 1.2 !important;
    padding: 0.65rem 0.9rem !important;
    min-height: 44px !important;
}

.tourmaster-lightbox-content .hca-guest-wrap .hca-sep{
    margin: 0.25rem 0 0 !important;
}

.tourmaster-lightbox-content .hca-primary {
    border: none !important;
    background: #e94445 !important;
    color: #fff !important;
}

.tourmaster-lightbox-content .hca-primary:hover,
.tourmaster-lightbox-content .hca-primary:focus {
    background: #d63a3b !important;
    color: #fff !important;
}

.tourmaster-lightbox-content .hca-guest {
    background: #f6f6f6 !important;
    color: #1a1a1a !important;
    border: 1px solid #d8d8d8 !important;
    font-weight: 600 !important;
}

.tourmaster-lightbox-content .hca-guest:hover,
.tourmaster-lightbox-content .hca-guest:focus {
    background: #efefef !important;
    color: #111 !important;
    border-color: #c4c4c4 !important;
}

.tourmaster-lightbox-content .hca-back {
    background: #fff !important;
    color: #555 !important;
    border: 1px solid #c8c8c8 !important;
    font-weight: 500 !important;
}

.tourmaster-lightbox-content .hca-back:hover,
.tourmaster-lightbox-content .hca-back:focus {
    border-color: #999 !important;
    color: #222 !important;
    background: #fafafa !important;
}

.tourmaster-lightbox-content .hca-sep--between {
    margin: 0.35rem 0 0.15rem !important;
}

.hca-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 28rem;
    margin: 0 auto;
    text-align: left;
}

.tourmaster-lightbox-content-wrap:has(.hca-modal) {
  max-width: 480px;
  padding: 30px;
}

.hca-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.25rem;
    color: #111;
}

.hca-sep {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #888;
    font-size: 0.85rem;
    text-transform: lowercase;
    margin: 0.25rem 0;
}

.hca-sep::before,
.hca-sep::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.hca-sep--between {
    margin: 0.35rem 0 0.15rem;
}

.hca-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
}

.hca-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.85rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    min-height: 44px;
}

.hca-input:focus {
    outline: 2px solid #e94445;
    outline-offset: 1px;
    border-color: #e94445;
}

.hca-primary,
.hca-guest,
.hca-back {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.95rem;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    min-height: 48px;
    line-height: 1.2;
}

.hca-primary {
    border: none;
    background: #e94445;
    color: #fff;
}

.hca-primary:hover,
.hca-primary:focus {
    background: #d63a3b;
    color: #fff;
}

.hca-guest {
    background: #f6f6f6;
    color: #1a1a1a;
    border: 1px solid #d8d8d8;
    font-weight: 600;
}

.hca-guest:hover,
.hca-guest:focus {
    background: #efefef;
    color: #111;
    border-color: #c4c4c4;
}

.hca-back {
    background: #fff;
    color: #555;
    border: 1px solid #c8c8c8;
    font-weight: 500;
}

.hca-back:hover,
.hca-back:focus {
    border-color: #999;
    color: #222;
    background: #fafafa;
}

.hca-step {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hca-email-display {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    word-break: break-all;
}

.hca-lost {
    font-size: 0.85rem;
    align-self: flex-start;
}

.hca-legal {
    font-size: 0.72rem;
    line-height: 1.45;
    color: #666;
    margin: 0.5rem 0 0;
}

.hca-legal a {
    text-decoration: underline;
    color: inherit;
}

.hca-register-consents {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.15rem;
}

.hca-consent-row label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #444;
    cursor: pointer;
}

.hca-consent-row input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.hca-consent-row a {
    color: #e94445;
    text-decoration: underline;
}

.hca-error {
    padding: 0.6rem 0.75rem;
    border-radius: 6px;
    background: #fdeaea;
    color: #a32;
    font-size: 0.875rem;
}

.hca-guest-wrap {
    margin-top: 0.25rem;
}

.hca-guest-wrap .hca-guest {
  margin-top: 12px;
}

.tourmaster-lightbox-content-wrap:has(.hca-modal) .tourmaster-lightbox-head {
  margin-bottom: 24px;
}

@media (max-width: 480px) {
    .hca-title {
        font-size: 1.15rem;
    }

    .tourmaster-lightbox-content .hca-primary,
    .tourmaster-lightbox-content .hca-guest,
    .tourmaster-lightbox-content .hca-back {
        font-size: 13px !important;
        padding: 0.6rem 0.85rem !important;
        min-height: 42px !important;
    }
}
