/* Minimal sidebar enhancements that complement Nice Admin styles */

/* Enhanced hover effects for header navigation */
.header-nav .nav-link {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 8px 12px;
}

.header-nav .nav-link:hover {
    background-color: #f6f9ff;
    color: #4154f1;
}

.header-nav .nav-link:hover i {
    color: #4154f1;
    transform: scale(1.05);
}

/* Bookmark button specific styling */
.header-nav .nav-link i {
    transition: all 0.3s ease;
}

/* Active page highlighting for sidebar */
.sidebar-nav .nav-link.active {
    color: #4154f1 !important;
    background: #f6f9ff !important;
    font-weight: 600 !important;
}

.sidebar-nav .nav-content a.active {
    color: #4154f1 !important;
    font-weight: 600 !important;
}

/* Current page highlighting (legacy support) */
.sidebar-nav .nav-link.current-page {
    color: #4154f1 !important;
    background: #f6f9ff !important;
    font-weight: 600 !important;
}

.sidebar-nav .nav-content a.current-page {
    color: #4154f1 !important;
    font-weight: 600 !important;
}

/* Enhanced focus states for accessibility */
.sidebar-nav .nav-link:focus,
.sidebar-nav .nav-content a:focus {
    outline: 2px solid #4154f1;
    outline-offset: 2px;
}

/* Larger submenu icons for better visibility */
.sidebar-nav .nav-content a i {
    font-size: 14px !important;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px !important;
}

/* Main nav icons styling */
.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
}

/* Submenu padding and spacing adjustments */
.sidebar-nav .nav-content a {
    padding: 8px 0 8px 40px !important;
    display: flex;
    align-items: center;
}

/* Override Nice Admin active submenu styles - keep original icons instead of circles */
.sidebar-nav .nav-content a.active i {
    background-color: transparent !important;
    border-radius: 0 !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 14px !important;
}

.sidebar-nav .nav-content a:hover i,
.sidebar-nav .nav-content a.active i {
    background-color: transparent !important;
}

/* CSS animations for JavaScript functionality */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Bookmark tooltip styling */
.bookmark-tooltip .card {
    border: none !important;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2) !important;
    animation: fadeInUp 0.3s ease-out;
}

.bookmark-tooltip .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.bookmark-tooltip .card-text {
    font-size: 14px;
    color: #899bbd;
    margin-bottom: 0;
}