/* ============================================
    QUOTE MODAL - PREMIUM STYLES
    ============================================ */

/* Modal Overlay */
.quote-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 27, 58, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quote-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quote-modal {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0.9) translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.quote-modal-overlay.active .quote-modal {
    transform: scale(1) translateY(0);
}

/* Modal Scrollbar */
.quote-modal::-webkit-scrollbar {
    width: 8px;
}

.quote-modal::-webkit-scrollbar-track {
    background: #f5f7fa;
    border-radius: 0 24px 24px 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

.quote-modal::-webkit-scrollbar-thumb {
    background: #0073E6;
    border-radius: 4px;
}

/* Close Button */
.quote-modal-close {
    position: sticky;
    top: 16px;
    float: right;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(0, 115, 230, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    margin: 16px 16px 0 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quote-modal-close:hover {
    background: #0073E6;
    transform: rotate(90deg);
    box-shadow: 0 8px 30px rgba(0, 115, 230, 0.2);
}

.quote-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #1A3A5C;
    transition: stroke 0.3s ease;
}

.quote-modal-close:hover svg {
    stroke: #FFFFFF;
}

/* Modal Content */
.quote-modal-content {
    padding: 0 40px 40px;
}

/* Header */
.quote-modal-header {
    padding: 30px 0 24px;
    border-bottom: 1px solid rgba(0, 115, 230, 0.06);
}

.quote-modal-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #0073E6;
    background: rgba(0, 115, 230, 0.06);
    padding: 4px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.quote-modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 6px;
}

.quote-modal-title .highlight {
    color: #0073E6;
}

.quote-modal-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0;
}

/* Progress Steps */
.quote-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0 20px;
    gap: 0;
}

.quote-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.3;
    transition: all 0.4s ease;
    cursor: default;
}

.quote-progress-step.active {
    opacity: 1;
}

.quote-progress-step.completed {
    opacity: 0.7;
}

.quote-progress-number {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A3A5C;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.quote-progress-step.active .quote-progress-number {
    background: #0073E6;
    color: #FFFFFF;
    border-color: #0073E6;
    box-shadow: 0 0 0 8px rgba(0, 115, 230, 0.08);
}

.quote-progress-step.completed .quote-progress-number {
    background: #0073E6;
    color: #FFFFFF;
}

.quote-progress-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-progress-line {
    flex: 1;
    height: 2px;
    background: rgba(0, 115, 230, 0.08);
    max-width: 60px;
    margin: 0 8px;
}

/* Form Steps */
.quote-form-step {
    display: none;
    animation: fadeInUp 0.5s ease forwards;
    padding: 20px 0;
}

.quote-form-step.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quote-form-step-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

/* Form Elements */
.quote-form-group {
    margin-bottom: 20px;
}

.quote-form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A3A5C;
    display: block;
    margin-bottom: 8px;
}

.quote-form-group label span {
    color: #0073E6;
}

.quote-form-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.quote-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 2px solid rgba(0, 115, 230, 0.06);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1A3A5C;
}

.quote-option:hover {
    border-color: rgba(0, 115, 230, 0.2);
    background: rgba(0, 115, 230, 0.02);
}

.quote-option input {
    display: none;
}

.quote-option input:checked+span {
    color: #0073E6;
}

.quote-option:has(input:checked) {
    border-color: #0073E6;
    background: rgba(0, 115, 230, 0.04);
}

.quote-service-options {
    grid-template-columns: repeat(3, 1fr);
}

/* Inputs, Selects, Textareas */
.quote-form-group input[type="text"],
.quote-form-group input[type="email"],
.quote-form-group input[type="tel"],
.quote-form-group select,
.quote-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1A3A5C;
    background: #f5f7fa;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
    border-color: #0073E6;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 115, 230, 0.06);
}

.quote-form-group input::placeholder,
.quote-form-group textarea::placeholder {
    color: #1A3A5C;
    opacity: 0.3;
}

.quote-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Estimator */
.quote-estimator {
    background: #f5f7fa;
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 115, 230, 0.06);
    margin-bottom: 20px;
}

.quote-estimator h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1A3A5C;
    margin: 0 0 12px;
}

.quote-estimator-range {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quote-estimator-range input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(0, 115, 230, 0.1);
    border-radius: 2px;
    outline: none;
}

.quote-estimator-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0073E6;
    cursor: pointer;
    box-shadow: 0 0 0 4px rgba(0, 115, 230, 0.08);
}

.quote-estimator-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0073E6;
    min-width: 100px;
    text-align: right;
}

.quote-estimator-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #1A3A5C;
    opacity: 0.4;
    margin: 8px 0 0;
}

/* File Upload */
.quote-upload-area {
    border: 2px dashed rgba(0, 115, 230, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-upload-area:hover {
    border-color: #0073E6;
    background: rgba(0, 115, 230, 0.02);
}

.quote-upload-area.dragover {
    border-color: #0073E6;
    background: rgba(0, 115, 230, 0.04);
}

.quote-upload-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 8px;
}

.quote-upload-area p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0;
}

