/* Custom styles for FleetOne */

/* Default avatar placeholder */
.nav-author img[src*="author-nav.jpg"]:before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: #e3e6ef;
    border-radius: 50%;
    position: relative;
}

/* Fix for missing images */
img[src*="author-nav.jpg"] {
    width: 40px;
    height: 40px;
    background: #e3e6ef;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

img[src*="author-nav.jpg"]:after {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #a0a9c4;
}

/* Fix for SVG images */
img.svg {
    width: 24px;
    height: 24px;
    display: inline-block;
}

/* Sidebar fixes */
.sidebar {
    background: #fff;
    box-shadow: 0 0 40px rgba(82, 63, 105, 0.05);
}

/* Dark mode support */
body.layout-dark .sidebar {
    background: #1e1e2e;
}

/* Mobile menu fixes */
@media (max-width: 767px) {
    .sidebar {
        position: fixed;
        left: -280px;
        transition: all 0.3s ease;
    }
    
    .sidebar.active {
        left: 0;
    }
}

/* Livewire loading states */
[wire\:loading] {
    opacity: 0.5;
}

[wire\:loading] * {
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
} 