/* Card/package wishlist heart, high contrast on any photo background */
button.fz-wishlist-btn,
.fz-wishlist-btn.togo-tour-card-wishlist,
.fz-wishlist-btn.togo-hot-deal-wishlist,
.hd-wishlist-btn.fz-wishlist-btn {
   border: 0;
   background: transparent;
   border-radius: 50%;
   width: auto;
   height: auto;
   min-width: 0;
   min-height: 0;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 0;
   cursor: pointer;
   transition: transform 0.2s ease;
   flex-shrink: 0;
   position: absolute;
   top: 14px;
   right: 14px;
   z-index: 4;
}

button.fz-wishlist-btn span,
.fz-wishlist-btn.togo-tour-card-wishlist span,
.fz-wishlist-btn.togo-hot-deal-wishlist span,
.hd-wishlist-btn.fz-wishlist-btn span {
   width: 40px !important;
   height: 40px !important;
   min-width: 40px;
   min-height: 40px;
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   border-radius: 50% !important;
   background: #fff !important;
   border: 1.5px solid rgba(0, 33, 71, 0.4) !important;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
   color: #002147 !important;
   font-size: 1.1rem !important;
   line-height: 1;
   transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button.fz-wishlist-btn span i,
.fz-wishlist-btn span i {
   color: inherit !important;
   -webkit-text-stroke: 0;
}

button.fz-wishlist-btn:hover,
.fz-wishlist-btn:hover {
   transform: scale(1.08);
}

button.fz-wishlist-btn:hover span,
.fz-wishlist-btn:hover span {
   color: #c41e3a !important;
   background: #fff !important;
   border-color: #c41e3a !important;
   box-shadow: 0 4px 14px rgba(196, 30, 58, 0.35) !important;
}

button.fz-wishlist-btn.is-active span,
button.fz-wishlist-btn[aria-pressed="true"] span,
.fz-wishlist-btn.is-active span,
.fz-wishlist-btn[aria-pressed="true"] span {
   color: #c41e3a !important;
   background: #fff5f7 !important;
   border-color: #c41e3a !important;
   box-shadow: 0 4px 14px rgba(196, 30, 58, 0.4) !important;
}

/* Hot-deal row layout: keep button in actions bar */
.togo-hot-deal-wishlist.fz-wishlist-btn {
   position: relative;
   top: auto;
   right: auto;
}

/* Tour detail title row, styled in tour-details-4.css (paired with share) */
.fz-wishlist-btn--tour-detail {
   position: relative;
   top: auto;
   right: auto;
}

.fz-auth-modal .nav-tabs .nav-link {
   color: #111;
   border: none;
   border-bottom: 2px solid transparent;
   border-radius: 0;
}

.fz-auth-modal .nav-tabs .nav-link.active {
   color: #002147;
   border-bottom-color: #002147;
   background: transparent;
}

.fz-auth-modal .form-control {
   min-height: 48px;
}

.fz-auth-modal .form-label {
   font-size: 0.875rem;
   margin-bottom: 0.35rem;
}

.fz-auth-modal .fz-auth-phone-row {
   display: flex;
   align-items: stretch;
   width: 100%;
   border: 1px solid #dee2e6;
   border-radius: 8px;
   overflow: visible;
   background: #fff;
}

.fz-auth-modal .fz-auth-phone-row:focus-within {
   border-color: #86b7fe;
   box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.fz-auth-modal .fz-auth-phone-row .fz-cc-wrap {
   position: relative;
   flex-shrink: 0;
}

.fz-auth-modal .fz-cc-trigger {
   height: 48px;
   min-width: 88px;
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 8px;
   padding: 0 12px;
   background: #fff;
   border: none;
   border-right: 1px solid #dee2e6;
   border-radius: 8px 0 0 8px;
   color: #111;
   font-weight: 500;
   cursor: pointer;
   user-select: none;
}

.fz-auth-modal .fz-cc-trigger.is-invalid {
   border-color: #dc3545;
}

.fz-auth-modal .fz-cc-trigger .fz-cc-arrow {
   font-size: 0.75rem;
   transition: transform 0.2s ease;
}

.fz-auth-modal .fz-cc-wrap.open .fz-cc-arrow {
   transform: rotate(180deg);
}

.fz-auth-modal .fz-cc-dropdown {
   display: none;
   position: absolute;
   top: calc(100% + 4px);
   left: 0;
   z-index: 1060;
   background: #fff;
   border: 1px solid #dee2e6;
   border-radius: 8px;
   box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
   width: min(280px, 90vw);
   overflow: hidden;
}

.fz-auth-modal .fz-cc-wrap.fz-cc-drop-up .fz-cc-dropdown {
   top: auto;
   bottom: calc(100% + 4px);
}

.fz-auth-modal .fz-cc-wrap.open .fz-cc-dropdown {
   display: block;
}

.fz-auth-modal .fz-cc-search-wrap {
   padding: 10px 12px;
   border-bottom: 1px solid #eee;
   display: flex;
   align-items: center;
   gap: 8px;
}

.fz-auth-modal .fz-cc-search {
   border: none !important;
   outline: none !important;
   width: 100% !important;
   padding: 0 !important;
   height: auto !important;
   font-size: 0.875rem !important;
   background: transparent !important;
   box-shadow: none !important;
}

.fz-auth-modal .fz-cc-list {
   max-height: 200px;
   overflow-y: auto;
}

.fz-auth-modal .fz-cc-item {
   padding: 8px 12px;
   display: flex;
   align-items: center;
   gap: 8px;
   cursor: pointer;
}

.fz-auth-modal .fz-cc-item:hover {
   background: #f3f4f6;
}

.fz-auth-modal .fz-cc-item.selected {
   background: #e5e7eb;
   font-weight: 600;
}

.fz-auth-modal .fz-cc-check {
   width: 14px;
   flex-shrink: 0;
}

.fz-auth-modal .fz-cc-dial {
   width: 44px;
   flex-shrink: 0;
   font-size: 0.85rem;
   font-weight: 600;
   color: #4b5563;
}

.fz-auth-modal .fz-cc-name {
   flex: 1;
   min-width: 0;
   font-size: 0.85rem;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
}

.fz-auth-modal .fz-auth-phone-row input[name="phone"] {
   flex: 1;
   min-width: 0;
   border: none !important;
   border-radius: 0 8px 8px 0 !important;
   min-height: 48px;
   box-shadow: none !important;
}

.fz-auth-modal .fz-auth-phone-row input[name="phone"]:focus {
   box-shadow: none !important;
}

.fz-auth-modal.was-validated .fz-auth-phone-row:has(.is-invalid),
.fz-auth-modal .fz-auth-phone-row.is-invalid {
   border-color: #dc3545;
}

.fz-auth-modal .fz-auth-phone-feedback {
   display: none;
   color: #dc3545;
   font-size: 0.875em;
   margin-top: 0.25rem;
}

.fz-auth-modal .fz-auth-phone-row.is-invalid + .fz-auth-phone-feedback {
   display: block;
}

.fz-auth-modal .form-control.is-invalid ~ .invalid-feedback,
.fz-auth-modal .form-check-input.is-invalid ~ .invalid-feedback {
   display: block;
}

.fz-auth-modal .form-check-input.is-invalid ~ .invalid-feedback {
   display: block;
}

.fz-auth-modal .fz-auth-forgot-link {
   color: #002147;
   text-decoration: none;
   font-weight: 600;
   font-size: 0.8125rem;
}

.fz-auth-modal .fz-auth-forgot-link:hover {
   color: #c41e3a;
   text-decoration: underline;
}

.fz-auth-modal.fz-auth-view-forgot .fz-auth-tabs,
.fz-auth-modal.fz-auth-view-forgot #fz-auth-tab-content > .tab-pane:not(#fz-auth-forgot-pane) {
   display: none !important;
}

.fz-auth-modal.fz-auth-view-forgot #fz-auth-forgot-pane {
   display: block !important;
   opacity: 1;
}

