/* Request Offer Button */
.request-offer-wrapper {
    margin: 20px 0;
}

.request-offer-btn {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.request-offer-btn:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

/* Modal Overlay */
.request-offer-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.request-offer-modal-open {
    overflow: hidden;
}

/* Modal Content */
.request-offer-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.request-offer-close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #999;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-offer-close:hover,
.request-offer-close:focus {
    color: #333;
    background-color: #f0f0f0;
}

/* Modal Header */
.request-offer-modal-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

/* Product Info */
.product-info {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    color: #555;
}

.product-info strong {
    color: #2c3e50;
}

/* Form Styles */
#request-offer-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Group */
.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label a {
    color: #2c3e50;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #34495e;
}

/* Submit Button */
.request-offer-submit-btn {
    width: 100%;
    background-color: #27ae60;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.request-offer-submit-btn:hover:not(:disabled) {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.request-offer-submit-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Message Styles */
.request-offer-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 15px;
    text-align: center;
    display: none;
}

.request-offer-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.request-offer-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .request-offer-modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
        border-radius: 15px;
    }
    
    .request-offer-modal-content h2 {
        font-size: 24px;
        padding-right: 40px;
    }
    
    .request-offer-close {
        right: 15px;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .request-offer-btn {
        width: 100%;
        padding: 12px 25px;
        font-size: 15px;
    }
    
    .request-offer-modal-content {
        margin: 5% auto;
        padding: 25px 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group textarea {
        padding: 10px 15px;
        font-size: 14px;
    }
}

