.api-doc-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #007cba !important; /* Themed blue background */
    padding: 40px 0;
    min-height: 100vh;
}
.api-doc-container > .container {
    background-color: #fff !important;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 20px;
    margin-bottom: 20px;
}
.tab-content {
    background: transparent;
    border: none;
    padding-top: 20px;
}
.tab-pane {
    opacity: 1 !important;
}
.endpoint-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Slightly deeper shadow */
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
}
.api-doc-container h1.text-primary {
    color: #007cba !important;
}
.card-header.bg-info {
    background-color: #007cba !important;
}
.card-header.bg-dark {
    background-color: #343a40 !important;
}
.card-header.bg-primary {
    background-color: #007cba !important;
}
.btn-primary {
    background-color: #007cba;
    border-color: #007cba;
}
.btn-primary:hover {
    background-color: #005a87;
    border-color: #005a87;
}
.endpoint-card .card-header {
    background-color: #fcfcfc;
    padding: 15px 25px;
}
.endpoint-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
}
.endpoint-header {
    padding: 15px 20px;
    background-color: #f1f3f5;
    border-bottom: 1px solid #e1e4e8;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.method-get {
    background-color: #61affe;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.endpoint-url {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    margin-left: 15px;
    flex-grow: 1;
    color: #444;
}
.endpoint-body {
    padding: 20px;
}
.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c3e50;
    border-left: 4px solid #007cba;
    padding-left: 10px;
}
.try-it-out-section {
    background-color: #fdfdfe;
    border-top: 1px solid #eee;
    padding: 20px;
}
pre {
    background-color: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    position: relative;
}
.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}
.copy-btn:hover {
    background: rgba(255,255,255,0.2);
}
.param-table th {
    background-color: #f8f9fa;
}
.nav-pills .nav-link.active {
    background-color: #007cba;
}
.try-it-result {
    background-color: #272822;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}
.loader {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    margin: 10px auto;
}
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 600;
    border: 1px solid #dee2e6;
    border-bottom: none;
    padding: 12px 20px;
    margin-right: 5px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    transition: all 0.2s ease;
}
.nav-tabs .nav-link.active {
    color: #fff !important;
    background-color: #007cba !important;
    border-color: #007cba;
}
.nav-tabs .nav-link:hover:not(.active) {
    background-color: #f1f3f5;
    border-bottom: none;
}
.method-post {
    background-color: #fca130;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
