.messages li {
    margin: 10px 0;
    padding: 10px;
}
.error {
    background-color: #f2dede;
    color: #a94442;
}
.success {
    background-color: #dff0d8;
    color: #3c763d;
}
.info {
    background-color: #d9edf7;
    color: #31708f;
}
.warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
}

/* 
 * Markdown do Tarot 
 */

#interpretation {
    /* Estilo geral para o bloco de texto */
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: auto; /* Para permitir rolagem horizontal em tabelas largas */
    /*font-family: 'Courier New', Courier, monospace; */
    position: relative;
    min-height: 100px; /* Garantir que haja espaço suficiente */    
}

/* Estilo para cabeçalhos */
#interpretation h1, #interpretation h2, #interpretation h3,
#interpretation h4, #interpretation h5, #interpretation h6 {
    color: #0056b3;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Estilo para parágrafos */
#interpretation p {
    margin-bottom: 15px;
}

/* Estilo para listas */
#interpretation ul, #interpretation ol {
    margin: 10px 0;
    padding-left: 20px;
}

#interpretation li {
    margin-bottom: 5px;
}

/* Estilo para tabelas */
#interpretation table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

#interpretation th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
}

/* Estilo para links */
#interpretation a {
    color: #007bff;
    text-decoration: none;
}

#interpretation a:hover {
    text-decoration: underline;
}

/* Estilo para blocos de código */
#interpretation pre {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 10px;
    overflow-x: auto;
}

#interpretation code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f8f8f8;
    padding: 2px 4px;
    border-radius: 3px;
}

/* 
* Loading do Tarot
*/

.loading-spinner {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none; /* Inicialmente oculto */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}