/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

#contactButton {
    position: fixed;
    bottom: 0;
    right: 15px;
    max-height: 100%;
    width: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}

#contactButton .panel {
    margin-bottom: 0;
    width: 100%;
    color: #333;
    display: none;
}

#contactButton .ctb {
    position: fixed;
    bottom: 0;
    right: 15px;
    z-index: 1000;
    text-align: center;
}

#contactButton .ctb,
#contactButton .panel {
    border-radius: 5px 5px 0 0;
}

#contactButton .ctb em {
    margin-right: 3px;
    font-size: 1.6em;
    vertical-align: middle;
}

@media (max-width: 1199px) {
    #contactButton .ctb {
        right: 70px;
    }
}

@media (max-width: 499px) {
    #contactButton {
        right: auto;
        left: 0;
        width: 90%;
    }
}



/* Container định vị góc dưới bên phải (hoặc trái tùy chọn) */
#quickContactButtons {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

/* Định dạng chung cho các nút tròn */
.quick-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.quick-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.quick-btn em {
    font-size: 22px;
}

/* Nút Góp ý (Xanh lam) */
.btn-feedback {
    background-color: #007bff;
}

/* Nút Zalo (Xanh biển / Cyan) */
.btn-zalo {
    background-color: #0088ff;
    overflow: hidden;
}

.btn-zalo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nút Hotline (Đỏ) */
.btn-hotline {
    background-color: #d9251c;
}

/* Điều chỉnh lại vị trí panel pop-up của NukeViet nếu bị lệch */
#contactButton {
    position: relative;
}

#contactButton .panel {
    position: absolute;
    right: 60px;
    bottom: 0;
    width: 320px;
    margin-bottom: 0;
}