/* ================================================= */
/* ============ SUPER PREMIUM SIDEBAR ============= */
/* ================================================= */

/* Sidebar Container */
.pkp_structure_sidebar {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e6e9ef;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Sidebar Title */
.pkp_structure_sidebar h2,
.pkp_structure_sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0a2a66;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid #0a2a66;
    letter-spacing: 0.5px;
}

/* Menu Reset */
.journal-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Menu Item */
.journal-sidebar-menu li {
    margin-bottom: 8px;
    position: relative;
}

/* Menu Link */
.journal-sidebar-menu li a {
    display: block;
    padding: 12px 15px 12px 40px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    background: #f5f7fb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

/* Automatic Icon */
.journal-sidebar-menu li a:before {
    content: "›";
    position: absolute;
    left: 15px;
    font-size: 18px;
    color: #0a2a66;
    transition: 0.3s;
}

/* Hover Effect */
.journal-sidebar-menu li a:hover {
    background: #0a2a66;
    color: #ffffff;
    padding-left: 45px;
    box-shadow: 0 8px 20px rgba(10, 42, 102, 0.25);
}

.journal-sidebar-menu li a:hover:before {
    color: #ffffff;
}

/* Active Page */
.journal-sidebar-menu li a.active,
.journal-sidebar-menu li a[aria-current="page"] {
    background: #0a2a66;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(10, 42, 102, 0.25);
}

.journal-sidebar-menu li a.active:before,
.journal-sidebar-menu li a[aria-current="page"]:before {
    color: #ffffff;
}

/* Block spacing */
.pkp_structure_sidebar .block {
    margin-bottom: 40px;
}

/* Buttons inside sidebar */
.pkp_structure_sidebar .btn {
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
}

/* ================================================= */
/* ============ SUBTLE ANIMATION ================== */
/* ================================================= */

.journal-sidebar-menu li {
    opacity: 0;
    transform: translateX(-5px);
    animation: fadeSlide 0.4s ease forwards;
}

.journal-sidebar-menu li:nth-child(1) { animation-delay: 0.05s; }
.journal-sidebar-menu li:nth-child(2) { animation-delay: 0.1s; }
.journal-sidebar-menu li:nth-child(3) { animation-delay: 0.15s; }
.journal-sidebar-menu li:nth-child(4) { animation-delay: 0.2s; }
.journal-sidebar-menu li:nth-child(5) { animation-delay: 0.25s; }
.journal-sidebar-menu li:nth-child(6) { animation-delay: 0.3s; }
.journal-sidebar-menu li:nth-child(7) { animation-delay: 0.35s; }
.journal-sidebar-menu li:nth-child(8) { animation-delay: 0.4s; }
.journal-sidebar-menu li:nth-child(9) { animation-delay: 0.45s; }
.journal-sidebar-menu li:nth-child(10) { animation-delay: 0.5s; }
.journal-sidebar-menu li:nth-child(11) { animation-delay: 0.55s; }
.journal-sidebar-menu li:nth-child(12) { animation-delay: 0.6s; }

@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================================= */
/* ============ RESPONSIVE ========================= */
/* ================================================= */

@media (max-width: 992px) {

    .pkp_structure_sidebar {
        margin-top: 40px;
        padding: 25px;
    }

    .journal-sidebar-menu li a {
        font-size: 15px;
    }
}