body { font-family: 'Inter', sans-serif; background: #f8fafc; color: #1e293b; }
.mono { font-family: 'Fira Code', monospace; }

/* Tipos de Tokens de Historia */
.type-independencia { color: #059669; font-weight: bold; }
.type-revolucion { color: #10b981; font-weight: bold; }
.type-presidente { color: #34d399; font-weight: bold; }
.type-unknown { color: #94a3b8; }

/* Scrollbars */
.console-scroll::-webkit-scrollbar { width: 6px; }
.console-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* Botones y Áreas de Texto */
.btn-regreso-history {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(16, 185, 129, 0.4); padding: 0.5rem 1rem;
    border-radius: 0.75rem; font-size: 10px; font-weight: bold;
    text-transform: uppercase; letter-spacing: 0.1em;
    border: 1px solid #10b981; transition: all 0.2s;
}
.btn-regreso-history:hover { background: rgba(16, 185, 129, 0.7); }

.btn-clear-history {
    color: #94a3b8; font-size: 10px; font-weight: 900;
    text-transform: uppercase; letter-spacing: 2px;
    display: flex; align-items: center; gap: 0.5rem;
    background: #f8fafc; padding: 0.5rem 1rem; border-radius: 9999px;
    border: 1px solid #e2e8f0; transition: all 0.2s;
}
.btn-clear-history:hover { color: #059669; border-color: #10b981; }

.history-input-area {
    width: 100%; border: 2px solid #f1f5f9; background: #f8fafc;
    padding: 2rem; font-family: 'Fira Code', monospace; font-size: 1.125rem;
    outline: none; border-radius: 1.5rem; transition: all 0.3s;
    color: #334155; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.history-input-area:focus { border-color: #10b981; background: white; }

/* Sugerencias de Autocompletado */
#autocomplete-list {
    position: absolute; z-index: 50; width: 100%; max-height: 200px;
    overflow-y: auto; background: white; border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); display: none;
    border: 1px solid #e2e8f0; top: 100%; margin-top: 4px;
}
.suggestion-item {
    padding: 0.7rem 1rem; cursor: pointer; border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem; color: #334155; transition: all 0.2s;
}
.suggestion-item:hover { background-color: #f0fdf4; border-left: 4px solid #10b981; color: #065f46; }