body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

textarea {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

select {
    padding: 10px;
    margin-bottom: 10px;
}

.model-selector {
    margin-bottom: 15px;
}

#result {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    display: none;
}

.metrics-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.metrics-table th,
.metrics-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.metrics-table th {
    background-color: #f2f2f2;
}

.evidence-list {
    margin: 0;
    padding-left: 20px;
}

#jsonOutput {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    white-space: pre-wrap;
    font-family: monospace;
    display: none;
}

/* Estilos para la comparación lado a lado */
.comparison-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.comparison-mode {
    margin-bottom: 20px;
}

.model-column {
    flex: 1;
    border: 1px solid #ddd;
    padding: 15px;
}

.model-column h3 {
    margin-top: 0;
}

.result-container {
    margin-top: 20px;
}

.toggle-button {
    background: #2196F3;
    margin-right: 10px;
}

.active-mode {
    font-weight: bold;
}

/* Estilos para el modo de prueba API */
.api-test-container {
    margin: 20px 0;
    width: 100%;
}

.endpoint-selector {
    margin-bottom: 15px;
}

#apiTextInput {
    width: -webkit-fill-available;
    min-height: 150px;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#apiTestBtn, .copy-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
}

#apiTestBtn:hover, .copy-button:hover {
    background-color: #45a049;
}

#apiTestBtn:active, .copy-button:active {
    background-color: #3e8e41;
}

#apiResponse {
    min-height: 200px;
    padding: 15px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
}

.json-output {
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
    overflow: auto;
}

.response-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.response-header h3 {
    margin: 0;
}