/**
 * Booking Form Styles
 *
 * @package    Ghn_Booking_System
 * @subpackage Ghn_Booking_System/public/css
 */

/* Main Container */
.ghl-booking-container {
    max-width: 1400px;
    margin: 0 auto;
    font-family: "Nunito", sans-serif;
    color: #333;
    padding: 20px;
    position: relative;
}

.ghl-booking-container p,
.ghl-booking-container a,
.ghl-booking-container button,
.ghl-booking-container input,
.ghl-booking-container select,
.ghl-booking-container textarea {
    font-family: "Nunito", sans-serif;
    outline: none;
}

.ghl-booking-container h1,
.ghl-booking-container h2,
.ghl-booking-container h3,
.ghl-booking-container h4,
.ghl-booking-container h5,
.ghl-booking-container h6
{
    font-family: "NeuePlak-WideBold", sans-serif;
}

.ghl-back-link {
    position: absolute;
    left: 0;
}

.ghl-booking-form {
    max-width: 800px;
    margin: auto;
    position: relative;
    z-index: 1000;
}

/* Progress Bar */
.ghl-booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.ghl-progress-step {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 5px;
}

.ghl-step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: transparent;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 1px solid #FF7B7A;
}

.ghl-progress-step.active .ghl-step-number {
    background-color: #FF7B7A;
    color: white;
}

.ghl-step-text {
    font-size: 14px;
    color: #999;
}

.ghl-progress-step.active .ghl-step-text {
    color: #FF7B7A;
}

.ghl-progress-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ccc;
    margin: 0 10px;
    position: relative;
}

/* Back Link */
.ghl-back-link {
    margin-bottom: 20px;
}

.ghl-back-link a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.ghl-back-link a:hover {
    text-decoration: underline;
}

.ghl-confirmation-message p {
    color: #283645;
    font-weight: 500;
    font-size: 1rem;
}

/* Booking Title */
.ghl-booking-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
}

/* Form Fields */
.ghl-booking-fields {
    max-width: 450px;
    margin: auto;
}

select#ghl-booking-day {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    max-width: 130px;
    text-align: center;
    padding-right: 5px;
    font-size: 14px;
    color: #373c3c;
}

select#ghl-booking-month {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid #999;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: left;
    padding-right: 5px;
    font-size: 14px;
}

.ghl-field-group {
    margin-bottom: 20px;
}

.ghl-field-row {
    display: flex;
    gap: 20px;
}

.ghl-field-row .ghl-field-group {
    flex: 1;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
    text-transform: capitalize;
    color: #373c3c;
}

.ghl-input,
.ghl-select,
.ghl-textarea,
#ghl-card-element {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
    background-color: transparent;
}

/* Custom Select Styling */
.ghl-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
    color: #333;
}

/* Dropdown styling */
select.ghl-select option {
    background-color: #293745;
    color: white;
    padding: 12px 15px;
    font-size: 16px;
    border-bottom: 1px solid #1e2a36;
    line-height: 1.5;
    font-weight: 400;
}

/* First and last options for better rounding */
select.ghl-select option:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

select.ghl-select option:last-child {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: none;
}

/* Styling for the dropdown when open */
select.ghl-select:focus {
    outline: none;
    border-color: #293745;
}

.ghl-textarea {
    min-height: 100px;
    resize: vertical;
}

/* Date Picker */
.ghl-date-picker-container {
    display: flex;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: visible;
    position: relative;
}

/* Time Picker */
.ghl-time-picker-container {
    display: flex;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: visible;
    position: relative;
    border: 1px solid #999;
    align-items: center;
}

.ghl-time-display {
    flex: 1;
    padding: 8px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: left;
}

/* Calendar Popup */
.ghl-calendar-popup {
    display: none;
    position: absolute;
    top: 75px; /* Fixed position from top */
    right: 0;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    z-index: 9999;
    margin-top: 5px;
}

.ghl-calendar-popup.active {
    display: block;
}

/* Time Popup */
.ghl-time-popup {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    margin-top: 5px;
}

.ghl-time-popup.active {
    display: block;
}

.ghl-time-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.ghl-time-header span {
    font-weight: 600;
}

.ghl-time-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.ghl-time-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eee;
}

.ghl-time-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.ghl-time-item:hover {
    background-color: #f9f9f9;
}

.ghl-time-item.selected {
    background-color: #f0f0f0;
    font-weight: 600;
}

