/* =========================================
   PRODI DETAIL PAGE STYLES
   ========================================= */

.prodi-page-wrapper {
    margin-top: 20px;
    padding-bottom: 40px;
}

.prodi-slider-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.prodi-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.prodi-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.prodi-slide.active {
    opacity: 1;
}

.prodi-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.prodi-slider-controls:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.prodi-slider-prev {
    left: 15px;
}

.prodi-slider-next {
    right: 15px;
}

.prodi-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.prodi-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s ease;
}

.prodi-slider-dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.prodi-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.sidebar {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    height: fit-content;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    position: sticky;
    top: 100px;
}

.sidebar-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
}

.sidebar-header h5 {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 6px;
}

.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    width: 100%;
}

.sidebar-btn i {
    width: 18px;
    text-align: center;
}

.sidebar-btn:hover {
    background: #e0edff;
    border-color: #2563eb;
    color: #1d4ed8;
    transform: translateX(4px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

.sidebar-btn.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.sidebar-btn .file-indicator {
    font-size: 12px;
    opacity: 0.8;
}

.content-section {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.section-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.section-content.active {
    display: block;
}

.section-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.content-body {
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-body img {
    max-width: 100%;
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.content-body table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.content-body table th,
.content-body table td {
    padding: 14px;
    border: 1px solid #e2e8f0;
    vertical-align: top;
}

.content-body table th {
    background: rgba(37, 99, 235, 0.08);
    font-weight: 600;
    color: #1e3a8a;
}

.content-body a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.document-download-section .alert {
    border: 2px solid #bfdbfe;
    background: linear-gradient(135deg, #f8fbff 0%, #e0f2fe 100%);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
}

.document-download-section .btn {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #1269e4;
    border: none;
    color: #ffffff;
}

.document-download-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    background: #111827;
}

.download-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0f172a;
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.download-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.download-notification i {
    font-size: 1.2rem;
    color: #38bdf8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .prodi-slider {
        height: 320px;
    }

    .sidebar {
        position: sticky;
        top: 80px;
    }
}

@media (max-width: 768px) {
    .prodi-slider {
        height: 260px;
    }

    .prodi-slider-controls {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .prodi-slider-dots {
        padding: 6px 12px;
        gap: 6px;
    }

    .content-section {
        padding: 20px;
    }

    .section-content h1 {
        font-size: 1.6rem;
    }

    .download-notification {
        right: 15px;
        left: 15px;
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .prodi-slider {
        height: 220px;
    }

    .prodi-slider-prev {
        left: 10px;
    }

    .prodi-slider-next {
        right: 10px;
    }

    .sidebar {
        padding: 20px;
        position: static;
    }

    .sidebar-header {
        text-align: center;
    }

    .sidebar-buttons {
        gap: 8px;
    }

    .sidebar-btn {
        font-size: 13px;
        padding: 10px 12px;
    }

    .content-section {
        padding: 18px;
    }
}