.quote-upload-link {
    color: #0073E6;
    font-weight: 600;
    cursor: pointer;
}

.quote-upload-hint {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #1A3A5C;
    opacity: 0.3;
    display: block;
    margin-top: 4px;
}

.quote-upload-list {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quote-upload-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #f5f7fa;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #1A3A5C;
    border: 1px solid rgba(0, 115, 230, 0.06);
}

.quote-upload-file .remove {
    cursor: pointer;
    color: #D32F2F;
    font-weight: 700;
}

/* Navigation Buttons */
.quote-form-navigation {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 115, 230, 0.06);
}

.quote-btn-prev,
.quote-btn-next {
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-btn-prev {
    background: #f5f7fa;
    color: #1A3A5C;
}

.quote-btn-prev:hover {
    background: #e5e7eb;
}

.quote-btn-next {
    background: #0073E6;
    color: #FFFFFF;
    margin-left: auto;
}

.quote-btn-next:hover {
    background: #0059B3;
    transform: translateX(4px);
}

.quote-btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
}

/* Trust Badges */
.quote-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 16px;
    background: #f5f7fa;
    border-radius: 10px;
}

.quote-trust-badges span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1A3A5C;
    opacity: 0.7;
}

/* WhatsApp Quick Contact */
.quote-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
    background: rgba(37, 211, 102, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(37, 211, 102, 0.06);
}

.quote-whatsapp span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #1A3A5C;
    opacity: 0.6;
}

.quote-whatsapp-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #25D366;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quote-whatsapp-btn:hover {
    color: #1A3A5C;
}

/* ============================================
    THANK YOU MODAL
    ============================================ */

.thankyou-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 27, 58, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thankyou-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.thankyou-modal {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 560px;
    width: 100%;
    padding: 50px 45px;
    text-align: center;
    transform: scale(0.9) translateY(30px);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.thankyou-modal-overlay.active .thankyou-modal {
    transform: scale(1) translateY(0);
}

.thankyou-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: block;
}

.thankyou-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 8px;
}

.thankyou-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0073E6;
    margin: 0 0 8px;
}

.thankyou-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1A3A5C;
    opacity: 0.6;
    margin: 0 0 24px;
}

.thankyou-steps {
    text-align: left;
    margin-bottom: 30px;
    padding: 20px 24px;
    background: #f5f7fa;
    border-radius: 12px;
}

.thankyou-steps h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1A3A5C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
    text-align: center;
}

.thankyou-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 115, 230, 0.04);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1A3A5C;
    opacity: 0.7;
}

.thankyou-step:last-child {
    border-bottom: none;
}

.thankyou-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0073E6;
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thankyou-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.thankyou-buttons .magnetic-btn {
    padding: 14px 32px;
    font-size: 0.9rem;
    min-width: 180px;
}

/* ============================================
    RESPONSIVE
    ============================================ */

@media (max-width: 768px) {
    .quote-modal {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 16px;
    }

    .quote-modal-content {
        padding: 0 20px 30px;
    }

    .quote-form-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-service-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-progress {
        gap: 4px;
    }

    .quote-progress-line {
        max-width: 30px;
    }

    .quote-progress-label {
        font-size: 0.5rem;
    }

    .quote-estimator-range {
        flex-direction: column;
        align-items: stretch;
    }

    .quote-estimator-value {
        text-align: center;
    }

    .quote-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .quote-whatsapp {
        flex-direction: column;
        gap: 6px;
    }

    .thankyou-modal {
        padding: 30px 24px;
    }

    .thankyou-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thankyou-buttons .magnetic-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .quote-form-options {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .quote-option {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .quote-modal-title {
        font-size: 24px;
    }
}

/* ============================================
   AUTOMATIC ESTIMATOR QUOTE MODAL - SCOPED STYLES
   ============================================ */

.auto-estimator-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 27, 58, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auto-estimator-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.auto-estimator-modal {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding: 36px 36px 40px;
    transform: scale(0.92) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 115, 230, 0.12);
}

.auto-estimator-modal-overlay.active .auto-estimator-modal {
    transform: scale(1) translateY(0);
}

/* Scrollbar */
.auto-estimator-modal::-webkit-scrollbar {
    width: 8px;
}

.auto-estimator-modal::-webkit-scrollbar-track {
    background: #F4F7FA;
    border-radius: 0 24px 24px 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

.auto-estimator-modal::-webkit-scrollbar-thumb {
    background: #0073E6;
    border-radius: 4px;
}

/* Close Button - STICKY so it never disappears on scroll */
.auto-estimator-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F4F7FA;
    border: 1px solid #E2E8F0;
    color: #4A5568;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 100;
    margin-top: -12px;
    margin-right: -12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.auto-estimator-modal-close svg {
    width: 20px;
    height: 20px;
}

.auto-estimator-modal-close:hover {
    background: #0073E6;
    color: #FFFFFF;
    border-color: #0073E6;
    transform: rotate(90deg);
}

/* Header */
.auto-estimator-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.auto-estimator-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 115, 230, 0.08);
    color: #0073E6;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 115, 230, 0.18);
}

