/* Bootstrap Basic Theme - Simple and Clean */
:root {
    --sidebar-width: 250px;
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

/* Basic Bootstrap overrides */
.navbar-brand { 
    font-weight: 600; 
    font-size: 1.25rem; 
}

.hero-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 60px 0;
}

.hero-section .hero-image {
    transition: opacity 0.3s ease;
}

.hero-section .hero-image:hover { 
    opacity: 0.9; 
}

.hero-placeholder {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stats-card {
    background-color: var(--primary-color);
    color: white;
    border-radius: 0.375rem;
    padding: 2rem;
    text-align: center;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.footer {
    background-color: #212529;
    color: white;
}

body { 
    padding-top: 0; 
}

@media (min-width: 992px) {
    .navbar { 
        position: relative; 
    }
}

.job-card { 
    transition: box-shadow 0.15s ease-in-out; 
}

.job-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 0.375rem;
    object-fit: cover;
}

.salary-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Hero Section */
.hero-section-directory {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    color: #212529;
    padding: 60px 0;
}

/* Sidebar and Layout Styles */
.sidebar {
    position: fixed; 
    top: 0; 
    left: 0; 
    height: 100vh; 
    width: var(--sidebar-width);
    background-color: #212529;
    color: white; 
    z-index: 1000; 
    transition: transform 0.3s ease; 
    overflow-y: auto;
    border-right: 1px solid #495057;
}
.sidebar::-webkit-scrollbar { 
    width: 6px; 
}

.sidebar::-webkit-scrollbar-track { 
    background: rgba(255,255,255,0.1); 
}

.sidebar::-webkit-scrollbar-thumb { 
    background: rgba(255,255,255,0.3); 
    border-radius: 3px; 
}

.sidebar::-webkit-scrollbar-thumb:hover { 
    background: rgba(255,255,255,0.5); 
}

.sidebar.hidden { 
    transform: translateX(-100%); 
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75); 
    border-radius: 0.375rem; 
    margin: 2px 0; 
    padding: 0.75rem 1rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out; 
    text-decoration: none; 
    display: block;
}

.sidebar .nav-link:hover { 
    color: white; 
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: var(--primary-color); 
    color: white; 
    font-weight: 600;
}

.sidebar .nav-link i { 
    width: 20px; 
    text-align: center; 
    margin-right: 0.5rem; 
}

.sidebar .nav-link .badge {
    font-size: 0.75rem; 
    padding: 0.25em 0.6em; 
    border-radius: 0.375rem;
}

.sidebar hr { 
    border-color: rgba(255, 255, 255, 0.25); 
    margin: 1rem 0; 
}

.main-content { 
    margin-left: var(--sidebar-width); 
    transition: margin-left 0.3s ease; 
    min-height: 100vh; 
}

.main-content.expanded { 
    margin-left: 0; 
}

.top-bar {
    background: white; 
    border-bottom: 1px solid #dee2e6; 
    padding: 1rem;
    position: sticky; 
    top: 0; 
    z-index: 999;
}

.top-bar .btn { 
    border: 1px solid #dee2e6;
}

.top-bar .dropdown-menu {
    border: 1px solid #dee2e6; 
    border-radius: 0.375rem;
}

.stat-card { 
    background-color: var(--primary-color); 
    color: white; 
}

.local-avatar, .user-avatar { 
    flex-shrink: 0; 
    border: 2px solid var(--primary-color); 
}

.company-logo { 
    flex-shrink: 0; 
    border: 2px solid var(--primary-color); 
}

.avatar-fallback {
    background-color: var(--secondary-color);
    color: white; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

.avatar { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    object-fit: cover; 
}

.notification-dot {
    position: absolute; 
    top: -2px; 
    right: -2px; 
    width: 8px; 
    height: 8px;
    background: #dc3545; 
    border-radius: 50%;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .sidebar { 
        transform: translateX(-100%); 
        z-index: 1050; 
    }
    
    .sidebar.show { 
        transform: translateX(0); 
    }
    
    .main-content { 
        margin-left: 0; 
    }
    
    .top-bar { 
        padding: 0.75rem 1rem; 
    }
    
    .top-bar h4 { 
        font-size: 1.25rem; 
    }
    
    .mobile-overlay {
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100vw; 
        height: 100vh;
        background: rgba(0, 0, 0, 0.5); 
        z-index: 999; 
        display: none;
    }
    
    .mobile-overlay.show { 
        display: block; 
    }
    
    .btn-outline-secondary.dropdown-toggle span { 
        display: none; 
    }
}

@media (max-width: 576px) {
    .container-fluid { 
        padding: 0.5rem; 
    }
    
    .card { 
        margin-bottom: 1rem; 
    }
    
    .row.mb-4 { 
        margin-bottom: 1rem !important; 
    }
}
