body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #212529;
}

h1, h2, h3 {
    color: #343a40;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.global-headers {
    background-color: #ffffff;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.global-headers h2 {
    margin-top: 0;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.global-headers div {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.global-headers label {
    display: inline-block;
    width: 140px;
    font-weight: 500;
    color: #495057;
}

.global-headers input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 400px;
    font-size: 0.95em;
}

.api-group {
    margin-bottom: 2.5rem;
}

.api-group h2 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.api-route {
    border: 1px solid #dee2e6;
    margin-bottom: 1rem;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.api-route-header {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.api-route-header:hover {
    background-color: #e9ecef;
}

.api-route-header .method {
    font-weight: bold;
    background-color: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 15px;
    font-size: 0.9em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.api-route-header .path {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-size: 1.1em;
    color: #343a40;
    flex-grow: 1;
}

.api-route-details {
    padding: 1.5rem;
    display: none; /* Hidden by default */
}

.api-route-details.active {
    display: block;
}

.api-route-details h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2em;
    color: #495057;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.parameters-table th, .parameters-table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
    font-size: 0.95em;
}

.parameters-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.parameters-table td:first-child {
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-weight: bold;
}

.request-body label, .response-section h4 {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.request-body textarea {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-size: 0.9em;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

.response-section pre {
    width: 100%;
    min-height: 180px;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
    font-size: 0.9em;
    box-sizing: border-box;
    margin-bottom: 10px;
    background-color: #e9ecef;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.send-button {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.2s;
}

.send-button:hover {
    background-color: #218838;
}