/* Quote Modal Styles */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quote-modal.show {
    opacity: 1;
    visibility: visible;
}

.quote-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.quote-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: transform 0.3s ease;
}

.quote-modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.quote-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #31738c, #2c5f7a);
    color: white;
    border-radius: 15px 15px 0 0;
}

.quote-modal .modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.quote-modal .modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.quote-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.quote-modal .modal-body {
    padding: 30px;
}

.quote-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.quote-form .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #333;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #31738c;
    background: white;
    box-shadow: 0 0 0 3px rgba(49, 115, 140, 0.1);
}

.quote-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.quote-form textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-form .submit-btn {
    background: linear-gradient(135deg, #31738c, #2c5f7a);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(49, 115, 140, 0.3);
}

.quote-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 115, 140, 0.4);
}

.quote-form .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.quote-form .submit-btn i {
    transition: transform 0.3s ease;
}

.quote-form .submit-btn:hover i {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .quote-modal .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .quote-modal .modal-header {
        padding: 20px;
    }
    
    .quote-modal .modal-header h3 {
        font-size: 20px;
    }
    
    .quote-modal .modal-body {
        padding: 20px;
    }
    
    .quote-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .quote-form .form-group {
        margin-bottom: 15px;
    }
    
    .quote-form input,
    .quote-form select,
    .quote-form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .quote-form .submit-btn {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
}
