/* 弹窗基础样式 */
.inquiry-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: 90%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    animation: slideIn 0.5s ease-out;
    font-family: Arial, sans-serif;
}

.inquiry-popup-content {
    position: relative;
}

.inquiry-popup-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.inquiry-popup-header h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.inquiry-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.inquiry-popup-body {
    padding: 20px;
}

.inquiry-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

.whatsapp-btn img {
    width: 24px;
    height: 24px;
}

.email-form h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #2980b9;
}

/* 动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .inquiry-popup {
        width: 95%;
        right: 2.5%;
        bottom: 10px;
        left: 2.5%;
    }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .inquiry-popup-header h3 {
        font-size: 14px;
    }
    
    .inquiry-popup-body {
        padding: 15px;
    }
}