/* Unique Styles for Pricing on Guest Booking Form */
span.gic-price {
    display: block;
    margin-top: 5px;
    padding: 5px;
    background-color: rgb(242 250 240);
    border-radius: 6px;
    font-size: .8rem;
    border: 1px solid #c4c4c4;
}

.gic-selected span.gic-price {
    mix-blend-mode: lighten;
    color: black;
}

/* Account Section */

#gic-account-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 10px;
}

.gic-account-choice {
    text-align: center;
}

.gic-account-choice h3 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.gic-account-choice .gic-button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    font-size: 16px;
}

.gic-login-section,
.gic-register-section {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gic-login-section h3,
.gic-register-section h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

.gic-form-group {
    margin-bottom: 0;
}

.gic-form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
}

.gic-form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem !important;
}

.gic-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 1.5rem;
}

.gic-form-actions .gic-button {
    flex: 1;
    padding: 10px;
}

.gic-back-to-choice {
    background-color: #6c757d !important;
}

.gic-step-hidden {
    display: none;
}

.gic-email-requirements,
.gic-password-requirements {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.gic-hp-field {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Add these styles for the booking summary section */
#gic-payment-summary {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.gic-booking-details {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.gic-booking-details h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

.gic-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.gic-summary-label {
    font-weight: 500;
    color: #666;
}

.gic-free-booking-notice {
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
}

/* Update button styles */
#gic-free-booking-submit,
#gic-payment-submit {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
}

/* Calendar and New Booking Button Styles */
.gic-calendar-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 10px 0;
}

.gic-calendar-button,
.gic-new-booking {
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gic-calendar-button i,
.gic-new-booking i {
    margin-right: 4px;
}

/* Optional: Add some hover effects */
.gic-calendar-button:hover,
.gic-new-booking:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.gic-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.gic-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    font-size: 16px;
}

.gic-stripe-element {
    padding: 0;
    border: none;
    background: none;
}

.gic-stripe-focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.gic-stripe-complete {
    border-color: #28a745;
}

.gic-stripe-invalid {
    border-color: #dc3545;
}

.gic-stripe-empty {
    background-color: #fafafa;
}

.gic-stripe-autofill {
    background-color: #fefde5 !important;
}

.gic-error-message {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
}

#gic-payment-submit {
    margin-top: 20px;
    width: 100%;
}

/* Stripe Element Styles */
.gic-stripe-field {
    margin-bottom: 20px;
}

.gic-stripe-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #32325d;
}

.gic-stripe-row {
    display: flex;
    gap: 20px;
}

.gic-stripe-row .gic-stripe-field {
    flex: 1;
}

/* Style the Stripe Elements 
.StripeElement {
    background-color: white;
    padding: 12px 15px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
    height: 40px !important;
}*/

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
    border-color: #80bdff;
}

.StripeElement--invalid {
    border-color: #dc3545;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

#gic-card-errors {
    color: #dc3545;
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
}

/* Container styles */
#gic-card-element {
    padding: 0 20px 20px 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
}

/* Payment Summary Styles */
.gic-payment-details {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.gic-summary-header h3 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    font-size: 1.8rem;
    border-bottom: 1px solid #e0e0e0;
}

.gic-summary-content {
    padding: 10px 0;
}

.gic-stripe-field {
    margin-bottom: 15px;
}

.gic-stripe-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #32325d;
}

.gic-stripe-row {
    display: flex;
    gap: 20px;
}

.gic-stripe-row .gic-stripe-field {
    flex: 1;
}

#gic-card-errors {
    color: #dc3545;
    margin-top: 10px;
    font-size: 14px;
}

/* Style the Stripe Elements containers 
#card-number-element,
#card-expiry-element,
#card-cvc-element,
#postal-code-element {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: border-color 0.15s ease;
} */

#card-number-element:focus,
#card-expiry-element:focus,
#card-cvc-element:focus,
#postal-code-element:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.stripe-element-container {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: border-color 0.15s ease;
    min-height: 40px;
}

