/* ===================================
   Sidebar Component
   Container, Logo Area, Nav Area, CTA Area
   =================================== */

.sidebar {
    width: 203px;
    flex-shrink: 0;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    padding: 19px 10px;
    gap: 72px;
}

/* Logo Area */
.sidebar-logo {
    flex: 0 0 auto;
}

.logo-link,
.custom-logo-link {
    display: block;
}

.sidebar-logo-img,
.custom-logo {
    max-width: 100%;
    height: auto;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.logo-tagline {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Navigation Area */
.sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 33px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* CTA Buttons Area */
.sidebar-cta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 183px;
}

/* Responsive Styles */
@media (max-width: 1020px) {
    .sidebar {
        position: fixed;
        left: -203px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar-open {
        left: 0;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 203px;
        left: -203px;
    }
}
