body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.card-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: 0.2s;
}

.card-box:hover {
    transform: scale(1.02);
}

.locked {
    opacity: 0.5;
}

.opened {
    background: rgba(0, 200, 255, 0.2);
}

/* popup */
#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-content {
    background: #1e293b;
    padding: 25px;
    border-radius: 15px;
    max-width: 90%;
    width: 500px;
    text-align: center;
    animation: zoomIn 0.3s ease;

    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-thumb {
    background: rgba(0, 200, 255, 0.6);
    border-radius: 10px;
}

#fullMessage {
    text-align: left;
    white-space: pre-wrap;
    word-break: break-word;

    overflow-y: auto;
    max-height: 50vh;
    padding-right: 5px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* pagination */
.pagination-custom {
    margin-top: 10px;
    text-align: center;
}

.pagination-custom button {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: white;
    padding: 6px 12px;
    margin: 3px;
    border-radius: 10px;
    transition: 0.2s;
}

.pagination-custom button:hover {
    background: rgba(0, 200, 255, 0.4);
    transform: translateY(-2px);
}

.pagination-custom button.active {
    background: rgba(0, 200, 255, 0.9);
    font-weight: bold;
    box-shadow: 0 0 8px rgba(0, 200, 255, 0.6);
}

.limit-box {
    font-size: 13px;
}