.ghl-time-item.unavailable {
    color: #ccc;
    cursor: not-allowed;
}

.ghl-time-footer {
    padding: 15px;
}

.ghl-time-range-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ghl-time-range {
    flex: 1;
    margin: 0 5px;
    padding: 8px 0;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s;
}

.ghl-time-range:first-child {
    margin-left: 0;
}

.ghl-time-range:last-child {
    margin-right: 0;
}

.ghl-time-range.active {
    background: #fff;
    border-color: #FF7B7A;
    color: #FF7B7A;
}

.ghl-time-search-btn {
    width: 100%;
    padding: 12px 15px;
    background-color: #FF7B7A;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.ghl-time-search-btn:hover {
    background-color: #e56e6d;
}

.ghl-time-button {
    background: none;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    color: #666;
}

.ghl-calendar-header {
    background-color: #FF7B7A;
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.ghl-calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ghl-calendar-month-year {
    font-size: 16px;
    text-transform: uppercase;
}

.ghl-calendar-prev,
.ghl-calendar-next {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    padding: 0 5px;
}

.ghl-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 600;
    background-color: #f8f8f8;
}

.ghl-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    padding: 5px;
    background-color: #fff;
    min-height: 240px; /* Ensure consistent height */
}

.ghl-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
    border-radius: 2px;
    color: #333;
}

.ghl-calendar-day:hover:not(.disabled):not(.selected) {
    background-color: #f0f0f0;
}

.ghl-calendar-day.selected {
    background-color: #FF7B7A;
    color: white;
    font-weight: 600;
}

.ghl-calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.ghl-calendar-day.other-month {
    color: #aaa;
}

.ghl-calendar-footer {
    padding: 6px 5px;
    text-align: center;
    border-top: 1px solid #eee;
}

.ghl-quick-dates {
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.ghl-quick-date {
    background: none;
    border: 1px solid #FF7B7A;
    border-radius: 4px;
    color: #FF7B7A;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 8px;
    flex: 1;
    transition: all 0.2s ease;
}

.ghl-quick-date:hover {
    background-color: #FF7B7A;
    color: white;
}

.ghl-calendar-today {
    background: none;
    border: none;
    color: #FF7B7A;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 5px 10px;
}

/* Custom dropdown styling for webkit browsers */
select.ghl-select::-webkit-scrollbar {
    width: 6px;
}

select.ghl-select::-webkit-scrollbar-track {
    background: #1e2a36;
}

select.ghl-select::-webkit-scrollbar-thumb {
    background-color: #4a5a6a;
    border-radius: 4px;
}

/* Firefox scrollbar styling */
select.ghl-select {
    scrollbar-width: thin;
    scrollbar-color: #4a5a6a #1e2a36;
}

/* Selected option styling */
select.ghl-select option:checked,
select.ghl-select option:hover,
select.ghl-select option:focus {
    background: linear-gradient(0deg, #3a4a5a 0%, #3a4a5a 100%);
    background-color: #3a4a5a !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Styling for the checkmark on selected option */
select.ghl-select option:checked::before {
    content: '✓';
    display: inline-block;
    margin-right: 5px;
    color: white;
}

.ghl-date-picker-container .ghl-select {
    flex: 1;
}

.ghl-calendar-button {
    background-color: #293745;
    border: 0px solid #ddd;
    border-radius: 4px;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #fff;
}

/* Time Slots */
.ghl-time-slots {
    margin-top: 30px;
}

.ghl-time-slots h3 {
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: capitalize;
    letter-spacing: normal;
	font-family: "Nunito", sans-serif;
}

.ghl-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.ghl-time-slot {
    padding: 12px;
    background-color: #FF7B7A;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ghl-time-slot:hover {
    background-color: #FF7B7A;
}

.ghl-time-slot.unavailable {
    background-color: #ccc;
    cursor: not-allowed;
}

.ghl-time-slot.selected {
    background-color: #333;
}

.ghl-load-more {
    text-align: center;
    margin-bottom: 20px;
}

.ghl-load-more button {
    background: none;
    border: none;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 0 auto;
    width: 100%;
    text-align: right;
}

.ghl-load-more button:hover {
    text-decoration: underline;
}

/* No Times Message */
.ghl-no-times-message {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ghl-no-times-message p {
    margin: 1px 0;
    font-size: 14px;
    color: #373c3c;
}

#ghl-alert-me {
    background-color: transparent;
    border: 1.5px solid #283643;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    gap: 10px;
    font-weight: 500;
    color: #283643;
}

.ghl-booking-note p{
    text-align: left;
    font-size: 14px;
    color: #373c3c;
}

div#ghl-step-details .ghl-booking-note p{
    text-align: center;
}

/* Terms Agreement */
.ghl-terms-agreement {
    margin: 10px 0;
    text-align: left;
    font-size: 14px;
    color: #666;
}

.ghl-terms-agreement a {
    color: #FF7B7A;
    text-decoration: underline;
}

.ghl-terms-agreement a:hover {
    color: #e56e6d;
}

/* Share Booking */
.ghl-share-booking {
    margin: 30px 0;
    text-align: center;
}

.ghl-share-booking h3 {
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: capitalize;
    font-family: "Nunito", sans-serif;
    letter-spacing: 0;
}

.ghl-share-buttons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.ghl-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    font-size: 12px;
}

.ghl-share-button svg {
    margin-right: 10px;
}

.ghl-whatsapp-button {
    background-color: #25D366;
}

.ghl-whatsapp-button:hover {
    background-color: #128C7E;
	text-decoration
}

/* Booking Actions */
.ghl-booking-actions {
    margin-top: 15px;
    text-align: center;
}

.ghl-button {
    padding: 8px 20px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: capitalize;
    letter-spacing: 0;
    transition: background-color 0.3s;
}

.ghl-primary-button {
    background-color: #f76c6c;
    color: white;
    width: 100%;
    border: 1.5px solid #f76c6c;
}

.ghl-primary-button:hover {
    background-color: #e55c5c;
}

.ghl-secondary-button {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.ghl-secondary-button:hover {
    background-color: #f1f1f1;
}

/* Booking Summary */
.ghl-booking-summary {
    display: flex ;
    flex-direction: row;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 30px !important;
    margin: 0;
    gap: 50px;
    justify-content: center;
}

.ghl-booking-summary h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: underline;
}

.ghl-booking-time {
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
}

.ghl-booking-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
}

