:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f5f6fa;
    --text-color: #2c3e50;
    --sidebar-width: 250px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    background-color: var(--background-color);
    color: var(--text-color);
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    overflow-y: auto;
}

.sidebar-header h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

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

#searchInput {
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 0.5rem;
}

.service-list a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.service-list a:hover {
    background-color: var(--secondary-color);
}

.content {
    margin-left: var(--sidebar-width);
    padding: 2rem;
    width: calc(100% - var(--sidebar-width));
}

.service-docs {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.endpoint-url {
    background-color: var(--background-color);
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    font-family: monospace;
}

/* Add styles for API endpoints */
.endpoint {
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    margin: 1rem 0;
    background-color: var(--background-color);
}

.method {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 0.5rem;
}

.method.get { background-color: #61affe; }
.method.post { background-color: #49cc90; }
.method.put { background-color: #fca130; }
.method.delete { background-color: #f93e3e; }

.endpoint-path {
    font-family: monospace;
    font-size: 1.1em;
}

.endpoint-description {
    margin: 0.5rem 0;
}

.service-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
}

.version {
    background: #e0e0e0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8em;
}

.status {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8em;
}

.status.stable { background: #49cc90; }
.status.beta { background: #fca130; }
.status.deprecated { background: #f93e3e; }

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.stable { background: #49cc90; }
.status-dot.beta { background: #fca130; }
.status-dot.deprecated { background: #f93e3e; }

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.tag {
    background: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8em;
}

.endpoint-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.toggle-details {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 0.5rem;
}

.toggle-details:hover {
    background: #2980b9;
}

/* Add loading animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}