/* 联系方式图标样式 */
.contact-icons-container {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #555;
    border-radius: 50%;
}

.contact-icon:hover {
    transform: translateY(-3px);
}

/* 新的图标样式 */
.contact-icon .fa-paper-plane {
    color: #007bff;
    font-size: 28px;
}

.contact-icon .fa-envelope {
    color: #007bff;
    font-size: 28px;
}

.contact-tooltip {
    position: absolute;
    right: 50px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    color: #333;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.4;
}

.contact-tooltip .tooltip-title {
    font-weight: bold;
    margin-bottom: 4px;
    color: #222;
}

.contact-tooltip .tooltip-action {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.contact-icon:hover .contact-tooltip {
    opacity: 1;
    visibility: visible;
    right: 55px;
}

.contact-tooltip:after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-50%) rotate(45deg);
}

/* 复制成功提示样式 */
.copy-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.copy-notification.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, -20px); }
}

/* 适配移动设备 */
@media (max-width: 768px) {
    .contact-icons-container {
        right: 10px;
        padding: 10px 8px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
}