/**
 * PestAnnihilate Booking Form Styles
 */

.pestannihilate-booking-form-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 8px;
}

/* Step Indicators */
.booking-steps-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.booking-steps-indicator:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.booking-steps-indicator .step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.booking-steps-indicator .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #e0e0e0;
    color: #666;
    border-radius: 50%;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.booking-steps-indicator .step-label {
    display: inline-block;
    margin-top: 30px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.booking-steps-indicator .step.active .step-number {
    background-color: var(--accent-color, #ce0606);
    color: white;
    transform: scale(1.1);
}

.booking-steps-indicator .step.active .step-label {
    color: var(--accent-color, #ce0606);
    font-weight: 600;
}

.booking-steps-indicator.style-icons .step-number {
    font-size: 18px;
}

.booking-steps-indicator.style-simple .step-number {
    display: none;
}

.booking-steps-indicator.style-simple .step-label {
    padding-top: 10px;
}

/* Steps */
.booking-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.booking-step.active {
    display: block;
}

.booking-step.entering {
    animation: slideInRight 0.5s ease;
}

.booking-step.exiting {
    animation: slideOutLeft 0.5s ease;
}

.step-title {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
    text-align: center;
}

/* Form Layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin: 0 15px 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color, #ce0606);
    box-shadow: 0 0 0 3px rgba(206, 6, 6, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.field-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Date Picker */
.booking-datepicker {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23666" 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>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.services-grid.columns-1 {
    grid-template-columns: 1fr;
}

.services-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.services-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.service-card {
    position: relative;
    cursor: pointer;
}

.service-card .service-radio {
    position: absolute;
    opacity: 0;
}

.service-card label {
    display: block;
    padding: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card label:hover {
    border-color: var(--accent-color, #ce0606);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card .service-radio:checked + label {
    border-color: var(--accent-color, #ce0606);
    background-color: rgba(206, 6, 6, 0.05);
}

.service-card.selected label {
    border-color: var(--accent-color, #ce0606);
    background-color: rgba(206, 6, 6, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(206, 6, 6, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color, #ce0606);
    font-size: 24px;
}

.service-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.service-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.price-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color, #ce0606);
}

.service-duration {
    font-size: 14px;
    color: #666;
    background-color: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
}

.service-select-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card .service-radio:checked + label .service-select-indicator,
.service-card.selected .service-select-indicator {
    opacity: 1;
    background-color: var(--accent-color, #ce0606);
    border-color: var(--accent-color, #ce0606);
    color: white;
}

.service-select-indicator i {
    font-size: 12px;
}

/* Checkboxes */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkbox-custom {
    background-color: var(--accent-color, #ce0606);
    border-color: var(--accent-color, #ce0606);
}

.checkbox-label input:checked + .checkbox-custom:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-weight: 600;
    color: #333;
}

.emergency-note,
.recurring-note {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-top: 4px;
}

.emergency-checkbox .checkbox-text {
    color: #dc3545;
}

/* Form Notice */
.form-notice {
    background-color: #e8f4fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin: 25px 0;
    border-radius: 4px;
}

.form-notice p {
    margin: 0;
    display: flex;
    align-items: center;
    color: #0c5460;
}

.form-notice i {
    margin-right: 10px;
    font-size: 18px;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #28a745;
    fill: #28a745 ;
    font-size: 40px;
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.success-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}
.booking-summary{
    border: 1px solid #333;
}

.booking-summary-details {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.booking-summary-details h4 {
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
}

.summary-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    flex: 0 0 120px;
    font-weight: 600;
    color: #666;
}

.summary-value {
    flex: 1;
    color: #333;
}

.summary-note {
    background-color: #e8f4fd;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.summary-note p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.summary-note i {
    margin-right: 10px;
    color: #2196F3;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Loader */
.booking-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-color, #ce0606);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    font-size: 18px;
    color: #666;
    font-weight: 600;
}

/* Error Messages */
.booking-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    color: #721c24;
}

.error-message {
    display: flex;
    align-items: center;
}

.error-message i {
    margin-right: 10px;
    font-size: 18px;
}

.no-services-message {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    color: #666;
    font-size: 18px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid.columns-2,
    .services-grid.columns-3,
    .services-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
        margin: 0 0 25px;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-navigation button {
        width: 100%;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .pestannihilate-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .booking-steps-indicator .step-label {
        font-size: 10px;
    }
    
    .service-card label {
        padding: 20px;
    }
    
    .booking-summary-details {
        padding: 15px;
    }
    
    .summary-item {
        flex-direction: column;
    }
    
    .summary-label {
        flex: none;
        margin-bottom: 5px;
    }
}