/* Quick Services Section - Minimalistic Professional Design */
.ahive-quick-services-section-x7m2p {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.ahive-section-heading {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    position: relative;
}

.ahive-section-heading::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary-color, #f52008);
    margin: 12px auto 0;
    border-radius: 2px;
}

.ahive-section-subheading {
    text-align: center;
    color: #6b7280;
    margin-bottom: 40px;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- Tab Navigation Styles --- */
.ahive-tabs-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.ahive-tab-btn {
    background: transparent;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahive-tab-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.ahive-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.ahive-tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(245, 32, 8, 0.3);
}

/* --- Tab Container (Centers the content) --- */
.ahive-services-tab-container-k9n4w {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
    /* Prevents layout jump */
}

/* --- Card Transition & Visibility --- */
.ahive-service-card-wrapper-r3h8d {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;

    /* Default Hidden State */
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

/* Active State for Cards */
.ahive-service-card-wrapper-r3h8d.active {
    display: block;
    animation: fadeSlideUp 0.5s ease forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.ahive-service-card-wrapper-r3h8d:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

/* Form Styling */
.ahive-service-card-wrapper-r3h8d form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Toggle Button Wrapper */
.ahive-form-toggle-wrapper-x3k8m {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

/* iOS-Style Toggle Switch */
.ahive-toggle-btn-y7p2q {
    position: relative;
    width: 110px;
    height: 32px;
    background: var(--primary-color);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(245, 32, 8, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}

.ahive-toggle-btn-y7p2q:hover {
    box-shadow: 0 3px 10px rgba(245, 32, 8, 0.3);
    transform: translateY(-1px);
}

/* Hide inactive buttons */
.ahive-toggle-btn-y7p2q:not(.active) {
    display: none;
}

.ahive-toggle-btn-y7p2q.active {
    background: var(--primary-color);
    animation: togglePulse 0.3s ease;
}

@keyframes togglePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/* Card Title */
.ahive-service-card-title-w8u1q {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.ahive-service-card-title-w8u1q::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

/* Input Fields - Clean Minimalistic Style */
.ahive-form-input-field-l4c7n {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #374151;
    transition: all 0.2s ease;
    position: relative;
}

.ahive-form-input-field-l4c7n:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 32, 8, 0.08);
}

.ahive-form-input-field-l4c7n::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Submit Button - Clean Professional Style */
.ahive-form-submit-btn-z6k2s {
    width: 100%;
    padding: 13px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

.ahive-form-submit-btn-z6k2s:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 32, 8, 0.3);
}

.ahive-form-submit-btn-z6k2s:active {
    transform: translateY(0);
}

/* Add icons to inputs using pseudo-elements */
.ahive-book-appointment-form-p2v6x input[name="name"],
.ahive-site-visits-form-m5x8a input[name="name"],
.ahive-hire-day-form-n8p1v input[name="name"],
.ahive-asbuilt-plan-form-j2y5k input[name="name"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-book-appointment-form-p2v6x input[name="phone"],
.ahive-site-visits-form-m5x8a input[name="phone"],
.ahive-hire-day-form-n8p1v input[name="phone"],
.ahive-asbuilt-plan-form-j2y5k input[name="phone"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-book-appointment-form-p2v6x input[name="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-book-appointment-form-p2v6x input[name="location"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-book-appointment-form-p2v6x input[name="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-book-appointment-form-p2v6x input[name="time"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-site-visits-form-m5x8a input[name="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-site-visits-form-m5x8a input[name="reference_number"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-site-visits-form-m5x8a input[name="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-site-visits-form-m5x8a input[name="time"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-hire-day-form-n8p1v input[name="date"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

.ahive-asbuilt-plan-form-j2y5k input[name=\"property_type\"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

/* Hire Us For A Day - Email Field */
.ahive-hire-day-form-n8p1v input[name="email"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

/* Hire Us For A Day - Project Location Select */
.ahive-hire-day-form-n8p1v select[name="project_location"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

/* Hire Us For A Day - Service Type Select */
.ahive-hire-day-form-n8p1v select[name="service_type"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
}

/* Select Dropdown Custom Styling */
.ahive-form-select-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 40px !important;
    background-position: 14px center, calc(100% - 14px) center !important;
    background-size: 18px, 12px !important;
    background-repeat: no-repeat !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
}

/* Override for service_type select */
.ahive-hire-day-form-n8p1v select[name="service_type"].ahive-form-select-field {
    background-repeat: no-repeat !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
}

/* Select dropdown option styling */
.ahive-form-select-field option {
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
    color: #374151;
}

.ahive-form-select-field option:disabled {
    color: #9ca3af;
    font-style: italic;
}

/* Fix for browser autofill hiding background icons - Explicitly re-apply background images */
.ahive-book-appointment-form-p2v6x input[name="name"]:-webkit-autofill,
.ahive-site-visits-form-m5x8a input[name="name"]:-webkit-autofill,
.ahive-hire-day-form-n8p1v input[name="name"]:-webkit-autofill,
.ahive-asbuilt-plan-form-j2y5k input[name="name"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-book-appointment-form-p2v6x input[name="phone"]:-webkit-autofill,
.ahive-site-visits-form-m5x8a input[name="phone"]:-webkit-autofill,
.ahive-hire-day-form-n8p1v input[name="phone"]:-webkit-autofill,
.ahive-asbuilt-plan-form-j2y5k input[name="phone"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-book-appointment-form-p2v6x input[name="email"]:-webkit-autofill,
.ahive-site-visits-form-m5x8a input[name="email"]:-webkit-autofill,
.ahive-hire-day-form-n8p1v input[name="email"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-book-appointment-form-p2v6x input[name="location"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-site-visits-form-m5x8a input[name="reference_number"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-book-appointment-form-p2v6x input[name="date"]:-webkit-autofill,
.ahive-site-visits-form-m5x8a input[name="date"]:-webkit-autofill,
.ahive-hire-day-form-n8p1v input[name="date"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-book-appointment-form-p2v6x input[name="time"]:-webkit-autofill,
.ahive-site-visits-form-m5x8a input[name="time"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.ahive-asbuilt-plan-form-j2y5k input[name="property_type"]:-webkit-autofill {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23f52008'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: 14px center !important;
    background-size: 18px !important;
    -webkit-text-fill-color: #374151 !important;
    transition: background-color 5000s ease-in-out 0s;
}




/* Time Slots Tiles */
.ahive-time-slots-grid-x9l4m {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.ahive-time-slot-tile-v2n5q {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 4px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.ahive-time-slot-tile-v2n5q:hover:not(.disabled):not(.selected) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff;
}

.ahive-time-slot-tile-v2n5q.selected {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(245, 32, 8, 0.3);
}

.ahive-time-slot-tile-v2n5q.disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #f3f4f6;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ahive-services-grid-container-k9n4w {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ahive-service-card-wrapper-r3h8d {
        padding: 28px 24px;
    }

    .ahive-service-card-title-w8u1q {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ahive-quick-services-section-x7m2p {
        padding: 60px 0;
    }

    .ahive-service-card-wrapper-r3h8d {
        padding: 24px 20px;
    }

    .ahive-form-input-field-l4c7n {
        padding: 11px 14px 11px 42px;
        font-size: 0.875rem;
    }
}

/* Modal Styles for Quota Exhausted */
.ahive-modal-overlay-k2x9m {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    /* Managed by JS */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.ahive-modal-content-p4j8w {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 90%;
    max-width: 450px;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Info Note below Submit Button */
.ahive-info-note-x8j2p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #0369a1;
    line-height: 1.4;
    text-align: left;
}

.ahive-info-note-x8j2p i {
    font-size: 1rem;
    margin-top: 2px;
    color: #0284c7;
    flex-shrink: 0;
}


/* --- Terms & Conditions Modal Styling --- */
.ahive-terms-modal-content {
    max-width: 600px;
    padding: 25px 30px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ahive-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.ahive-modal-close-btn:hover {
    color: #1f2937;
}

.ahive-terms-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
    margin-top: 0;
}

.ahive-terms-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 20px;
}

.ahive-terms-scroll-area {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px 20px;
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.6;
}

.ahive-terms-scroll-area ol {
    margin: 0;
    padding-left: 20px;
}

.ahive-terms-scroll-area li {
    margin-bottom: 10px;
}

.ahive-terms-scroll-area li:last-child {
    margin-bottom: 0;
}

.ahive-terms-scroll-area ul {
    margin: 5px 0 0 0;
    padding-left: 20px;
    list-style-type: circle;
}

/* Custom Checkbox */
.ahive-terms-agreement {
    margin-bottom: 20px;
}

.ahive-checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.ahive-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.ahive-checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ahive-checkbox-container input:checked~.ahive-checkmark {
    background-color: var(--primary-color, #f52008);
    border-color: var(--primary-color, #f52008);
}

.ahive-checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.ahive-checkbox-container input:checked~.ahive-checkmark:after {
    display: block;
}

.ahive-checkbox-label {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 500;
}

/* Proceed Button */
.ahive-proceed-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color, #f52008);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ahive-proceed-btn:hover:not(:disabled) {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.ahive-proceed-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Slide Toggle Switch (Virtual / In-Person) --- */
.ahive-slide-toggle-container {
    display: flex;
    justify-content: center;
    margin: 10px auto 15px;
    background: #f3f4f6;
    border-radius: 30px;
    padding: 4px;
    width: fit-content;
    border: 1px solid #e5e7eb;
}

.ahive-slide-toggle-btn {
    padding: 8px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    min-width: 110px;
    text-align: center;
}

.ahive-slide-toggle-btn:hover:not(.active) {
    color: #374151;
    background: rgba(0, 0, 0, 0.03);
}

.ahive-slide-toggle-btn.active {
    color: #fff;
    background: var(--primary-color, #f52008);
    box-shadow: 0 2px 8px rgba(245, 32, 8, 0.25);
    transform: scale(1.02);
}