/* ========================================
   联系我们页面样式 - contact_page
   ======================================== */

/* 页面特有背景色 */
body {
    background-color: #f5f5f5;
}

/* Hero 渐变 - 紫色主题（使用 common_index.css 的 .hero-section） */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

/* 联系页面容器 */
.contact-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 3rem 0;
}

/* 联系卡片 */
.contact-section-card {
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-section-card .card-content {
    padding: 2rem;
}

.contact-section-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #3273dc;
}

.contact-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* 微信二维码容器 */
.wechat-qrcode-container {
    text-align: center;
    margin: 1.5rem 0;
}

.wechat-qrcode-container img {
    max-width: 200px;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.response-time {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* B站卡片 */
.bilibili-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.bilibili-card p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.bilibili-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fb7299;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.bilibili-link:hover {
    color: #fc8bab;
    transform: translateX(5px);
}

/* 立即联系按钮 */
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #267EF0;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(38, 126, 240, 0.2);
}

.contact-btn:hover {
    background: #1a66c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 126, 240, 0.3);
    color: white;
}

/* 表单样式 */
.contact-form {
    border-radius: 0.75rem;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dbdbdb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: white;
}

.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus {
    outline: none;
    border-color: #3273dc;
    box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.2);
}

.contact-form .field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #3273dc 0%, #4a9eff 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 115, 220, 0.3);
}

/* 验证码区域 */
.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.captcha-group .captcha-image {
    flex-shrink: 0;
    height: 42px;
    border-radius: 0.5rem;
    border: 1px solid #dbdbdb;
    background: white;
    cursor: pointer;
    transition: opacity 0.3s;
}

.captcha-group .captcha-image:hover {
    opacity: 0.8;
}

.captcha-group input[name="captcha_1"] {
    flex: 1;
    min-width: 120px;
    padding: 0.65rem 0.75rem;
    border: 1px solid #dbdbdb;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
}

.captcha-refresh {
    background: none;
    border: none;
    cursor: pointer;
    color: #667eea;
    font-size: 14px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.captcha-refresh:hover {
    color: #764ba2;
    background: #f5f5f5;
}

/* 二维码图片 */
.qrcode-image {
    max-width: 160px;
    margin: 1rem auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 服务标签样式 */
.tag.service-tag {
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s;
    cursor: pointer;
}

.tag.service-tag:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.tags.are-medium .tag {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
}

/* 联通合作网点卡片 */
.partner-badge {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border-left: 4px solid #4a90e2;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
}

.partner-badge p {
    color: #333;
    line-height: 1.6;
}

.partner-badge .unicom-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.partner-badge .unicom-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 0 0 2rem 0;
    }

    .contact-section-card .card-content {
        padding: 1.5rem;
    }

    .contact-section-title {
        font-size: 1.4rem;
    }

    .captcha-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-btn {
        width: 100%;
        justify-content: center;
    }
}
