/* Estilos generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #f4f7f9;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

h1 {
    color: #2c3e50;
}

p {
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Formularios */
form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="url"], input[type="text"] {
    flex-grow: 1;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

button {
    padding: 12px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #3498db;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2980b9;
}

button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}

/* Contenedor de estado (Analyzer) */
#status-container {
    text-align: center;
    margin: 20px 0;
}

#status-message {
    font-size: 1.1em;
    color: #34495e;
    font-weight: 500;
    margin-bottom: 15px;
}

.button-chatbot {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2ecc71;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.button-chatbot:hover {
    background-color: #27ae60;
}


/* Acordeón de resultados (Analyzer) */
.result-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.result-header {
    background-color: #ecf0f1;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
}

.result-summary {
    padding: 20px;
    background-color: #fafafa;
    display: none;
    border-top: 1px solid #e0e0e0;
    white-space: pre-wrap;
    line-height: 1.6;
}

