.search_email_container {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    margin-left: auto;
    justify-content: flex-end;
}

.search_box {
    height: 38px;
    border: 1px solid #e4e4e4;
    border-radius: 20px;
    background-color: #f6f6f6;
    overflow: hidden;
    width: 280px;
    margin-left: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.email_box {
    position: relative;
    margin-top: 0;
    margin-left: 0;
}

.email_btn {
    display: flex;
    align-items: center;
    background-color: #2E5FB9;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(46, 95, 185, 0.3);
}

.email_btn:hover {
    background-color: #1e4a9a;
    box-shadow: 0 4px 8px rgba(46, 95, 185, 0.4);
    transform: translateY(-1px);
}

.email_btn img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.email_btn .divider {
    width: 1px;
    height: 20px;
    background-color: white;
    margin: 0 10px;
}

.email_btn .text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.qrcode_container {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 1000;
    margin-top: 10px;
    min-width: 200px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.qrcode_container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.qrcode_container img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.qrcode_container p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.qrcode_container::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.top_tel {
    text-align: right;
}

.top_tel span {
    color: var(--pink);
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-top: 10px;
    justify-content: flex-end;
    /* 添加这行让内容靠右对齐 */
}

@media (max-width: 768px) {
    .email_btn {
        padding: 6px 15px;
    }

    .email_btn .text {
        font-size: 12px;
    }

    .qrcode_container {
        right: -50px;
        min-width: 180px;
    }

    .qrcode_container img {
        width: 120px;
        height: 120px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.email_btn.clicked {
    animation: pulse 0.3s ease;
}