/* Navigation CSS - Clean and Simple */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
}

/* Container */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nav-menu {
    padding: 16px 0;
}

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    padding: 0 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    letter-spacing: 0.025em;
}

.nav-item:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.95);
}

.nav-item:hover .nav-icon {
    color: rgba(255,255,255,0.9);
}

.nav-item.active {
    background: rgba(59,130,246,0.15);
    color: #93c5fd;
    border-left: 3px solid #3b82f6;
}

.nav-item.active .nav-icon {
    color: #60a5fa;
}

.nav-icon {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-weight: normal;
}

.nav-footer {
    margin-top: auto;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: right;
    padding-right: 20px;
    padding-top: 8px;
    position: relative;
    height: 80px;
}

.client-logo {
    width: 156px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: block;
    position: fixed;
    bottom: -5px;
    left: 150px;
    z-index: 1001;
}

.client-logo:hover {
    opacity: 1;
}

/* Logout Button Styling */
.nav-item.logout-item {
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

.nav-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-left: 3px solid #ef4444;
}

.nav-item.logout-item:hover .nav-icon {
    color: #f87171;
}

.nav-item.logout-item .nav-icon {
    color: rgba(255,255,255,0.6);
    font-weight: bold;
}

/* Main Content Container */
.main-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    min-height: 100vh;
    background: #f8fafc;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
}
