/* body {

    background: url('/image/first.jpg') no-repeat center center fixed;
    background-size: cover;

}


body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.9); 
    z-index: -1;
} */


/* === Cố định thanh bottom nav === */
.pbt-fixed-header {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 500;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    border-top: 1px solid #ddd;
    transition: all 0.3s cubic-bezier(0.42, 0, 1, 1);
}

/* Trạng thái ẩn (dịch xuống dưới màn hình) */
.pbt-fixed-header.hidden {
    transform: translateY(100%);
    opacity: 0.4;          
    pointer-events: none;   
}

@media (min-width: 790px) {
    .pbt-fixed-header {
        position: fixed !important;
        bottom: 10px !important;       
        top: auto !important;
        left: 0;
        right: 0;
        margin: 0 auto !important;
        max-width: 900px;
        background: rgba(255, 255, 255, 1) !important; 
        border-radius: 16px !important;   
        box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
        border: 1px solid #e0e0e0 !important;
        z-index: 1000 !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transition: none !important;
    }

    .pbt-fixed-header.hidden {
        transform: none !important;
        opacity: 1 !important;
    }

    .pbt-bottom-nav {
        padding: 8px 0;
    }

    .pbt-nav-item {
        padding: 8px 0;
        min-width: 100px;
        opacity: 1;
    }

    .pbt-nav-item .pbt-nav-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 4px;
    }

    .pbt-nav-label {
        font-size: 13px;
    }
}



.pbt-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0px;

}

/* MẶC ĐỊNH: MỜ + XÁM */
.pbt-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    width: 16.66%;
    padding: 4px 0;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.pbt-nav-item .pbt-nav-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-bottom: 0px;
}

.pbt-nav-item .pbt-nav-label {
    font-weight: 500;
    white-space: nowrap;
}

/* ACTIVE: RÕ + ĐỎ + ĐẬM */
.pbt-nav-item.active {
    opacity: 1 !important;
    color: red !important;
    font-weight: 700 !important;
}

.pbt-nav-item.active .pbt-nav-label {
    font-weight: 700 !important;
}

/* Hover: rõ hơn */
.pbt-nav-item:hover:not(.active) {
    opacity: 1;
    color: #628cffff;
}

/* === MENU & PROFILE DROPDOWN (không dùng) === */
.pbt-fixed-header .menu-dropdown,
.pbt-fixed-header .profile-container {
    display: none;
}

/* === MODAL CHỌN GIẢI ĐUA === */
.pbt-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.pbt-modal.show {
    display: block;
}

.pbt-modal-content {
    background-color: #fff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.pbt-modal-content .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.pbt-modal-content .close:hover,
.pbt-modal-content .close:focus {
    color: #000;
}

.pbt-modal-content h2 {
    margin-top: 0;
    text-align: center;
    color: #333;
}

.pbt-modal-content ul {
    list-style: none;
    padding: 0;
}

.pbt-modal-content ul li {
    margin: 10px 0;
}

.pbt-modal-content ul li a {
    display: block;
    padding: 3px;
    text-decoration: none;
    color: #ff6200;
    background-color: #fbcf9d82;
    border-radius: 4px;
    text-align: center;
}

.pbt-modal-content ul li a:hover {
    background-color: #628cffff;
    color: white;
}

@media (max-width: 789px) {
    .pbt-modal-content {
        width: 90%;
        margin: 20px auto;
    }

    .pbt-nav-icon {
        width: 26px;
        height: 26px;
    }

    .pbt-nav-label {
        font-size: 11px;
    }
}


/* Tiêu đề hạng (Vô địch, Wingirl,...) */
.swal2-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    margin: 10px 0 !important;
    padding: 0 !important;
}

/* Tên + nickname */
.swal2-html-container > div > div {
    text-align: center;
}

.swal2-html-container strong {
    color: #ff6200;
    font-weight: 600;
}

.swal2-html-container div[style*="background:#fff8f0"] {
    background: linear-gradient(135deg, #fff8f0, #ffe8d6) !important;
    border-radius: 16px !important;
    padding: 6px !important;
    margin: 5px 0 !important;
    box-shadow: 0 4px 15px rgba(255,98,0,0.1);
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Nút đóng */
.swal2-cancel {
    background: linear-gradient(135deg, #ff6200, #e55b00) !important;
    color: white !important;
    border-radius: 16px !important;
    padding: 10px 40px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    box-shadow: 0 8px 20px rgba(255,98,0,0.4) !important;
    border: none !important;
    min-width: 140px;
}

.swal2-cancel:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(255,98,0,0.6) !important;
}

.swal2-actions {
    gap: 20px !important;
    padding: 5px!important;
    margin: 5px!important;
}

.swal2-popup {
    border-radius: 20px !important;
    margin: 5px 5px!important;
    padding: 5px!important;
}

/* Highlight sự kiện đang được chọn trong modal */
.pbt-modal-content ul li a.pbt-event-item.selected {
    background: linear-gradient(135deg, #ff6200, #e55b00) !important;
    color: white !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.3);
}

/* Hover cho sự kiện đang chọn – giữ tone cam nhưng đậm hơn */
.pbt-modal-content ul li a.pbt-event-item.selected:hover {
    background: linear-gradient(135deg, #e55b00, #cc4f00) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 98, 0, 0.4);
}

/* Đảm bảo các sự kiện không chọn vẫn có hover bình thường */
.pbt-modal-content ul li a.pbt-event-item:hover:not(.selected) {
    background-color: #628cffff;
    color: white;
}