/* style.css */

body {
    font-family: 'Inter', sans-serif;
}

/* Stili per la chat */
.chat-bubble-user {
    background-color: #003366; /* bocconi-blue */
    color: white;
}
.chat-bubble-ai {
    background-color: #f3f4f6; /* gray-100 */
    color: #1f2937; /* gray-800 */
}
.action-button {
    background-color: #e5e7eb; /* gray-200 */
    color: #1f2937;
    transition: background-color 0.2s;
}
.action-button:hover {
    background-color: #d1d5db; /* gray-300 */
}
.action-button:disabled {
    cursor: not-allowed;
}

/* Stili per modali */
.modal-bg {
    background-color: rgba(17, 24, 39, 0.75);
}

/* Stile per auto-resize textarea */
textarea {
    min-height: 40px; /* Altezza minima per non collassare */
    overflow-y: hidden; /* Nasconde la scrollbar verticale se non serve */
}

/* Stili per il narrative block in story modal */
.narrative-block {
    background-color: #f9fafb;
    border-left: 3px solid #003366;
    padding: 12px;
    margin-top: 8px;
    border-radius: 4px;
}

.label {
    font-weight: 600;
    color: #4b5563;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* --- NUOVI STILI PER LABORATORIO PERSONAGGI --- */

/* Stili per i tab di selezione personaggio [Pa] [Pb] */
.character-tab {
    color: #6b7280; /* gray-500 */
    border-bottom: 2px solid transparent;
    padding-bottom: 0.75rem; /* Aumenta lo spazio per il bordo */
    transition: all 0.2s ease-in-out;
}
.character-tab:hover {
    color: #003366; /* bocconi-blue */
}
.character-tab.active {
    color: #003366; /* bocconi-blue */
    border-bottom-color: #003366; /* bocconi-blue */
}

/* Stili per i tab dei briefing [Umano] [AI] */
.briefing-tab {
    color: #6b7280; /* gray-500 */
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.5rem;
    transition: all 0.2s ease-in-out;
}
.briefing-tab:hover {
    color: #1f2937; /* gray-800 */
}
.briefing-tab.active {
    color: #003366; /* bocconi-blue */
    font-weight: 600;
    border-bottom-color: #003366;
}

/* Stili per le transizioni della Focus View */
#character-sheet-main-panel, #character-sheet-sidebar {
    transition: width 0.3s ease-in-out;
}