/* purgecss start ignore */
figure.image {
    margin  : 10px 0;
    display : inline-block;
}

figcaption {
    background: #f5f5f5;
    padding: 10px;
    font-size: 90%;
    text-align: center;
}
/* purgecss end ignore */

.modal-custom {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    /* Căn giữa */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 350px; /* Khung nhỏ gọn xinh xắn */
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    text-align: center;
    animation: zoomIn 0.3s ease; /* Hiệu ứng hiện ra */
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 25px;
    cursor: pointer;
    color: #888;
}

.qr-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid #eee;
}