.ghl-timer-icon {
    color: #000;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='%23666' d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
    margin-right: 5px;
}

/* Form Columns Layout */
.ghl-form-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.ghl-form-left-column,
.ghl-form-right-column {
    flex: 1;
}

/* Express Checkout Section */
.ghl-express-checkout {
    margin-bottom: 20px;
}

.ghl-checkout-heading {
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-weight: 300;
    text-align: center;
    letter-spacing: normal;
}

.ghl-payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* Stripe Payment Request Button */
#ghl-payment-request-button {
    width: 100%;
    margin-bottom: 20px;
}

#ghl-payment-request-button .StripeElement {
    width: 100%;
    height: 48px;
    border-radius: 4px;
}

.ghl-payment-buttons-separator {
    text-align: center;
    margin: 5x 0;
    position: relative;
}

.ghl-payment-buttons-separator::before {
	display:none;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #ddd;
    z-index: 1;
}

.ghl-payment-buttons-separator span {
    background-color: transparent;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.ghl-express-checkout {
    margin-bottom: 30px;
}

.ghl-express-checkout .ghl-checkout-heading {
    margin-bottom: 15px;
    font-size: 14px;
	font-family: "Nunito", sans-serif;
    color: #373c3c;
}

/* Button highlight animation for Apple Pay/Google Pay flow */
.ghl-button-highlight {
    animation: ghl-pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(255, 123, 122, 0.7);
}

@keyframes ghl-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 123, 122, 0.7);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 123, 122, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 123, 122, 0);
    }
}

/* Payment secured indicator */
.ghl-payment-secured {
    padding: 15px;
    margin-bottom: 20px;
}

.ghl-payment-secured-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #155724;
    font-weight: 500;
}

.ghl-check-icon {
    font-size: 18px;
}

/* Stripe 3D Secure Authentication Modal and Popup Z-index Fixes */
/* Ensure Stripe's 3D Secure authentication popups appear above everything */
.StripeElement iframe[name^="__privateStripeFrame"],
.StripeElement iframe[title="Secure payment input frame"],
.__PrivateStripeElement iframe,
#card-auth-iframe-3ds,
#stripe-auth-iframe,
iframe[name^="stripe_checkout_app"],
iframe[name^="__privateStripeFrame"]{
    z-index: 2147483647 !important;
}

