/* Contact Information 模块样式 */
.contact-section {
    position: relative;
}

.contact-container {
    min-height: 200px;
}

/* 加载状态样式 */
.contact-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #2246A6;
    border-radius: 15px;
    border: 1px solid #2246A6;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #E3F2FD;
    border-top: 4px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 错误状态样式 */
.contact-error {
    padding: 30px;
    background: #FFEBEE;
    border: 1px solid #F44336;
    border-radius: 15px;
    color: #C62828;
}

.error-message {
    margin: 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

/* 空状态样式 */
.contact-empty {
    padding: 40px;
    background: #2246A6;
    border: 1px solid #2246A6;
    border-radius: 15px;
    text-align: center;
}

.contact-empty p {
    margin: 0;
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
}

/* 联系信息网格布局 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 联系信息项目样式 */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #2246A6;
    border: 1px solid #2246A6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #2246A6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 69, 166, 0.2);
}

/* 联系信息图标 */
.contact-icon {
    width: 24px;
    height: 24px;
    fill: #000000;
    flex-shrink: 0;
}

/* 联系信息文本 */
.contact-text {
    color: #000000;
    font-size: 16px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-grid {
        gap: 15px;
    }

    .contact-item {
        padding: 12px;
    }

    .contact-icon {
        width: 20px;
        height: 20px;
    }

    .contact-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        gap: 10px;
    }

    .contact-item {
        padding: 10px;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
    }

    .contact-text {
        font-size: 14px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .contact-loading,
    .contact-empty {
        background: #0D47A1;
        border-color: #64B5F6;
    }

    .loading-spinner {
        border-color: #0D47A1;
        border-top-color: #64B5F6;
    }

    .contact-error {
        background: #B71C1C;
        border-color: #EF5350;
    }

    .contact-item {
        background: #1E3A8A;
        border-color: #64B5F6;
    }

    .contact-item:hover {
        background: #0D47A1;
    }

    .contact-icon {
        fill: #64B5F6;
    }

    .contact-text {
        color: #90CAF9;
    }
}
