.important-box {
    margin-left: 40px;
    width: 90% !important;
    background-color:rgb(214, 149, 149);
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px rgb(251, 106, 106);
    font-size: 18px;
    text-align: left;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
.green-box {
    margin-left: 40px;
    width: 90% !important;
    background-color:rgb(162, 214, 149);
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px rgb(53, 75, 48);
    font-size: 18px;
    text-align: left;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}
.api-endpoint {
    background-color: #e8e8e8;
    border: 1px solid #cccccc;
    border-left: 4px solid #C00000;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    color: #343a40;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Textos dentro del módulo */
.api-endpoint p,
.api-endpoint strong,
.api-endpoint label,
.api-endpoint th,
.api-endpoint td,
.api-endpoint code:not(.json) {
    color: #343a40;
}

/* Tablas de parámetros */
.api-endpoint .table {
    background-color: #f8f9fa;
    color: #343a40;
    border-radius: 5px;
    overflow: hidden;
}
.api-endpoint .table th {
    background-color: #689de2;
    color: #ffffff;
    
}
.api-endpoint .table td {
    border-color: #dee2e6;
    color: #343a40;
}
.api-endpoint .table-hover tbody tr:hover {
    background-color: #f0f0f0;
}
.api-endpoint .table-warning {
    background-color: rgba(192, 0, 0, 0.08) !important;
}
.api-endpoint .table-warning td {
    color: #343a40;
}
/* Bloques curl/bash sin clase especial dentro de .api-endpoint */
.api-endpoint pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 14px 16px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre-wrap;
}
.api-endpoint pre code {
    background-color: transparent !important;
    color: #abb2bf !important;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
}

.code-block {
    background-color: #282c34;
    color: #abb2bf;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
}
.json-column {
    background-color: #282c34;
    color: #abb2bf;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}
.json-column pre {
    margin: 0;
    background-color: transparent;
    color: #abb2bf;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    line-height: 1.5;
    font-size: 14px;
}
.json-column code {
    background-color: transparent;
    color: #abb2bf;
    font-family: 'Courier New', monospace;
    white-space: pre;
    display: block;
}
.json-column .hljs-number {
    color: #d19a66;
}
.json-column .hljs-literal {
    color: #56b6c2;
}
.json-column .hljs-string {
    color: #98c379;
}
.json-column .hljs-attr {
    color: #e06c75;
}
.copy-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4a5568;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    z-index: 10;
}
.copy-button:hover {
    background-color: #2d3748;
}
.copy-button.copied {
    background-color: #48bb78;
}
.copy-button.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}
.copy-button.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}
.json-wrapper {
    position: relative;
}
.method-get {
    color: #28a745;
    font-weight: bold;
}
.method-post {
    color: #007bff;
    font-weight: bold;
}
* {
    word-break: keep-all;
    white-space: normal;
    overflow-wrap: break-word;
}
.flag-icon {
    margin-right: 8px;
    font-size: 16px;
}
.dropdown-item.active {
    font-weight: bold;
    background-color: #e9ecef;
}
.alert a {
    color: #C00000;
    text-decoration: none;
    background-color: transparent;
}
.api-endpoint-link h5,
.api-endpoint-link p {
    color: #000;
}
.api-endpoint-link:hover h5,
.api-endpoint-link:hover p {
    color: #C00000;
}
.endpoint-examples {
    border-top: 1px solid #dee2e6;
    padding-top: 15px;
    margin-top: 20px;
}
.endpoint-examples .row > div {
    flex: 0 0 100%;
    max-width: 100%;
}
.endpoint-examples h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}
.endpoint-examples pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 14px 16px;
    border-radius: 5px;
    font-size: 0.82rem;
    line-height: 1.55;
    overflow-x: auto;
    white-space: pre;
    word-break: normal;
}
.docs-content .container {
    max-width: 100%;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}
.endpoint-errors {
    border-top: 1px solid #dee2e6;
    padding-top: 12px;
}
.endpoint-errors th {
    font-size: 0.8rem;
    color: #495057;
}