/* Stripe 3D Secure challenge popup containers */
div[data-testid="threeds-challenge-frame"],
div[id*="stripe"],
div[class*="stripe"],
.stripe-3ds-challenge-container,
.stripe-modal-overlay,
.stripe-challenge-iframe-container {
    z-index: 2147483647 !important;
    position: fixed !important;
}

/* Ensure Stripe's modal overlays are on top */
.stripe-modal,
.stripe-overlay,
div[style*="position: fixed"][style*="z-index"] {
    z-index: 2147483646 !important;
}

/* Specific fixes for Payment Request (Apple Pay/Google Pay) modal conflicts */
.ghl-booking-form {
    position: relative;
    z-index: 1000;
}

/* Ensure our modals don't interfere with Stripe authentication */
.ghl-modal {
    z-index: 10000;
}

/* But let Stripe authentication go above our modals */
body:has(iframe[title*="3D Secure"]) .ghl-modal,
body:has(iframe[name*="stripe"]) .ghl-modal {
    z-index: 999 !important;
}

/* Hide our form overlays when Stripe authentication is active */
.ghl-booking-form.stripe-auth-active {
    pointer-events: none;
}

.ghl-booking-form.stripe-auth-active * {
    pointer-events: auto;
}

/* Card details visibility management */
.ghl-card-details.ghl-card-details-hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
}

.ghl-payment-button {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background-color: #FF7B7A;
    color: white;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghl-payment-button:hover {
    background-color: #e76c6b;
}

.ghl-payment-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 123, 122, 0.4);
}

.ghl-payment-button span {
    margin-right: 8px;
}

/* Payment icons */
.ghl-apple-icon,
.ghl-link-icon,
.ghl-paypal-icon,
.ghl-google-pay-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.ghl-apple-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M14.5 9.5c0-1.3.7-2.4 1.8-3.1-.7-1-1.8-1.6-3-1.7-1.3-.1-2.5.7-3.1.7-.6 0-1.6-.7-2.6-.7-1.3 0-2.6.8-3.3 2-.7 1.2-.6 3.5.5 5.4.4.6.8 1.3 1.5 1.3.6 0 .8-.4 1.6-.4.8 0 1 .4 1.6.4.7 0 1.1-.6 1.5-1.2.3-.4.5-.9.7-1.4-1.8-.7-1.9-3.1-.2-3.3z'/%3E%3Cpath fill='white' d='M12.4 3.5c.7-.8 1.1-1.9 1-3-1 .1-1.9.6-2.6 1.4-.6.7-1 1.8-.9 2.9 1 0 1.9-.5 2.5-1.3z'/%3E%3C/svg%3E");
}

.ghl-link-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M9 0C4.03 0 0 4.03 0 9s4.03 9 9 9 9-4.03 9-9-4.03-9-9-9zM7.5 13.5h-3v-9h3v9zm6 0h-3v-9h3v9z'/%3E%3C/svg%3E");
}

.ghl-paypal-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M15.4 5.8c.1-.5.1-1 0-1.5-.4-1.8-2-2.3-4-2.3H5.9c-.3 0-.5.2-.6.5L3.1 14.1c0 .2 0 .4.1.5.1.1.3.2.4.2h3l-.2 1.5c0 .2 0 .3.1.4.1.1.2.2.4.2h2.5c.3 0 .5-.2.6-.5v-.1l.5-3h1.6c2.4 0 4.3-1 4.8-3.8.2-1.3 0-2.3-.5-3.1-.1-.2-.3-.4-.5-.6-.6z'/%3E%3Cpath fill='white' d='M6.9 6.4c0-.1.1-.2.2-.2h4.2c.5 0 .9 0 1.3.1.1 0 .2 0 .3.1.1 0 .2.1.3.1.1 0 .1 0 .2.1.2.1.4.2.5.4.2.3.3.7.3 1.2 0 .2 0 .4-.1.6-.2 1.2-1.1 1.8-2.9 1.8H9.5c-.3 0-.5.2-.6.5l-.8 5h-.5l1.3-8.7z'/%3E%3C/svg%3E");
}

