.csh-container {
    width: 90%;
    max-width: 800px;
    margin: 20px 0 20px 0; /* Rata kiri */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.csh-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(135deg, #ff3333, #cc0000);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.csh-link:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-1px);
}

.csh-link.csh-show::after {
    content: '\25BC';
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.csh-link.csh-hide::after {
    content: '\25B2';
    margin-left: 5px;
    font-size: 0.8rem;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.csh-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center; /* Memusatkan popup */
}

.csh-modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    width: fit-content; /* Lebar menyesuaikan isi */
    max-width: 90vw; /* Batas maksimum lebar viewport */
    max-height: 80vh; /* Batas tinggi untuk konten panjang */
    overflow-y: auto; /* Gulir jika konten melebihi */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
}

.csh-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #cc0000;
    border: 2px solid #cc0000;
    border-radius: 50%; /* Membuat lingkaran */
    transition: color 0.3s ease, background-color 0.3s ease;
}

.csh-modal-close:hover {
    color: #fff;
    background-color: #cc0000;
}

.csh-modal-body {
    margin-top: 20px;
    line-height: 1.6;
    flex-grow: 1; /* Mengisi ruang tersedia */
}

/* Animasi masuk */
@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsivitas */
@media (max-width: 600px) {
    .csh-container {
        width: 95%;
    }
    .csh-link {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    .csh-modal-content {
        max-width: 95vw;
        margin: 10px;
    }
    .csh-modal-close {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
}