/* Container chính */
.popup-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Nút mở Popup */
.popup-toggle {
    background: linear-gradient(135deg, #37bef8, #007bff);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ẩn nút popup */
.popup-toggle.hidden {
    display: none;
}

.popup-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Nội dung Popup */
.popup-contact {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 280px;
    display: none;
    /* Mặc định ẩn */
    flex-direction: column;
    animation: slideInUp 0.3s ease;
}

/* Header Popup */
.popup-header {
    background: linear-gradient(135deg, #37bef8, #007bff);
    color: white;
    padding: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-logo {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

/* Nội dung chính */
.popup-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-link:hover {
    background: #e8f4ff;
    color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Hiệu ứng Slide In */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

/* Popup Giọt Nước */

.water-drop-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: radial-gradient(ellipse at center, #fffeea 0%, #fffeea 35%, #b7e8eb 100%);
    color: #015871;
    /* Màu chữ phù hợp với nền */
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.water-drop-popup:hover {
    background-color: #013f53;
    transform: scale(1.1);
}

/* Hiển thị giọt nước khi cuộn xuống */
.water-drop-popup.show {
    opacity: 1;
    visibility: visible;
}