.ghl-google-pay-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='white' d='M16.5 7.5h-6v2.25h3.75c-.3 1.5-1.5 2.25-3 2.25-1.8 0-3.3-1.5-3.3-3.3s1.5-3.3 3.3-3.3c.75 0 1.5.3 2.1.75l1.5-1.5c-1.05-.9-2.4-1.5-3.9-1.5-3.3 0-6 2.7-6 6s2.7 6 6 6c3 0 5.7-2.25 5.7-6 0-.45 0-.9-.15-1.5z'/%3E%3C/svg%3E");
}

.ghl-apple-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='white' d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.87 1.43-.38 2.55-.95 3.97-.75 1.7.23 2.97 1.12 3.8 2.31-3.04 1.97-2.35 5.96.26 7.54-.67 1.37-1.41 2.72-3.11 3Z'/%3E%3Cpath fill='white' d='M12.03 7.25c-.15-2.23 1.66-4.22 3.74-4.25.27 2.57-2.19 4.31-3.74 4.25Z'/%3E%3C/svg%3E");
    margin-right: 8px;
}

.ghl-link-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16'%3E%3Cpath fill='white' d='M13.06 8.11l1.415 1.415a7 7 0 0 1 0 9.9l-.354.353a7 7 0 0 1-9.9-9.9l1.415 1.415a5 5 0 1 0 7.07 7.07l.354-.353a5 5 0 0 0 0-7.07l-1.415-1.415l1.415-1.414zm-2.12 2.121l-1.415-1.414a7 7 0 0 1 0-9.9l.354-.353a7 7 0 0 1 9.9 9.9l-1.415-1.415a5 5 0 1 0-7.07-7.07l-.354.353a5 5 0 0 0 0 7.07l1.415 1.415l-1.414 1.414z'/%3E%3C/svg%3E");
    margin-right: 8px;
}

.ghl-see-more {
    text-align: center;
    margin: 10px 0;
}

.ghl-see-more a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.ghl-down-arrow {
    font-size: 10px;
    margin-left: 3px;
}

/* Card Details Section */
.ghl-card-details {
    margin-top: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.ghl-card-type {
    margin-bottom: 15px;
}

.ghl-card-type label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.ghl-card-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='%23333' d='M22 10V8H2v2h20zm0 1H2v5a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-5zm0-7a1 1 0 0 1 1 1v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V5a1 1 0 0 1 1-1h20zm-7 8h4v2h-4v-2z'/%3E%3C/svg%3E");
    margin-right: 8px;
    margin-left: 8px;
}

.ghl-terms-conditions, 
.ghl-marketing-preferences {
    margin-bottom: 10px;
}

.ghl-terms-agreement p {
    font-size: 14px;
    color: #666;
}

.ghl-button {
  
    font-weight: 400;
    color: #283644 !important;
    font-family: "NeuePlak WideBold", sans-serif !important;
    letter-spacing: 0.14rem;
}

.ghl-terms-conditions label, 
.ghl-marketing-preferences label {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
    margin-bottom: 10px;
}

.ghl-terms-conditions input, 
.ghl-marketing-preferences input {
    margin-right: 10px;
    margin-top: 3px;
}

.ghl-terms-link {
    color: #333;
    text-decoration: underline;
    font-weight: 600;
}

.ghl-booking-note {
    margin-top: 20px;
    text-align: center;
}

.ghl-booking-note p {
    font-size: 14px;
    color: #373c3c;
    line-height: 1.5;
}

/* Confirmation */
.ghl-confirmation-message {
    text-align: center;
}

.ghl-confirmation-message > p {
    font-size: 14px;
    margin-bottom: 30px;
}

.ghl-confirmation-details {
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.ghl-confirmation-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.ghl-confirmation-label {
    text-transform: capitalize;
    font-size: 14px;
}

.ghl-confirmation-email {
    margin-bottom: 30px;
    font-size: 14px;
}

/* Accordion */

.ghl-accordion {
    padding: 20px 65px;
    margin-bottom: 30px;
}

/* Add to Calendar Button Enhanced Styling */
button#ghl-add-to-calendar {
    background-color: transparent;
    border: 1.5px solid #283643;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    gap: 10px;
    font-weight: 500;
    color: #283643;
}

button#ghl-add-to-calendar:hover {
    background-color: #FF7B7A;
    color: white;
}

.ghl-confirmation-actions {
    max-width: 500px;
    margin: auto;
}

.ghl-accordion-content p {
    text-align: left;
    margin: 0;
    font-size: 12px;
    line-height: 22px;
}


.ghl-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    cursor: pointer;
}

