/* Quote Button */
.wcrsq-quote-wrapper {
    margin: 20px 0;
}

.wcrsq-request-quote-btn {
    background: #96588a !important;
    color: white !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    border-radius: 4px;
    transition: background 0.3s;
}

.wcrsq-request-quote-btn:hover {
    background: #7a4780 !important;
}

.wcrsq-view-product {
    display: inline-block;
    margin-top: 10px;
    background: #96588a;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
}

.wcrsq-price-placeholder {
    font-size: 16px;
    color: #96588a;
    font-weight: bold;
}

/* Modal */
.wcrsq-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow-y: auto;
}

.wcrsq-modal-content {
    background-color: #fefefe;
    margin: 30px auto;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: wcrsqSlideDown 0.3s;
}

@keyframes wcrsqSlideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wcrsq-modal-header {
    background: #96588a;
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wcrsq-modal-header h2 {
    margin: 0;
    font-size: 20px;
}

.wcrsq-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.wcrsq-close:hover {
    color: #f1f1f1;
}

/* Scrollable Form Body */
.wcrsq-modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}

.wcrsq-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.wcrsq-product-info img {
    max-width: 80px;
    height: auto;
    border-radius: 4px;
}

.wcrsq-product-info h3 {
    margin: 0;
    font-size: 18px;
}

.wcrsq-form-description {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #96588a;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

/* Form Elements */
.wcrsq-scrollable-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wcrsq-form-group {
    display: flex;
    flex-direction: column;
}

.wcrsq-form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.wcrsq-form-group input,
.wcrsq-form-group textarea,
.wcrsq-form-group select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.wcrsq-form-group input:focus,
.wcrsq-form-group textarea:focus,
.wcrsq-form-group select:focus {
    border-color: #96588a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(150, 88, 138, 0.1);
}

.wcrsq-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.wcrsq-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: normal !important;
    cursor: pointer;
}

.wcrsq-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Form Actions */
.wcrsq-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wcrsq-submit-btn {
    flex: 2;
    background: #96588a !important;
    color: white !important;
    padding: 12px !important;
    font-size: 16px !important;
}

.wcrsq-cancel-btn {
    flex: 1;
    background: #f1f1f1 !important;
    color: #333 !important;
    padding: 12px !important;
}

.wcrsq-response {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.wcrsq-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.wcrsq-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Mobile Responsiveness */
@media screen and (max-width: 600px) {
    .wcrsq-modal-content {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .wcrsq-modal-body {
        max-height: 80vh;
        padding: 15px;
    }
    
    .wcrsq-form-actions {
        flex-direction: column;
    }
}