/* GoPlay popup – giữ nguyên lớp đặt tên gốc và hỗ trợ icon hình ảnh gốc */
#goplayPopup {
    display: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* nền đen mờ */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-icon {
    width: 64px;
    height: auto;
    align-content: center
}


/* Hộp popup */
/*.popup-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px 55px 25px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: scaleUp 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}*/

.popup-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px 55px 25px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: scaleUp 0.4s ease;
    position: absolute;
    top: 50%; /* Giữ nguyên canh dọc */
    left: 50%; /* Sẽ override bằng JS khi có anchorId */
    transform: translate(-50%, -50%);
}

/* Tiêu đề popup */
.popup-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

/* Nội dung */
.popup-message {
    font-size: 18px;
    margin-bottom: 35px;
    color: rgba(26, 29, 31, 1);
    font-weight: 500;
    margin-top: 35px;
}

.popup-confirm-btn {
    align-items: center;
    background-color: var(--vtco-primary-50);
    border: none;
    border-radius: var(--space-sm);
    box-shadow: 0 2px 5px 0 rgba(103, 110, 118, 0.08);
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    outline: none;
    padding: var(--space-md) var(--space-lg);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

    .popup-confirm-btn:hover {
        background-color: var(--vtco-primary-60);
        color: #fff;
    }

/* Nút hủy */
.popup-cancel-btn {
    background-color: #CD3636; /* Đỏ cảnh báo */
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 18px;
    outline: none;
    width: 100%;
}

    /* Hover và Focus giống Confirm */
    .popup-cancel-btn:hover {
        background-color: #e57373; /* Đỏ đậm hơn khi hover */
    }

    .popup-confirm-btn:focus,
    .popup-cancel-btn:focus {
        outline: none;
    }

.popup-actions {
    display: flex;
    flex-direction: column; /* Nút nằm theo cột dọc */
    justify-content: center; /* Căn giữa theo trục dọc */
    align-items: center; /* Căn giữa theo trục ngang */
    gap: 12px; /* Khoảng cách giữa các nút */
    margin-top: 20px;
}


/* Mobile tối ưu – giữ layout gốc, co giãn hợp lý */
@media (max-width: 480px) {
    .popup-content {
        width: 96vw;
        border-radius: 12px;
        padding: 16px;
    }

    .popup-actions {
        flex-wrap: wrap;
    }

    .popup-confirm-btn, .popup-cancel-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Chiều cao thấp (mobile landscape) */
@media (max-height: 560px) {
    .popup-content {
        max-height: 90vh;
        overflow: auto;
    }
}
