/* Organic Dust Booking Widget Styles */
:root {
    --od-primary: #063221;
    --od-primary-hover: #042317;
    --od-bg: #ffffff;
    --od-border: #e2e8f0;
    --od-text: #1f2937;
    --od-text-muted: #6b7280;
    --od-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --od-shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.08);
    --od-radius: 32px;
    --od-radius-input: 100px;
}

.organic-dust-booking-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--od-bg);
    border-radius: var(--od-radius);
    box-shadow: var(--od-shadow);
    color: var(--od-text);
    font-family: 'Inter', -apple-system, sans-serif;
    position: relative;
    border: 1px solid var(--od-border);
}

/* Header & Stepper */
.booking-header {
    margin-bottom: 2.5rem;
}

.booking-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.booking-step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--od-text-muted);
    transition: all 0.3s ease;
    z-index: 1;
}

.booking-step-item.active .booking-step-indicator {
    transform: scale(1.1);
}

.booking-step-item.active span {
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.booking-step-line {
    flex-grow: 1;
    height: 2px;
    background: #f3f4f6;
    margin: 0 0.75rem;
}

.booking-step-titles {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--od-text-muted);
}

/* Step Layouts */
.booking-step {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Categories & Services Grid */
.organic-dust-booking-root .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.organic-dust-booking-root .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default, overridden by Elementor */
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.organic-dust-booking-root .category-card,
.organic-dust-booking-root .service-card {
    padding: 11px 15px;
    border: 1px solid var(--od-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.category-card:hover,
.service-card:hover {
    border-color: var(--od-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.category-card .category-icon {
    font-size: 1.5rem;
    color: var(--od-primary);
    margin-bottom: 1rem;
}

.category-card h4,
.service-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.service-name-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.service-info-icon {
    color: var(--od-text-muted);
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.service-info-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}

.service-info-icon:hover {
    color: var(--od-primary);
}

.service-tooltip {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    line-height: 1.5;
    white-space: pre-wrap;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 100;
    text-align: left;
    font-weight: normal;
    cursor: default;
}

.service-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

.service-info-icon.show-tooltip .service-tooltip {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.category-card p,
.service-card p {
    font-size: 0.8125rem;
    color: var(--od-text-muted);
    margin: 0;
    line-height: 1.4;
}

.service-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
}

.service-info {
    flex: 1;
    padding-right: 1rem;
}

.service-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--od-primary);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.service-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.service-effort {
    font-size: 0.8rem;
    color: var(--od-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
}

.service-effort .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
}

.service-card.selected {
    border-color: var(--od-primary);
    box-shadow: 0 0 0 2px var(--od-primary);
}

/* Service Card State Transitions */
.service-card h4,
.service-card p,
.service-card .service-price,
.service-card .service-effort,
.service-card .service-effort .dashicons,
.service-card .service-info-icon,
.service-card .service-info-icon .dashicons {
    transition: color 0.3s ease;
}

.service-card.selected .service-effort,
.service-card.selected .service-effort .dashicons,
.service-card.selected .service-info-icon,
.service-card.selected .service-info-icon .dashicons,
.service-card.selected .dashicons-info-outline::before {
    color: #ffffff;
}

.service-card.selected .check-icon {
    opacity: 1;
}

.back-link {
    grid-column: 1 / -1;
    background: none;
    border: none;
    color: var(--od-primary);
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    text-align: left;
    padding: 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--od-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--od-border);
    background: #f1f5f9;
    border-radius: var(--od-radius-input);
    font-size: 0.9375rem;
    transition: all 0.2s;
    box-sizing: border-box;
    font-family: inherit;
    color: var(--od-text);
}

.form-group textarea {
    border-radius: 20px;
    min-height: 100px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(6, 50, 33, 0.1);
}

.premium-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23063221'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.25rem;
    cursor: pointer;
}

.category-selector-wrapper {
    margin-bottom: 2.5rem;
    padding: 1.75rem;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid var(--od-border);
    animation: fadeIn 0.4s ease-out;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.time-slot-option {
    display: block;
    position: relative;
    cursor: pointer;
}

.time-slot-option input {
    position: absolute;
    opacity: 0;
}

.time-slot-option span {
    display: block;
    padding: 1rem;
    border: 1px solid var(--od-border);
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
}

.time-slot-option input:checked+span {
    border-color: var(--od-primary);
    background: rgba(37, 99, 235, 0.04);
    font-weight: 600;
}

/* Review Section */
.review-details {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

/* Warning Section */
#short-notice-warning {
    animation: fadeIn 0.4s ease-out;
}

#whatsapp-contact-link {
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

#whatsapp-contact-link:hover {
    background: #128c7e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.review-section {
    margin-bottom: 1.5rem;
}

/* Empty/Error States */
.no-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border: 2px dashed var(--border);
    border-radius: 24px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.review-section h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--od-text-muted);
}

.review-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.review-total {
    border-top: 1px solid var(--od-border);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 1.125rem;
    font-weight: 700;
}

/* Actions */
.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--od-border);
    padding-top: 2rem;
    margin-top: 2rem;
}

.booking-step-btn {
    padding: 1rem 2.5rem;
    background: var(--od-primary);
    color: white;
    border: none;
    border-radius: var(--od-radius-input);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 16px rgba(6, 50, 33, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-step-btn:hover:not(:disabled) {
    background: var(--od-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(6, 50, 33, 0.2);
}

.booking-step-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.booking-step-btn.outline {
    background: transparent;
    border: 2px solid var(--od-primary);
    color: var(--od-primary);
}

.booking-step-btn.outline:hover {
    background: rgba(6, 50, 33, 0.05);
}

/* Success Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 50, 33, 0.4);
    backdrop-filter: blur(8px);
}

.booking-modal-content {
    position: relative;
    background: white;
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    border-radius: var(--od-radius);
    text-align: center;
    box-shadow: var(--od-shadow-premium);
    animation: modalScaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.booking-modal-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.booking-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--od-primary);
    margin-bottom: 1rem;
}

.booking-modal-body {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--od-text-muted);
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .organic-dust-booking-container {
        padding: 1.5rem;
        margin: 0;
        border-radius: 0;
    }

    .categories-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .booking-modal-content {
        padding: 2rem 1.5rem;
    }
}
/* Quantity Controls */
.qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--od-border);
    background: white;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    color: var(--od-text);
    transition: all var(--od-transition);
}

.qty-btn:hover {
    background: var(--od-background);
    border-color: var(--od-primary);
    color: var(--od-primary);
}

.service-card.selected .qty-btn {
    color: var(--od-primary);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-card.selected .qty-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
}
