.api-endpoint-view {
    margin: 0 auto;
    font-size: 15px;
}

/* HEADER */
.endpoint-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 18px;
}
.endpoint-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}
.endpoint-path {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    background: #f6f6f6;
    padding: 4px 8px;
    border-radius: 4px;
    color: #444;
}

/* METHOD badge */
.http-method-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    letter-spacing: .05em;
}
.http-method-get    { background: #2e7d32; }
.http-method-post   { background: #ff6a00; }
.http-method-put    { background: #1976d2; }
.http-method-delete { background: #d32f2f; }
.http-method-patch  { background: #7b1fa2; }

/* DESCRIPTION */
.endpoint-description p:last-child {
    margin-bottom: 0;
}

/* META CARD (Server/Auth/Headers) */
.endpoint-meta-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 3px 10px rgba(15,23,42,0.04);
    font-size: 13px;
}
.meta-row {
    margin-bottom: 8px;
}
.meta-row:last-child {
    margin-bottom: 0;
}
.meta-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #888;
    margin-bottom: 2px;
}
.meta-value {
    display: inline-block;
    background: #f5f5f5;
    padding: 3px 6px;
    border-radius: 4px;
    max-width: 100%;
    overflow-x: auto;
}
.meta-copy {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
}
.auth-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fef3e0;
    color: #ff6a00;
    font-weight: 600;
    font-size: 11px;
}

/* Headers table */
.meta-headers-table {
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    margin-top: 4px;
}
.meta-headers-head {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}
.meta-headers-th {
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #999;
}
.meta-headers-row {
    border-bottom: 1px solid #f4f4f4;
}
.meta-headers-row:last-child {
    border-bottom: none;
}
.meta-headers-td {
    padding: 6px 8px;
    font-size: 12px;
}
.header-key {
    font-weight: 600;
}
.header-value {
    background: #f6f6f6;
    padding: 2px 4px;
    border-radius: 4px;
}
.header-required-badge {
    font-size: 13px;
}

/* BLOCK titles */
.block-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    color: #9e9e9e;
}

/* Card block for tabs */
.card-block {
    border-radius: 10px;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15,23,42,0.03);
    overflow: hidden;
}

/* API tabs (Example/Schema) */
.api-tabs {
    border-bottom: 1px solid #eee;
}
.api-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 10px 18px;
    font-size: 13px;
    color: #777;
    position: relative;
}
.api-tabs .nav-link:hover {
    color: #000;
}
.api-tabs .nav-link.active {
    color: #000;
    font-weight: 600;
}
.api-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 2px;
    background: #ff6a00;
    border-radius: 999px;
}

/* Tab content padding */
.api-tab-content {
    padding: 12px 14px 14px 14px;
}

/* JSON Code block */
.code-block-header {
    padding: 6px 10px;
    background: #111;
    color: #aaa;
    border-radius: 8px 8px 0 0;
}
.code-block-header .btn {
    font-size: 11px;
    padding: 3px 10px;
}

/* JSON container background */
pre.json-container {
    background: #1f1f1f;
    color: #dcdcdc;
    padding: 12px 14px;
    border-radius: 4px;
    overflow: auto;
    max-height: 600px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 0;
}

/* JSON syntax colors */
.json-key      { color: #c792ea; }   /* purple */
.json-string   { color: #c3e88d; }   /* green */
.json-number   { color: #f78c6c; }   /* orange */
.json-boolean  { color: #82aaff; }   /* blue */
.json-null     { color: #ff5370; }   /* red */

/* RESPONSE Status pills */
.response-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.status-pill {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: .15s;
}
.status-pill:hover {
    background: #fff;
    border-color: #ff6a00;
    color: #ff6a00;
}
.status-pill.active {
    background: #ff6a00;
    color: #fff;
    border-color: #ff6a00;
}

/* Status labels */
.status-label {
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
    font-size: 12px;
}
.status-label-200,
.status-label-201,
.status-label-202 { background: #2e7d32; }
.status-label-400 { background: #fb8c00; }
.status-label-401 { background: #fdd835; color:#000; }
.status-label-403 { background: #ef6c00; }
.status-label-404 { background: #757575; }
.status-label-422 { background: #d32f2f; }
.status-label-500 { background: #6a1b9a; }

/* Schema wrapper */
.schema-wrapper table {
    width: 100%;
    font-size: 13px;
}
.schema-wrapper table thead tr th {
    border-bottom: 1px solid #eee!important;
    background: #fafafa;
}
.schema-wrapper table td,
.schema-wrapper table th {
    padding: 8px 10px!important;
}
.schema-type {
    font-weight: 600;
}
.schema-type-string  { color: #43a047; }
.schema-type-int,
.schema-type-integer { color: #1e88e5; }
.schema-type-number,
.schema-type-float   { color: #fb8c00; }
.schema-type-boolean { color: #8e24aa; }
.schema-type-null    { color: #d32f2f; }
.schema-type-object  { color: #455a64; }
.schema-type-array   { color: #7b1fa2; }

/* Responsive */
@media (max-width: 767.98px) {
    .api-endpoint-view {
        padding-left: 10px;
        padding-right: 10px;
    }
    .endpoint-title {
        font-size: 22px;
    }
    .endpoint-meta-card {
        margin-top: 12px;
    }
}