/* GM Booking Pro - V2 Premium Design */

#gm-booking-form-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-top: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#gm-booking-form-container h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
}

/* Wizard Progress */
.gm-wizard-progress {
    height: 8px;
    background: #edf2f7;
    border-radius: 4px;
    margin-bottom: 30px;
}

.gm-wizard-bar {
    height: 100%;
    background: linear-gradient(90deg, #3182ce 0%, #63b3ed 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(66, 153, 225, 0.5);
}

.gm-wizard-status {
    font-size: 14px;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

/* Steps */
.gm-wizard-step h4 {
    font-size: 18px;
    color: #2d3748;
    margin-bottom: 20px;
    border-bottom: 2px solid #f7fafc;
    padding-bottom: 10px;
}

/* Calendar Input */
#gm-date-picker {
    background: #f8fafc url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23A0AEC0" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') no-repeat 95% center;
    background-size: 20px;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    font-weight: 500;
}

/* Whitelist/Blacklist Styling */
.flatpickr-day.gm-whitelisted {
    background-color: #38a169 !important;
    border-color: #38a169 !important;
    color: #fff !important;
}

.flatpickr-day.gm-blacklisted {
    background-color: #e53e3e !important;
    border-color: #e53e3e !important;
    color: #fff !important;
}

.flatpickr-day.gm-whitelisted:hover,
.flatpickr-day.gm-blacklisted:hover {
    opacity: 0.8;
}

/* Slots List */
.gm-slots-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.gm-slot-btn {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gm-slot-btn:hover:not(.disabled) {
    border-color: #3182ce;
    background: #f7fafc;
    transform: translateY(-2px);
}

.gm-slot-btn.active {
    border-color: #3182ce;
    background: #ebf8ff;
    box-shadow: 0 0 0 1px #3182ce;
}

.gm-pax-count {
    font-size: 12px;
    background: #edf2f7;
    padding: 2px 8px;
    border-radius: 999px;
    color: #4a5568;
}

/* Step 2 & 3 Fixes */
.gm-form-group {
    margin-bottom: 15px;
}

.gm-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
}

.gm-input {
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    transition: border-color 0.2s;
}

.gm-input:focus {
    border-color: #3182ce;
    outline: none;
}

/* Navigation Buttons */
#gm-next-btn,
#gm-prev-btn {
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.2s;
}

#gm-next-btn {
    background: #3182ce;
    color: #fff;
    border: none;
}

#gm-next-btn:hover {
    background: #2b6cb0;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.3);
}

/* Summary Box */
#gm-step3-summary {
    background: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 20px;
}

#gm-total-price {
    color: #2c5282;
    font-size: 1.5em;
}

/* WooCommerce Button Override */
.single_add_to_cart_button.gm-ready {
    background-color: #38a169 !important;
    border-radius: 8px !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.025em !important;
    margin-top: 0 !important;
    display: inline-block !important;
}

.single_add_to_cart_button.gm-ready:hover {
    background-color: #2f855a !important;
}

/* Skeleton/Loading */
.gm-loading {
    color: #a0aec0;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    #gm-booking-form-container {
        padding: 15px;
    }
}