.api-explorer {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 120px);
}

.loading, .error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
}

.api-content {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    padding: 1rem;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    overflow-y: auto;
}

.main-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.endpoint-card {
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.endpoint-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.method {
    display: inline-block;
    min-width: 80px;
    padding: 0.25rem 0.5rem;
    text-align: center;
    font-weight: bold;
    color: white;
    border-radius: 0.25rem;
    margin-right: 1rem;
}

.method.get {
    background-color: #28a745;
}

.method.post {
    background-color: #007bff;
}

.method.put {
    background-color: #fd7e14;
}

.method.delete {
    background-color: #dc3545;
}

.path {
    font-family: monospace;
    font-size: 1rem;
}

.endpoint-content {
    padding: 1rem;
}

.nav-link {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link.active {
    background-color: #007bff;
    color: white;
}

.select-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6c757d;
}

.badge {
    background-color: #6c757d;
    color: white;
}

.nav-link.active .badge {
    background-color: white;
    color: #007bff;
}