/* Quote Modal Styles */
.quote-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    opacity: 0;
    pointer-events: none;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.quote-modal-backdrop.active {
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
    pointer-events: all;
}

.quote-modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: #fff;
    border-radius: var(--radius-md, 16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.quote-modal-content .form-wrapper {
    overflow-y: auto;
    flex: 1;
}

/* Custom Scrollbar Styles */
.quote-modal-content .form-wrapper::-webkit-scrollbar {
    width: 8px;
}

.quote-modal-content .form-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.quote-modal-content .form-wrapper::-webkit-scrollbar-thumb {
    background: rgba(26, 60, 26, 0.2);
    border-radius: 10px;
}

.quote-modal-content .form-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 60, 26, 0.35);
}

/* Firefox Scrollbar */
.quote-modal-content .form-wrapper {
    scrollbar-width: thin;
    scrollbar-color: rgba(26, 60, 26, 0.2) transparent;
}

.quote-modal-backdrop.active .quote-modal-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    font-size: 24px;
    line-height: 1;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.quote-modal-content .form-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 50px 40px 40px;
    box-shadow: none;
    border: none;
    background: transparent;
}

.quote-modal-content .form-header {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .quote-modal-backdrop {
        padding: 10px;
    }

    .quote-modal-content .form-wrapper {
        padding: 50px 24px 24px;
    }

    .modal-close-btn {
        top: 15px;
        right: 15px;
    }
}