.auto-estimator-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #0A192F;
    margin-bottom: 8px;
    line-height: 1.25;
}

.auto-estimator-title .highlight {
    color: #0073E6;
}

.auto-estimator-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748B;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Form Grid Layout */
.auto-estimator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auto-estimator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.auto-estimator-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auto-estimator-group.full-width {
    grid-column: 1 / -1;
}

.auto-estimator-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1E293B;
}

.auto-estimator-group label span.required-star {
    color: #E11D48;
    margin-left: 2px;
}

.auto-estimator-group input[type="text"],
.auto-estimator-group input[type="email"],
.auto-estimator-group input[type="tel"],
.auto-estimator-group input[type="number"],
.auto-estimator-group input[type="date"],
.auto-estimator-group select,
.auto-estimator-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #0F172A;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auto-estimator-group input:focus,
.auto-estimator-group select:focus,
.auto-estimator-group textarea:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #0073E6;
    box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.15);
}

.auto-estimator-group input::placeholder,
.auto-estimator-group textarea::placeholder {
    color: #94A3B8;
}

.auto-estimator-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%3C64748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.auto-estimator-group select option {
    background: #FFFFFF;
    color: #0F172A;
}

.auto-estimator-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Currency helper hint */
.auto-estimator-hint {
    font-size: 0.78rem;
    color: #64748B;
    margin-top: 2px;
}

/* Submit Button */
.auto-estimator-submit-btn {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #0073E6 0%, #0056B3 100%);
    color: #FFFFFF;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 115, 230, 0.3);
}

.auto-estimator-submit-btn:hover {
    background: linear-gradient(135deg, #0056B3 0%, #003C80 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 115, 230, 0.4);
}

.auto-estimator-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Breakdown */
@media (max-width: 768px) {
    .auto-estimator-modal {
        padding: 30px 20px;
        border-radius: 18px;
        max-height: 88vh;
    }

    .auto-estimator-title {
        font-size: 26px;
    }

    .auto-estimator-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .auto-estimator-modal-close {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .auto-estimator-modal {
        padding: 24px 16px;
    }

    .auto-estimator-title {
        font-size: 22px;
    }

    .auto-estimator-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }

    .auto-estimator-submit-btn {
        font-size: 1rem;
        padding: 14px 20px;
    }
}
/* ============================================
   FILE ATTACHMENT UPLOAD AREA
   ============================================ */

.auto-estimator-upload-area {
    width: 100%;
    padding: 24px;
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    background-color: var(--color-surface, rgba(255, 255, 255, 0.05));
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth, 0.3s ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-text-muted);
}

.auto-estimator-upload-area:hover,
.auto-estimator-upload-area.dragover {
    border-color: var(--color-primary);
    background-color: rgba(0, 115, 230, 0.05);
    color: var(--color-primary);
}

.auto-estimator-upload-area svg {
    color: inherit;
    transition: transform 0.3s ease;
}

.auto-estimator-upload-area:hover svg {
    transform: translateY(-3px);
}

.auto-estimator-upload-error {
    color: #E11D48;
    font-size: 0.85rem;
    margin-top: 8px;
}

.auto-estimator-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.auto-estimator-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background-color: var(--color-surface, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--color-border);
    border-radius: 6px;
    gap: 12px;
}

.auto-estimator-file-item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.2rem;
}

.auto-estimator-file-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auto-estimator-file-item-info {
    flex: 1;
    min-width: 0; /* allows truncation */
    display: flex;
    flex-direction: column;
}

.auto-estimator-file-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auto-estimator-file-item-size {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.auto-estimator-file-item-remove {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.2s ease;
}

.auto-estimator-file-item-remove:hover {
    color: #E11D48;
}

.auto-estimator-upload-progress {
    margin-top: 16px;
}

.auto-estimator-upload-progress .progress-bar {
    width: 100%;
    height: 6px;
    background-color: var(--color-border);
    border-radius: 3px;
    overflow: hidden;
}

.auto-estimator-upload-progress .progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.auto-estimator-upload-progress .progress-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: block;
    text-align: right;
    margin-top: 4px;
}
.thankyou-btn-secondary {
    background: transparent;
    color: #0073E6;
    border: 2px solid #0073E6;
}
.thankyou-btn-secondary:hover {
    background: #0073E6;
    color: #FFFFFF;
}
[data-theme="dark"] .thankyou-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
[data-theme="dark"] .thankyou-btn-secondary:hover {
    background: #FFFFFF;
    color: #1A3A5C;
}
