/*
Theme Name: AI Free Tools V2
Theme URI: https://aifreetoolsv2.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: Child theme for GeneratePress
Template: generatepress
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aifreetoolsv2
*/

/* =================================
   Custom Styles
   ================================= */

/* Reset and Base Styles */

.site-content {
  display: unset;
}

section.categories-section {
    padding-bottom: 0px;
}

.ai-tools-wrapper {
    min-height: 100vh;
    background: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    box-sizing: border-box;
    position: relative;
}

/* Top Header Bar */
.ai-tools-top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: visible; /* Ensure tooltips can show */
}

/* Main Container */
.ai-tools-container {
    display: flex;
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    background: #f8f9fb;
    position: relative;
}

/* Left Sidebar Styles */
.ai-tools-sidebar {
    width: 280px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    position: relative;
    z-index: 1;
    border-right: 1px solid #e8ecf1;
    box-shadow: 2px 0 4px rgba(0,0,0,0.02);
    overflow: hidden;
}

/* Prevent transition on initial page load */
.ai-tools-sidebar.no-transition {
    transition: none !important;
}

/* Header Logo Styles */
.header-logo {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.header-logo img,
.header-logo .custom-logo,
.top-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

/* Navigation Styles */
.ai-tools-nav {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0 16px 0;
}

.nav-section {
    margin-bottom: 24px;
    padding: 0 12px;
}

.nav-section h3 {
    margin: 0 0 8px 0;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: #6c7781;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Category Headers */
.nav-category {
    margin-bottom: 4px;
}

.nav-category .category-header {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    margin: 0 0 4px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #23282c;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.nav-category .category-header:hover {
    background: #f0f3f7;
    color: #1a73e8;
}

.category-toggle {
    margin-left: auto;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 10px;
}

.nav-category.collapsed .category-toggle {
    transform: rotate(-90deg);
}

/* Sub-menu Styles */
.sub-menu {
    list-style: none;
    margin: 0 0 8px 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-category.collapsed .sub-menu {
    max-height: 0;
    margin: 0;
}

.sub-menu .nav-item {    
    margin-bottom: 2px;
}

.sub-menu .nav-item a {
    font-size: 13px;
    padding: 8px 16px;
}

.nav-item {
    display: flex;
    align-items: center;    
    margin: 0 0 4px 0;
    border-radius: 8px;
    text-decoration: none;
    color: #23282c;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    width: 100%;
}

.nav-item:hover {
    background: #f0f3f7;
    color: #1a73e8;
    transform: translateX(4px);
}

.nav-item.active {
    background: #1a73e8;
    color: white;
}

.nav-item.active .nav-icon i {
    filter: grayscale(0) brightness(2);
}

.nav-item.loading::after,
.sidebar-menu li.loading > a::after,
.sidebar-footer-menu li.loading > a::after {
    content: '';
    position: absolute;
    right: 20px;
    width: 14px;
    height: 14px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.nav-icon {
    min-width: 24px;
    width: 24px;
    margin-right: 12px;
    font-size: 18px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon i {
    font-size: 16px;
}

.nav-label {
    flex: 1;
}

.premium-item {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a1a;
    font-weight: 600;
}

.premium-item:hover {
    background: linear-gradient(135deg, #ffb700 0%, #ff9500 100%);
    transform: translateY(-1px);
}

/* Main Content Wrapper */
.ai-tools-main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    position: relative;
    z-index: 1;
    transition: margin-left 0.3s ease;
}

/* Main content doesn't need to adjust since sidebar stays at 80px */

/* Page Title Container in Top Header */
.page-title-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.page-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.page-title-icon .page-icon-emoji {
    font-size: 24px;
    line-height: 1;
}

.page-title-icon i {
    font-size: 20px;
    color: white;
}

.page-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: white;
    letter-spacing: -0.3px;
}

.page-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-right-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-right-sidebar:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Main Content Area */
.ai-tools-main {
    flex: 1;
    padding: 32px;
    background: #ffffff;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}

.ai-tools-main.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Tool Content Styles */
.tool-content h1 {
    display: none; /* Hide since we show it in the header */
}

.tool-description {
    margin: 0 0 32px 0;
    font-size: 16px;
    color: #6c7781;
    line-height: 1.6;
}

/* Tool Interface */
.tool-interface {
    background: #f8f9fb;
    border-radius: 12px;
    padding: 24px;
}

/* Mode Tabs */
.mode-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: #e8ecf1;
    padding: 4px;
    border-radius: 8px;
}

.mode-tab {
    flex: 1;
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #6c7781;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-tab:hover {
    color: #1a1a1a;
}

.mode-tab.active {
    background: white;
    color: #1a73e8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Input/Output Areas */
.tool-input,
.tool-output {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.tool-input textarea,
.tool-output textarea {
    width: 100%;
    min-height: 200px;
    padding: 16px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.tool-input textarea:focus,
.tool-output textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

/* Action Buttons */
.tool-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.tool-action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool-action-btn.primary {
    background: #1a73e8;
    color: white;
}

.tool-action-btn.primary:hover {
    background: #1557b0;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.tool-action-btn.secondary {
    background: #f0f3f7;
    color: #1a1a1a;
}

.tool-action-btn.secondary:hover {
    background: #e8ecf1;
}

.tool-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tool-action-btn.processing {
    position: relative;
    color: transparent;
}

.tool-action-btn.processing::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Right Sidebar */
.ai-tools-right-sidebar {
    width: 240px;
    background: #f8f9fb;
    border-left: 1px solid #e8ecf1;
    padding: 24px 20px;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

body.right-sidebar-hidden .ai-tools-right-sidebar {
    transform: translateX(100%);
}

.toggle-right-sidebar.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-section h3 {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.settings-btn,
.feedback-btn,
.hotkeys-btn {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.settings-btn:hover,
.feedback-btn:hover,
.hotkeys-btn:hover {
    background: #f0f3f7;
    border-color: #1a73e8;
}

/* Text Counters */
.text-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 12px;
    color: #6c7781;
}

.word-count,
.char-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Notifications */
.ai-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1a1a1a;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

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

/* Page Transitions */
#ai-tools-content {
    transition: opacity 0.2s ease;
}

#ai-tools-content.transitioning-out {
    opacity: 0.5;
}

.page-transitioning #ai-tools-content {
    opacity: 0;
}

/* Keep header stable during transitions */
.ai-tools-top-header {
    transition: none !important;
}

.page-transitioning .ai-tools-top-header {
    opacity: 1 !important;
}

/* Subtle loading indicator */
.ai-tools-sidebar.loading::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1a73e8, transparent);
    animation: loading-slide 1s ease-in-out infinite;
}

@keyframes loading-slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

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

/* Animate content on load */
.ai-tools-main .tool-content {
    animation: fadeIn 0.4s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ai-tools-right-sidebar {
        position: fixed;
        right: 0;
        top: 60px;
        height: calc(100vh - 60px);
        z-index: 997;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    }
    
    .admin-bar .ai-tools-right-sidebar {
        top: calc(60px + 32px);
        height: calc(100vh - 60px - 32px);
    }
    
    body:not(.right-sidebar-hidden) .ai-tools-right-sidebar {
        transform: translateX(0);
    }
}

@media (max-width: 782px) {
    .admin-bar .ai-tools-right-sidebar {
        top: calc(60px + 46px);
        height: calc(100vh - 60px - 46px);
    }
}

@media (max-width: 768px) {
    .ai-tools-sidebar {
        width: 280px;
        position: fixed;
        top: 60px;
        left: 0;
        height: calc(100vh - 60px);
        transform: translateX(-100%);
        z-index: 999;
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }
    
    .admin-bar .ai-tools-sidebar {
        top: calc(60px + 46px);
        height: calc(100vh - 60px - 46px);
    }
    
    .ai-tools-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .ai-tools-main-wrapper {
        width: 100%;
    }
    
    .ai-tools-top-header {
        padding: 0 16px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .ai-tools-main {
        padding: 20px;
    }
    
    .tool-interface {
        padding: 16px;
    }
    
    .mode-tabs {
        flex-wrap: wrap;
    }
    
    /* Mobile overlay */
    .ai-tools-sidebar.mobile-open ~ .ai-tools-main-wrapper::before {
        content: '';
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .admin-bar .ai-tools-sidebar.mobile-open ~ .ai-tools-main-wrapper::before {
        top: calc(60px + 46px);
    }
}

/* Hide Default Theme Elements for All Pages */
.ai-tools-layout .generate-page-header,
.ai-tools-layout .site-header,
.ai-tools-layout .main-navigation,
.ai-tools-layout .site-footer,
.ai-tools-layout #generate-back-to-top {
    display: none !important;
}

.ai-tools-layout .site {
    max-width: 100%;
    margin: 0;
}

.ai-tools-layout .site-content {
    padding: 0;
}

.ai-tools-layout .container {
    max-width: 100%;
    padding: 0;
}

/* Ensure full width layout */
.ai-tools-layout.separate-containers .inside-article,
.ai-tools-layout.one-container .site-content {
    padding: 0;
}

/* Remove old mobile menu toggle - using hamburger in header now */

/* WordPress Admin Bar Compatibility */
.admin-bar .ai-tools-top-header {
    top: 32px;
}

.admin-bar .ai-tools-container {
    margin-top: calc(60px + 32px);
    min-height: calc(100vh - 60px - 32px);
}

@media (max-width: 782px) {
    .admin-bar .ai-tools-top-header {
        top: 46px;
    }
    
    .admin-bar .ai-tools-container {
        margin-top: calc(60px + 46px);
        min-height: calc(100vh - 60px - 46px);
    }
}

/* Nav Menu Styles */
.sidebar-menu,
.sidebar-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu,
.sidebar-footer-menu {
    padding: 0 12px;
}

.sidebar-menu li,
.sidebar-footer-menu li {
    margin-bottom: 4px;
    list-style: none;
}

.sidebar-menu li a,
.sidebar-footer-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    margin: 0;
    border-radius: 8px;
    text-decoration: none;
    color: #23282c;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    position: relative;
}

.sidebar-menu li a:hover,
.sidebar-footer-menu li a:hover {
    background: #f0f3f7;
    color: #1a73e8;
    transform: translateX(4px);
    text-decoration: none;
}

.sidebar-menu li.current-menu-item > a,
.sidebar-menu li.current_page_item > a,
.sidebar-footer-menu li.current-menu-item > a,
.sidebar-footer-menu li.current_page_item > a {
    background: #1a73e8;
    color: white;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.sidebar-menu li.current-menu-item > a .nav-icon,
.sidebar-menu li.current_page_item > a .nav-icon,
.sidebar-footer-menu li.current-menu-item > a .nav-icon,
.sidebar-footer-menu li.current_page_item > a .nav-icon {
    color: white;
}

/* Nav Section Headers */
.nav-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e8ecf1;
}

/* Upgrade Button */
.upgrade-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px;
    padding: 12px;
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(26, 115, 232, 0.3);
}

/* =================================
   COLLAPSIBLE SIDEBAR STYLES
   ================================= */




/* Collapsed Sidebar Base */
.ai-tools-container.sidebar-collapsed .ai-tools-sidebar {
    width: 80px;
    transition: all 0.3s ease;
}


/* Navigation adjustments when collapsed */
.ai-tools-container.sidebar-collapsed .ai-tools-nav {
    padding: 20px 0;
}

/* Hide labels when collapsed */
.ai-tools-container.sidebar-collapsed .nav-label,
.ai-tools-container.sidebar-collapsed .category-toggle {
    display: none !important;
}

/* Center menu items when collapsed */
.ai-tools-container.sidebar-collapsed .sidebar-menu li > a,
.ai-tools-container.sidebar-collapsed .sidebar-footer-menu li > a,
.ai-tools-container.sidebar-collapsed .nav-category > .category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    min-height: 48px;
}

/* Category headers when collapsed - only show if they have href */
.ai-tools-container.sidebar-collapsed .nav-category > .category-header:not([href]) {
    display: none !important;
}

/* Show sub-menu items when category has no link */
.ai-tools-container.sidebar-collapsed .nav-category:has(> .category-header:not([href])) > .sub-menu {
    display: block !important;
    max-height: none !important;
    margin: 0;
}

/* Hide sub-menu when category IS a link */
.ai-tools-container.sidebar-collapsed .nav-category:has(> a.category-header) > .sub-menu {
    display: none !important;
}

/* Icon styling when collapsed */
.ai-tools-container.sidebar-collapsed .nav-icon {
    margin: 0;
    font-size: 20px;
}

/* Active state when collapsed */
.ai-tools-container.sidebar-collapsed .sidebar-menu li.current-menu-item > a,
.ai-tools-container.sidebar-collapsed .sidebar-menu li.current_page_item > a {
    background: #1a73e8;
    color: white;
}

/* Hover state when collapsed */
.ai-tools-container.sidebar-collapsed .sidebar-menu li > a:hover,
.ai-tools-container.sidebar-collapsed .category-header:hover {
    background: #f0f3f7;
}

/* Hide section headers when collapsed */
.ai-tools-container.sidebar-collapsed .nav-section h3 {
    display: none;
}

/* Tooltip styles */
.sidebar-tooltip {
    position: fixed;
    background: #2d3436;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    transform: translateY(-50%);
}

.sidebar-tooltip.visible {
    opacity: 1;
}

.sidebar-tooltip::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-right-color: #2d3436;
}



/* Hamburger menu styling */
.header-hamburger-menu {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    font-size: 20px;
    position: relative;
    /* Remove overflow: hidden to allow tooltip to show */
}

.header-hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.header-hamburger-menu:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.header-hamburger-menu i {
    color: white;
    pointer-events: none; /* Ensure clicks go to button, not icon */
    transition: all 0.3s ease;
}

/* Hamburger menu icon states */
.header-hamburger-menu .fa-bars {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.header-hamburger-menu .fa-backward,
.header-hamburger-menu .fa-forward {
    display: none;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

/* Hamburger menu tooltip */
.header-hamburger-menu::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #2d3436;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1001;
}

.header-hamburger-menu::before {
    content: '';
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: #2d3436;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1001;
}

.header-hamburger-menu:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

.header-hamburger-menu:hover::before {
    opacity: 1;
}

/* When sidebar is open (expanded) - show backward icon on hover */
.ai-tools-wrapper:not(.sidebar-collapsed) .header-hamburger-menu:hover .fa-bars {
    opacity: 0;
}

.ai-tools-wrapper:not(.sidebar-collapsed) .header-hamburger-menu:hover .fa-backward {
    display: inline-block;
    opacity: 1;
}

/* When sidebar is closed (collapsed) - show forward icon on hover */
.ai-tools-wrapper.sidebar-collapsed .header-hamburger-menu:hover .fa-bars {
    opacity: 0;
}

.ai-tools-wrapper.sidebar-collapsed .header-hamburger-menu:hover .fa-forward {
    display: inline-block;
    opacity: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    
    
    .ai-tools-container.sidebar-collapsed .ai-tools-sidebar {
        width: 280px;
    }
    
    .ai-tools-container.sidebar-collapsed .nav-label {
        display: inline-block !important;
    }
    
    .ai-tools-container.sidebar-collapsed .sidebar-menu > li > a,
    .ai-tools-container.sidebar-collapsed .sidebar-footer-menu > li > a {
        justify-content: flex-start;
        padding: 10px 20px;
    }
    
    .ai-tools-container.sidebar-collapsed .nav-icon {
        margin-right: 12px;
    }
}