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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: #2d3748;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.sidebar h1 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
    border-bottom: 1px solid #4a5568;
    padding-bottom: 1rem;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 0.5rem;
}

.sidebar nav ul li a {
    color: #cbd5e0;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.sidebar nav ul li a:hover, .sidebar nav ul li a.active {
    background-color: #4a5568;
    color: white;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem 4rem;
    max-width: 900px;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.welcome-text {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.endpoint {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.endpoint-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.method {
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    color: white;
    margin-right: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.method.get { background-color: #3182ce; }
.method.post { background-color: #38a169; }
.method.put { background-color: #d69e2e; }
.method.patch { background-color: #805ad5; }
.method.delete { background-color: #e53e3e; }

.path {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 1.1rem;
    color: #2d3748;
}

.endpoint h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.endpoint p {
    margin-bottom: 1rem;
    color: #4a5568;
}

.parameters, .response {
    margin-top: 1rem;
}

.parameters h4, .response h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.25rem;
}

.parameters ul {
    list-style: none;
    padding-left: 1rem;
}

.parameters ul li {
    padding: 0.25rem 0;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.9rem;
}

.parameters ul li strong {
    color: #2d3748;
}

pre {
    background-color: #1a202c;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.search-container {
    margin-bottom: 2rem;
}

.search-container input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-container input:focus {
    border-color: #3182ce;
}

.search-results {
    margin-top: 2rem;
}

.search-result-item {
    padding: 1rem;
    background: white;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.search-result-item h4 {
    margin-bottom: 0.5rem;
}

.highlight {
    background-color: #fef5e7;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}