.ghl-accordion-header h3 {
    font-size: 14px;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: normal;
    color: #283645;
    font-family: "Nunito", sans-serif;
}

.ghl-accordion-icon {
    font-size: 18px;
}

.ghl-accordion-content {
    padding: 0 0 15px;
    overflow: hidden;
}

.ghl-accordion-item {
    border-bottom: 1px solid rgba(40, 54, 69, 0.1);
}

.ghl-accordion-item:last-child {
    border-bottom: none;
}

.ghl-accordion-item.active .ghl-accordion-header {
    font-weight: 700;
}

/* Booking Steps */
.ghl-booking-step {
    display: none;
}

.ghl-booking-step.active {
    display: block;
}

.ghl-confirmation-details--wrapper {
    max-width: 500px;
    margin: auto;
}

a.ghl-terms-link {
    margin-left: 5px;
}

/* Responsive */
@media (max-width: 768px) {

    .ghl-accordion-header h3 {
        font-size: 12px;
    }

    .ghl-share-booking h3 {
        font-weight: 500;
        letter-spacing: 0px;
    }

    .ghl-field-row {
        gap: 10px;
    }

    .ghl-accordion {
        padding: 15px;
        text-align: left;
    }

    .ghl-accordion .ghl-confirmation-email {
        margin: 0;
        margin-bottom: 10px;
    }

    .ghl-confirmation-details {
        padding: 10px;
        border-radius: 4px;
        margin-bottom: 6px;
    }

    .ghl-confirmation-message > p {
        margin-bottom: 20px;
    }

    .ghl-accordion-header{
        padding: 5px;
    }

    .ghl-accordion-content p {
        font-size: 10px;
        line-height: 14px;
    }
    
    .ghl-time-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ghl-booking-summary {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .ghl-form-columns {
        flex-direction: column;
        gap: 20px;
    }
    
    .ghl-back-link {
        position: absolute;
        left: 0;
        top: 10px;
    }

    .ghl-booking-progress {
        margin-top: 45px;
    }
    
    .ghl-booking-title {
        font-size: 24px;
    }
    
    .ghl-booking-form-fields {
        padding: 0 10px;
    }
    
    .ghl-booking-note p {
        font-size: 12px;
    }
    
    .ghl-terms-conditions label, 
    .ghl-marketing-preferences label {
        font-size: 13px;
    }
    
    .ghl-booking-container {
        padding: 10px;
    }

    .ghl-step-text {
        font-size: 8px;
    }

    .ghl-alert-body--reservation-box {
        flex-direction: column;
    }
    .ghl-alert-body--reservation-details {
        width: 100% !important;
    }
    .ghl-alert-body--reservation-time {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    /* .ghl-time-slots-grid {
        grid-template-columns: 1fr;
    } */
    
    /* .ghl-date-picker-container {
        flex-direction: column;
    } */
    
    .ghl-calendar-button {
        width: 45px;
        margin-top: 0;
        height: 50px;
    }
}

/* Form Feedback Messages */
.ghl-form-feedback {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

.ghl-form-feedback.error {
    color: #d64541;
}

.ghl-form-feedback.success {
    color: #373c3c;
}

/* Stripe Elements styling */
#ghl-card-number-element,
#ghl-card-expiry-element,
#ghl-card-cvc-element {
    height: 42px;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 4px;
    background-color: transparent;
    transition: border-color 0.2s ease;
}

#ghl-card-number-element.StripeElement--focus,
#ghl-card-expiry-element.StripeElement--focus,
#ghl-card-cvc-element.StripeElement--focus {
    border-color: #FF7B7A;
    box-shadow: 0 0 0 1px rgba(255, 123, 122, 0.3);
}

#ghl-card-number-element.StripeElement--invalid,
#ghl-card-expiry-element.StripeElement--invalid,
#ghl-card-cvc-element.StripeElement--invalid {
    border-color: #e74c3c;
}

#ghl-card-errors {
    color: #e74c3c;
    font-size: 14px;
    margin-top: -15px;
    margin-bottom: 10px;
}

/* Custom Radio Buttons and Checkboxes */
.ghl-radio-container,
.ghl-checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    font-weight: normal;
    text-transform: none;
}

/* Hide the browser's default radio button and checkbox */
.ghl-radio-container input,
.ghl-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom radio button */
.ghl-radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 50%;
}

/* Custom checkbox */
.ghl-checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 4px;
}

