/* Sidebar Navigation Styling */
.bg-gray-50 {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(203, 213, 225, 0.3);
    transition: all 0.3s ease;
}

.bg-gray-50:hover {
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Section Headers */
.text-xl.font-bold {
    font-size: 1.35rem;
    position: relative;
    padding-bottom: 0.75rem;
    color: #1a365d;
}

.text-xl.font-bold:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ecc94b, #2b6cb0);
    border-radius: 3px;
}

.text-lg.font-bold {
    font-size: 1.1rem;
    color: #2b6cb0;
    position: relative;
    padding-left: 1.25rem;
}

.text-lg.font-bold:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ecc94b;
    border-radius: 50%;
}

/* Navigation Links */
.space-y-3 li,
.space-y-2 li {
    position: relative;
    padding-left: 1.25rem;
}

.space-y-3 li:before,
.space-y-2 li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #cbd5e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.space-y-3 a,
.space-y-2 a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.space-y-3 a:before,
.space-y-2 a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #ecc94b;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.space-y-3 a:hover,
.space-y-2 a:hover {
    color: #1a365d !important;
    background: rgba(226, 232, 240, 0.4);
    padding-left: 1rem;
}

.space-y-3 a:hover:before,
.space-y-2 a:hover:before {
    transform: scaleY(1);
}

.space-y-3 li:hover:before,
.space-y-2 li:hover:before {
    background: #ecc94b;
    transform: translateY(-50%) scale(1.5);
}

/* Section Dividers */
.mt-8 {
    position: relative;
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.mt-8:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(203, 213, 225, 0.7), transparent);
}

/* Active Link State */
.space-y-3 a.active,
.space-y-2 a.active {
    color: #1a365d !important;
    font-weight: 500;
    background: rgba(226, 232, 240, 0.6);
    padding-left: 1rem;
}

.space-y-3 a.active:before,
.space-y-2 a.active:before {
    transform: scaleY(1);
}

.space-y-3 li.active:before,
.space-y-2 li.active:before {
    background: #2b6cb0;
    transform: translateY(-50%) scale(1.5);
}

/* Hover Animation Effects */
@keyframes linkPulse {
    0% { transform: translateX(0); }
    50% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

.space-y-3 a:hover,
.space-y-2 a:hover {
    animation: linkPulse 0.5s ease;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .bg-gray-50 {
        padding: 1.5rem;
    }
    
    .space-y-3 a,
    .space-y-2 a {
        padding: 0.4rem 0.5rem;
    }
}

/* Icon Enhancements (Optional) */
.space-y-3 li:nth-child(1) a:after,
.space-y-3 li:nth-child(2) a:after,
.space-y-3 li:nth-child(3) a:after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.space-y-3 li:nth-child(1) a:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ecc94b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z'/%3E%3C/svg%3E");
}

.space-y-3 li:nth-child(2) a:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ecc94b'%3E%3Cpath d='M19 7h-2l-2-3H9L7 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2zm-7 9a4 4 0 110-8 4 4 0 010 8z'/%3E%3C/svg%3E");
}

.space-y-3 li:nth-child(3) a:after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ecc94b'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z'/%3E%3C/svg%3E");
}

.space-y-3 li:nth-child(1):hover a:after,
.space-y-3 li:nth-child(2):hover a:after,
.space-y-3 li:nth-child(3):hover a:after {
    opacity: 1;
}