:root {
    --primary-color: #279651;
    --primary-hover: #128c7e;
    --sidebar-width: 280px;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #f8f9fa;
    padding: 20px 0;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    max-width: 960px;
    margin-right: auto;
}
.nav-link {
    color: #495057;
    padding: 8px 15px;
    border-left: 3px solid transparent;
}
.nav-link:hover {
    color: var(--primary-hover);
    background-color: #e9ecef;
    border-left-color: var(--primary-hover);
}
.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
}
h1, h2, h3, h4 {
    color: #212529;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.endpoint {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}
.endpoint:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.endpoint h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
}
.method {
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    margin-right: 10px;
    font-size: 14px;
    font-weight: bold;
}
.get { background-color: #61affe; }
.post { background-color: #49cc90; }
.put { background-color: #fca130; }
.delete { background-color: #f93e3e; }

.path {
    font-family: monospace;
    font-weight: 600;
}
pre {
    background-color: #f6f8fa;
    border-radius: 6px;
    padding: 15px;
    overflow: auto;
}
code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}
.api-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.api-table th, .api-table td {
    padding: 10px;
    border: 1px solid #dee2e6;
}
.api-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.required {
    color: #dc3545;
    font-weight: bold;
}
.badge {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 4px;
    margin-left: 5px;
}
.logo {
    height: 40px;
    margin-right: 10px;
}
.nav-header {
    display: flex;
    align-items: center;
    padding: 0 15px 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}
.dashboard-button {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}
.dashboard-button:hover {
    background-color: var(--primary-hover);
    color: white;
}
.section-title {
    display: flex;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}
.section-icon {
    margin-right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 4px;
}
.response-example {
    margin-top: 15px;
}
.tab-content {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 6px 6px;
}
.nav-tabs {
    margin-bottom: 0;
}

#endpoint-search {
    font-size: 1rem;
}
#endpoint-search:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
}
.endpoint h3 .path {
    font-size: 1.1rem;
    font-weight: 600;
}
.endpoint h4 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
}
.nav-submenu {
    padding-left: 30px;
    display: none;
}
.nav-submenu.show {
    display: block;
}
.nav-link.has-submenu {
    position: relative;
}
.nav-link.has-submenu::after {
    content: '▼';
    position: absolute;
    right: 15px;
    font-size: 10px;
    transition: transform 0.3s;
}
.nav-link.has-submenu.expanded::after {
    transform: rotate(-180deg);
}
.nav-submenu .nav-link {
    font-size: 0.9rem;
    padding: 8px 15px;
}
.docs-nav {
    margin-top: 40px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.docs-nav .nav-btn {
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    color: #212529;
    background: #fff;
}
.docs-nav .nav-btn.primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.docs-nav .nav-btn:hover {
    border-color: var(--primary-hover);
    color: var(--primary-hover);
}
.docs-nav .nav-btn.primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}
.page-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .content {
        margin-left: 0;
        padding: 20px;
        transition: margin-left 0.3s ease;
    }
    .content.sidebar-active {
        margin-left: var(--sidebar-width);
    }
    .menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1100;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 4px;
        padding: 8px;
        cursor: pointer;
    }
}