.stripe-element-container:focus-within {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.gic-payment-separator {
    display: none;
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.gic-payment-separator::before,
.gic-payment-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 50px);
    height: 1px;
    background-color: #e0e0e0;
}

.gic-payment-separator::before {
    left: 0;
}

.gic-payment-separator::after {
    right: 0;
}

.gic-payment-separator span {
    background: #fff;
    padding: 0 15px;
    color: #6b7280;
    font-size: 14px;
}

#payment-request-button {
    margin-bottom: 20px;
}

.gic-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gic-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gic-step-loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding: 20px;
}

.gic-step-loading .gic-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.gic-step-loading p {
    color: #666;
    font-size: 16px;
    margin-top: 20px;
}

/* Add this to handle mobile layout */
@media screen and (max-width: 768px) {
    .gic-form-actions {
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .gic-form-actions button {
        width: 100%;
    }
}

.gic-guest-count-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.gic-guest-count-controls button {
    padding: 5px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    background: #f7f7f7;
    border-radius: 4px;
}

.gic-guest-count-controls button:hover {
    background: #e7e7e7;
}

.gic-guest-count-controls input {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gic-guest-fee-info {
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

/* Guest Count Styles */
.gic-guest-count-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 5px 0;
}

.gic-guest-count-wrapper button {
    flex: 1;
    background-color: var(--gic-primary-color, #007bff);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 16px;
    min-width: 0;
    width: calc(100% / 6);
}

.gic-guest-count-wrapper input {
    flex: 4;
    text-align: center;
    margin: 0 1px !important;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 0px !important;
    width: calc(100% * 4/6);
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
    line-height: normal;
}

.gic-guest-count-wrapper button:first-child {
    border-radius: 4px 0 0 4px;
}

.gic-guest-count-wrapper button:last-child {
    border-radius: 0 4px 4px 0;
}

.gic-guest-count-wrapper button:hover {
    background-color: var(--gic-hover-color, #0056b3);
}

.gic-guest-count-wrapper button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.gic-guest-fee-note {
    display: block;
    color: #666;
    font-size: 0.9em;
    margin-top: 5px;
}




.gic-pricing-breakdown {
    margin: 12px 0;
    padding: 6px 16px;
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 0.7em;
}

.gic-price-item {
    color: #666;
    padding: 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gic-price-item .gic-summary-value {
    font-size: 0.95em;
}

.gic-discount .gic-summary-value {
    color: #28a745;
}

.gic-total {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.gic-total .gic-summary-value {
    color: #000;
}

/* Add new booking success styling */
.gic-booking-info {
    margin-bottom: 20px;
}

.gic-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.gic-pricing-details h3 {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 1.1em;
    color: #333;
    font-weight: normal;
}

/* Update existing pricing breakdown styles */
.gic-pricing-breakdown {
    background: #f9f9f9;
    border-radius: 4px;
    font-size: 0.8em;
    margin-bottom: 15px;
}

.gic-price-item {
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gic-discount .gic-summary-value {
    color: #28a745;
}

.gic-total {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px;
}

.gic-total .gic-summary-value {
    color: #000;
}

/* Custom SVG icon styling */
.gic-step-icon .gic-custom-icon,
.gic-step-icon svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    color: #666; /* Default grey color */
}

/* Active state - uses primary color */
.gic-progress-step.gic-active .gic-step-icon .gic-custom-icon,
.gic-progress-step.gic-active .gic-step-icon svg {
    color: var(--gic-primary-color);
}

/* Adjust icon size on mobile */
@media screen and (max-width: 768px) {
    .gic-step-icon .gic-custom-icon,
    .gic-step-icon svg {
        width: 16px;
        height: 16px;
    }
}


.gic-premium-notice {
    margin-top: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
}

.gic-premium-notice p {
    margin: 0;
    color: #6c757d;
}