/* Product Interest Form Modal Styles */
.product-interest-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.5);
    animation: fadeIn 0.3s;
}

.product-interest-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-interest-modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.product-interest-modal-header {
    padding: 20px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-interest-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.product-interest-modal-close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s;
}

.product-interest-modal-close:hover {
    opacity: 0.7;
}

.product-interest-modal-body {
    padding: 30px;
}

.product-interest-form-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}

.product-interest-form-group {
    margin-bottom: 20px;
}

.product-interest-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.product-interest-form-group input[type="text"],
.product-interest-form-group input[type="email"],
.product-interest-form-group input[type="tel"],
.product-interest-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.product-interest-form-group input:focus,
.product-interest-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.product-interest-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.product-interest-form-required {
    color: #e74c3c;
}

.product-interest-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.product-interest-form-submit,
.product-interest-form-cancel {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.product-interest-form-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.product-interest-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.product-interest-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.product-interest-form-cancel {
    background: #f5f5f5;
    color: #333;
}

.product-interest-form-cancel:hover {
    background: #e0e0e0;
}

.product-interest-form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
}

.product-interest-form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.product-interest-form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.product-interest-form-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.product-interest-form-loading.show {
    display: block;
}

.product-interest-form-loading::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .product-interest-modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .product-interest-modal-header {
        padding: 15px 20px;
    }
    
    .product-interest-modal-header h2 {
        font-size: 20px;
    }
    
    .product-interest-modal-body {
        padding: 20px;
    }
    
    .product-interest-form-actions {
        flex-direction: column;
    }
}

