#eqs-quote-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.eqs-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.eqs-form-group {
    flex: 1;
    margin-bottom: 15px;
}

.eqs-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.eqs-form-group input,
.eqs-form-group select,
.eqs-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.eqs-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.eqs-form-group input:focus,
.eqs-form-group select:focus,
.eqs-form-group textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.eqs-message {
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
}

.eqs-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.eqs-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* NEW POPUP STYLES - ADD THESE TO YOUR EXISTING CSS */

/* Popup Overlay */
.eqs-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Popup Container */
.eqs-popup-container {
    position: relative;
    background: white;
    max-width: 650px;
    margin: 50px auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: eqsPopupSlideIn 0.3s ease-out;
}

/* Popup Header */
.eqs-popup-header {
    align-items: center;
    padding: 0px 20px 0 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.eqs-popup-title {
  margin: auto;
  font-size: 34px;
  font-weight: 600;
  text-align: center;
  padding-bottom: 15px;
}

/* Close Button */
.eqs-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.eqs-popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Popup Content */
.eqs-popup-content {
    padding: 20px;
}

.eqs-popup-content #eqs-quote-form {
    margin: 0;
    padding: 0;
}

/* Animation */
@keyframes eqsPopupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Button styles for popup triggers */
.quote-popup {
    cursor: pointer;
}

@media (max-width: 768px) {
    .eqs-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .eqs-popup-container {
        margin: 20px auto;
        max-width: calc(100% - 40px);
    }
    
    .eqs-popup-overlay {
        padding: 10px;
    }
}

/* Icon styling for popup title */

/* Update popup title to handle icon alignment */
.eqs-popup-title {
    margin: auto;
    font-size: 34px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .eqs-popup-icon {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    .eqs-popup-title {
        font-size: 28px;
    }
}

.eqs-icons {
    width: 70px;
    margin: 0 auto 10px;
}

.eqs-form-group.elementor-widget-button {
    margin-top:30px;
}