/* Sidebar Styles */
.sidebar {
    width: 320px;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-title {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.sidebar-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Search Container */
.search-container {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 1rem;
    font-size: 0.875rem;
    transition: all 0.15s ease-in-out;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.nav-section {
    margin-bottom: 1.5rem;
}

.nav-section-button {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    border-radius: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.15s ease-in-out;
    font-family: inherit;
}

.nav-section-button:hover {
    background-color: var(--gray-50);
}

.nav-section-content {
    display: flex;
    align-items: center;
}

.nav-icon {
    color: var(--gray-600);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.nav-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
}

.nav-arrow {
    color: var(--gray-500);
    transition: transform 0.15s ease-in-out;
    font-size: 0.75rem;
}

.nav-arrow.rotated {
    transform: rotate(180deg);
}

/* Navigation Subsection */
.nav-subsection {
    margin-left: 2rem;
    margin-top: 0.5rem;
    display: none;
}

.nav-subsection.show {
    display: block;
}

.nav-item {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.15s ease-in-out;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.nav-item:hover {
    background-color: var(--gray-100);
}

/* Insurer Indicators */
.insurer-indicator {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.75rem;
}

.insurer-indicator.healthfirst {
    background-color: var(--healthfirst);
}

.insurer-indicator.fidelis {
    background-color: var(--fidelis);
}

.insurer-indicator.uhc {
    background-color: var(--uhc);
}

.insurer-indicator.molina {
    background-color: var(--molina);
}

/* Hover effects for insurer items */
.nav-item:hover .insurer-indicator.healthfirst {
    background-color: rgba(255, 217, 179, 0.8);
}

.nav-item:hover .insurer-indicator.fidelis {
    background-color: rgba(207, 255, 207, 0.8);
}

.nav-item:hover .insurer-indicator.uhc {
    background-color: rgba(207, 232, 255, 0.8);
}

.nav-item:hover .insurer-indicator.molina {
    background-color: rgba(232, 214, 255, 0.8);
}

/* Scrollbar Styling for Sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -320px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Sidebar Toggle Button for Mobile */
.sidebar-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }
} 