.sop-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 15px 20px;
}

.sop-breadcrumb {
    margin-top: 30px;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.sop-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.sop-viewer {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    height: 90vh;
}

.sop-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.sop-nav {
    margin-top: 12px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
}

.nav-btn {
    margin-top: 30px;
    padding: 8px 18px;
    border-radius: 6px;
    border: none;
    background: #000000;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.nav-btn:hover {
    background: #222222;
}

.nav-btn:disabled {
    background: #8f8f8f;
    cursor: not-allowed;
}

#sopCounter {
    margin-top: 30px;
    padding: 6px;
    font-weight: 700; /* lebih bold */
    font-size: 15px; /* lebih besar */
}

/* --- Tambahan proteksi --- */

/* Hilangkan kemampuan select teks */
.sop-container,
.sop-viewer,
.sop-viewer iframe {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

/* Hilangkan drag konten */
.sop-container,
.sop-viewer,
.sop-viewer iframe {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Tambahkan watermark */
.sop-viewer {
    position: relative;
}

.sop-viewer::after {
    content: "SHE DEPT PT SLR";
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 50px;
    font-weight: bold;
    color: rgba(200, 0, 0, 0.2);
    pointer-events: none;
    white-space: nowrap;
}

/* --- Responsive untuk laptop kecil --- */
@media (max-width: 1024px) {
    .sop-container {
        max-width: 95%;
        padding: 12px 18px;
    }

    .sop-title {
        font-size: 20px;
    }

    .sop-viewer {
        height: 80vh; /* sedikit lebih pendek dibanding desktop */
    }

    .nav-btn {
        padding: 7px 16px;
        font-size: 14px;
    }

    #sopCounter {
        font-size: 14px;
    }

    .sop-viewer::after {
        font-size: 40px; /* watermark menengah */
    }
}

/* --- Responsive untuk tablet --- */
@media (max-width: 768px) {
    .sop-container {
        max-width: 100%;
        padding: 10px 15px;
    }

    .sop-title {
        font-size: 18px;
    }

    .sop-viewer {
        height: 70vh;
    }

    .nav-btn {
        padding: 6px 14px;
        font-size: 13px;
    }

    #sopCounter {
        font-size: 14px;
    }

    .sop-viewer::after {
        font-size: 35px;
    }
}

/* --- Responsive untuk HP --- */
@media (max-width: 480px) {
    .sop-container {
        padding: 8px 12px;
    }

    .sop-breadcrumb {
        font-size: 12px;
        margin-top: 20px;
    }

    .sop-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .sop-viewer {
        height: 60vh;
    }

    .sop-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-btn {
        width: 100%;
        padding: 8px;
        font-size: 12px;
    }

    #sopCounter {
        font-size: 13px;
    }

    .sop-viewer::after {
        font-size: 25px;
    }
}