.fz-auth-modal .fz-auth-submit-btn {
   position: relative;
   min-height: 48px;
   display: inline-flex !important;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
}

.fz-auth-modal .fz-auth-submit-btn:disabled,
.fz-auth-modal .fz-auth-submit-btn.is-loading {
   opacity: 0.88;
   cursor: wait;
   pointer-events: none;
}

.fz-auth-modal .fz-auth-submit-btn .fz-auth-btn-label {
   display: inline-block;
   line-height: 1.2;
}

.fz-auth-modal .fz-auth-submit-btn .fz-auth-btn-spinner {
   display: none;
   width: 1rem;
   height: 1rem;
   flex-shrink: 0;
   border: 2px solid currentColor;
   border-right-color: transparent;
   border-radius: 50%;
   animation: fz-auth-spin 0.65s linear infinite;
}

.fz-auth-modal .fz-auth-submit-btn.is-loading .fz-auth-btn-spinner {
   display: inline-block;
}

@keyframes fz-auth-spin {
   to { transform: rotate(360deg); }
}

.fz-auth-modal .was-validated .form-control:invalid,
.fz-auth-modal .form-control.is-invalid {
   border-color: #dc3545;
}

.fz-auth-modal .was-validated .form-control:valid,
.fz-auth-modal .form-control.is-valid {
   border-color: #dee2e6;
   background-image: none;
}

/* Force active state colors for hot deal buttons */
button.fz-wishlist-btn.togo-hot-deal-wishlist.is-active span,
button.fz-wishlist-btn.togo-hot-deal-wishlist[aria-pressed="true"] span,
button.fz-wishlist-btn.togo-hot-deal-wishlist.is-active span i,
button.fz-wishlist-btn.togo-hot-deal-wishlist[aria-pressed="true"] span i {
   color: #c41e3a !important;
   background-color: #fff5f7 !important;
   border-color: #c41e3a !important;
}
