/**
 * 1. SERVICE GRID & CARDS
 */
.service-selection-container {
    margin-bottom: 30px;
    font-family: inherit;
}

.checkout-enhance-header {
    margin-bottom: 25px;
    border-left: 4px solid #10b981;
    padding-left: 15px;
}

.checkout-enhance-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #1e293b;
}

.highlight-text {
    color: #10b981;
}

.service-block {
    margin-bottom: 25px;
}

.service-label {
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
    color: #475569;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

/* Hide the actual checkbox/radio but keep it functional */
.custom-card-label input[type="checkbox"],
.custom-card-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.card-inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    height: 100%;
}

.card-inner-box:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Selected State */
.service-ajax-input:checked + .card-inner-box,
.card-inner-box.is-selected {
    border-color: #10b981;
    background-color: #f0fdf4;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.icon-wrapper i {
    font-size: 28px;
    color: #64748b;
    margin-bottom: 10px;
}

.service-ajax-input:checked + .card-inner-box i {
    color: #10b981;
}

.card-inner-box .title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.card-inner-box .price {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 700;
}

/**
 * 2. MODAL POPUP STYLING
 */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #94a3b8;
}

.modal-step h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.modal-field {
    margin-bottom: 15px;
}

.modal-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.modal-field textarea, 
.modal-field input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
}

/* Time Card Selection inside Modal */
.modal-time-card.is-selected-inner {
    border-color: #10b981 !important;
    background-color: #f0fdf4 !important;
}

/**
 * 3. WOOCOMMERCE FEE BADGE
 */
.additional-service-badge {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 4px;
}

/**
 * 4. RESPONSIVENESS
 */
@media (max-width: 600px) {
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .modal-content {
        padding: 20px;
    }
}










/* Ensure steps are hidden by default to prevent stacking */
.burj-step {
    display: none;
    width: 100%;
}

/* Force Step 1 to show if JS hasn't loaded yet */
#burj-step-1 {
    display: block;
}

/* Professional Navigation Bar Styling */
.burj-navigation-bar {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

#burj-next, #burj-prev {
    min-width: 180px;
    padding: 15px 25px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}