/* 快速联系弹窗样式 */
/* Quick Contact Modal Styles */

.quick-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-contact-modal.show {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

.quick-contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.quick-contact-box {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 1;
}

.quick-contact-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.quick-contact-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: rotate(90deg);
}

.quick-contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.quick-contact-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
    display: block;
}

.quick-contact-header h3 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 10px;
    font-weight: 700;
}

.quick-contact-header p {
    font-size: 1rem;
    color: #718096;
}

.quick-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
}

.quick-form-group input,
.quick-form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.quick-form-group input:focus,
.quick-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.quick-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.quick-submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.quick-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.quick-submit-btn:active {
    transform: translateY(0);
}

/* 成功提示 */
.quick-contact-success {
    text-align: center;
    padding: 40px 20px;
}

.quick-contact-success i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 20px;
    display: block;
}

.quick-contact-success h3 {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 10px;
}

.quick-contact-success p {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 20px;
}

.quick-contact-success .btn-close {
    padding: 12px 30px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-contact-success .btn-close:hover {
    background: #059669;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 576px) {
    .quick-contact-box {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .quick-contact-header h3 {
        font-size: 1.5rem;
    }
    
    .quick-contact-header i {
        font-size: 2.5rem;
    }
    
    .quick-submit-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

/* 滚动条样式 */
.quick-contact-box::-webkit-scrollbar {
    width: 6px;
}

.quick-contact-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.quick-contact-box::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.quick-contact-box::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Loading状态 */
.quick-submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.quick-submit-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