/* On mouse-over */
.ghl-radio-container:hover input ~ .ghl-radio-checkmark,
.ghl-checkbox-container:hover input ~ .ghl-checkbox-checkmark {
    border-color: #FF7B7A;
}

/* When the radio button is checked */
.ghl-radio-container input:checked ~ .ghl-radio-checkmark {
    background-color: #fff;
    border-color: #FF7B7A;
}

/* When the checkbox is checked */
.ghl-checkbox-container input:checked ~ .ghl-checkbox-checkmark {
    background-color: #fff;
    border-color: #FF7B7A;
}

/* Create the indicator (dot/circle) - hidden when not checked */
.ghl-radio-checkmark:after,
.ghl-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.ghl-radio-container input:checked ~ .ghl-radio-checkmark:after,
.ghl-checkbox-container input:checked ~ .ghl-checkbox-checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.ghl-radio-container .ghl-radio-checkmark:after {
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FF7B7A;
}

/* Style the indicator (checkmark) */
.ghl-checkbox-container .ghl-checkbox-checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid #FF7B7A;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Styling for checkbox groups and radio groups */
.ghl-checkbox-group,
.ghl-radio-group {
    margin-bottom: 15px;
}

/* For the special case of the terms and marketing preferences */
.ghl-terms-conditions,
.ghl-marketing-preferences {
    margin-top: 20px;
}

.ghl-terms-conditions .ghl-checkbox-container,
.ghl-marketing-preferences .ghl-checkbox-container {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
}


.ghl-whatsapp-button:hover {
    background-color: #128C7E;
    color: #fff;
}

/* International Telephone Input Styles */
.iti {
    width: 100%;
    display: block;
}

.iti__flag-container {
    height: 48px;
    border: 1px solid #999;
    border-right: none;
    border-radius: 4px 0 0 4px;
    background-color: transparent;
}

.iti__selected-flag {
    height: 46px;
    background-color: transparent;
    border: none;
    padding: 0 12px;
    display: flex;
    align-items: center;
}

.iti__arrow {
    margin-left: 8px;
    border-top: 4px solid #666;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}

.iti input[type=tel] {
    height: 48px;
    border: 1px solid #999;
    border-left: none;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
}

.iti input[type=tel]:focus {
    outline: none;
}

.iti input[type=tel]::placeholder {
    color: #999;
    font-size: 16px;
}

.iti__country-list {
    z-index: 9999;
    max-height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: white;
    margin-top: 2px;
}

.iti__country {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.iti__country:hover {
    background-color: #f5f5f5;
}

.iti__country.iti__highlight {
    background-color: #FF7B7A;
    color: white;
}

.iti__country-name {
    color: inherit;
}

.iti__dial-code {
    color: #666;
    margin-left: 8px;
}

.iti__highlight .iti__dial-code {
    color: white;
}

/* Error and valid states */
.ghl-field-group.phone-invalid .iti__flag-container {
    border-color: #dc3545;
}

.ghl-field-group.phone-invalid .iti input[type=tel] {
    border-color: #dc3545;
}

.ghl-field-group.phone-valid .iti__flag-container {
    border-color: #28a745;
}

.ghl-field-group.phone-valid .iti input[type=tel] {
    border-color: #28a745;
}

/* Focus states */
.iti__flag-container:focus-within {
    border-color: #FF7B7A;
}

.iti input[type=tel]:focus + .iti__flag-container {
    border-color: #FF7B7A;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .iti__country-list {
        max-height: 150px;
    }
    
    .iti input[type=tel] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Hide the default flag container border when input is focused */


/* Ensure proper z-index for dropdown */
.iti.iti--container-open .iti__country-list {
    z-index: 10000;
}

.ghl-whatsapp-button:hover {
    background-color: #1da851;
}

/* Express checkout disclaimer */
.ghl-express-disclaimer {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.4;
}

.ghl-express-disclaimer p {
    margin: 0;
    color: #373c3c;
    font-weight: 400;
}

.ghl-express-disclaimer a {
    color: #FF7B7A;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #FF7B7A;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ghl-express-disclaimer a:hover {
    color: #e76c6b;
    border-bottom-color: #e76c6b;
    text-decoration: none;
}



/* Mobile responsive */
@media (max-width: 768px) {
    .ghl-express-disclaimer {
        margin: 12px 0;
        padding: 10px 14px;
        font-size: 12px;
    }
}


