/* Enhanced Contact Form with Cart Preview */

.booking-summary-section {
    background: linear-gradient(135deg, #F0FDFF 0%, #E0F7FA 100%);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    border: 2px solid #B2EBF2;
    display: none;
}

.booking-summary-section.active {
    display: block;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.summary-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.summary-header h3 i {
    color: #1FBDC6;
}

.edit-cart-btn {
    padding: 8px 20px;
    background: white;
    border: 2px solid #1FBDC6;
    color: #1FBDC6;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edit-cart-btn:hover {
    background: #1FBDC6;
    color: white;
    transform: translateY(-2px);
}

.summary-items {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary-item {
    padding: 16px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.summary-item-details {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
}

.summary-item-addons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.summary-addon-tag {
    padding: 4px 10px;
    background: #E0F7FA;
    border: 1px solid #B2EBF2;
    border-radius: 100px;
    font-size: 11px;
    color: #00838F;
    font-weight: 500;
}

.summary-item-price {
    text-align: right;
}

.summary-item-price .price {
    font-size: 18px;
    font-weight: 700;
    color: #1FBDC6;
}

.summary-item-price .qty {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #1FBDC6 0%, #17a2aa 100%);
    border-radius: 16px;
    color: white;
}

.summary-total-label {
    font-size: 18px;
    font-weight: 600;
}

.summary-total-amount {
    font-size: 32px;
    font-weight: 700;
}

.summary-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #FFF9E6;
    border: 1px solid #FFE082;
    border-radius: 12px;
    font-size: 13px;
    color: #F57F17;
    margin-top: 16px;
}

.summary-note i {
    font-size: 16px;
}

/* Hide preferred treatment dropdown when cart is active */
.form-group.cart-active {
    display: none;
}

/* Enhanced message field for cart data */
#message.cart-filled {
    background: #F9FAFB;
    border: 2px solid #1FBDC6;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
}

/* Empty state when no cart */
.no-cart-notice {
    text-align: center;
    padding: 40px 20px;
    background: #F9FAFB;
    border-radius: 16px;
    margin-bottom: 24px;
}

.no-cart-notice i {
    font-size: 48px;
    color: #D1D5DB;
    margin-bottom: 16px;
}

.no-cart-notice h4 {
    font-size: 18px;
    font-weight: 600;
    color: #6B7280;
    margin: 0 0 8px 0;
}

.no-cart-notice p {
    font-size: 14px;
    color: #9CA3AF;
    margin: 0 0 20px 0;
}

.browse-services-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, #1FBDC6 0%, #17a2aa 100%);
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.browse-services-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 189, 198, 0.3);
}

/* Progress indicator */
.booking-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    background: #F3F4F6;
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: linear-gradient(135deg, #1FBDC6 0%, #17a2aa 100%);
    color: white;
}

.progress-step.completed {
    background: #D1FAE5;
    color: #059669;
}

.progress-step i {
    font-size: 16px;
}

.progress-arrow {
    color: #D1D5DB;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-summary-section {
        padding: 20px;
    }

    .summary-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .edit-cart-btn {
        width: 100%;
        justify-content: center;
    }

    .summary-item {
        flex-direction: column;
        gap: 12px;
    }

    .summary-item-price {
        text-align: left;
        width: 100%;
    }

    .summary-total {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .booking-progress {
        flex-wrap: wrap;
        gap: 8px;
    }

    .progress-step {
        font-size: 12px;
        padding: 6px 12px;
    }

    .progress-arrow {
        display: none;
    }
}

/* Form improvements */
.contact-form-wrapper.with-cart {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}