body {
    font-family: "Gentium Book Plus", serif;
    text-align: left;
    padding-left: 10%;
    padding-right: 10%;
}

@media (max-width: 600px) {
    body {
        padding-left: 2%;
        padding-right: 2%;
    }
}

.verse-container {
    font-family: "Gentium Book Plus", serif;
    display: flex;
    font-size: 1.2em;
    justify-content: left;
    border-radius: 5px;
    background-color: #cdcdcd61;
    padding: 0px 4px 8px 8px;
    margin: 8px 0 12px 0;
}

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

td {
    padding: 10px;
    vertical-align: top;
    border: 1px solid #ddd;
    /* Linhas finas ao redor de todas as células */
}

.left {
    width: 35%;
    text-align: left;
}

.right {
    width: 35%;
    text-align: right;
}

.verse-number {
    font-weight: bold;
    color: #333;
}

.highlight {
    background-color: #cbdfff;
    /* Cor de fundo para o destaque */
}

tr:hover {
    background-color: #f6ffe6;
    /* Cor de fundo ao passar o mouse */
}

.column-verse {
    width: 2%;
    /* A coluna do verso ocupa 10% */
    text-align: center;
}

.column-audio {
    width: 2%;
    text-align: center;
    padding: 5px !important;
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.play-button:hover {
    background-color: #f0f0f0;
}

.play-icon {
    font-size: 12px;
    color: #333;
}

.arrow {
    font-size: 20px;
    text-decoration: none;
    color: #333;
    padding: 0 10px;
}

.arrow:hover {
    color: #007bff;
    /* Mudando a cor quando passar o mouse */
}

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

td {
    padding: 10px;
    vertical-align: top;
    border: 1px solid #ddd;
    /* Linhas finas ao redor de todas as células */
}

tr {
    border-bottom: 1px solid #ddd;
    /* Borda entre as linhas */
}

tr:last-child {
    border-bottom: none;
    /* Remover a borda inferior da última linha */
}


/* Adicione este CSS ao seu arquivo style.css */
.navigation-container {
    display: flex;
    align-items: baseline;
    justify-content: end;
    margin: 20px 0;
    /* font-family: 'Tinos', serif; */
    width: 100%;
    gap: 5px;
}

.chapter-title {
    text-align: center;
    flex-grow: 1;
}

.chapter-title label {
    font-size: 0.8em;
    font-weight: bold;
    margin: 2px 0 0 0;
}

.chapter-title p {
    font-size: 2em;
    font-weight: bold;
    margin: 2px 0 0 0;
}

.title-color {
    background-color: #eff5ff;
    border: 1px solid #a5a5b1;
    border-radius: 5px;
    padding: 12px;
}

.nav-button {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #e0e0e0;
    border-color: #999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-arrow {
    font-weight: bold;
}

.font-size-controls {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 0.8em;
    height: auto;
}

/*
.font-size-controls button {
    font-size: 1em;
    padding: 5px 10px;
    margin: 0;
    flex: 1;
    width: 70px;
}
*/
/* Estilo para o select */
.font-size-controls select {
    padding: 5px;
    font-size: 1em;
}

/* Container principal com Flexbox */
.container {
    display: flex;
    /*justify-content: space-between;*/
    margin: 8px 0;
    /*padding: 10px 0px 10px 0px;*/
    gap: 20px;
}

/* Colunas para livros e parashah */
.column {
    flex: 1;
    /* Cada coluna ocupa espaço igual */
    min-width: 0;
    /* Previne problemas com conteúdo longo */
}

/* Formulário na primeira coluna */
.column form {
    display: flex;
    flex-wrap: wrap;
    /* Permite quebra de linha se necessário */
    gap: 10px;
    /* Espaçamento entre os elementos */
    align-items: center;
}

/* Labels e selects no formulário */
.column label {
    margin-right: 5px;
}

.column select,
.column button {
    padding: 5px;
}

/* Estilização específica para o select de parashah */
#parashah {
    border: 1px solid #ddd;
    /* Borda fina cinza clara */
    border-radius: 4px;
    /* Cantos arredondados (opcional) */
    padding: 5px;
    /* Espaçamento interno */
    font-size: 1em;
    /* Mantém a fonte consistente */
    min-width: 120px;
    flex-shrink: 0;
}

/* Estilização para todos os selects */
.column select {
    border: 1px solid #ddd;
    /* Borda fina cinza clara */
    border-radius: 4px;
    /* Cantos arredondados (opcional) */
    padding: 5px;
    /* Espaçamento interno */
    font-size: 1em;
    /* Mantém a fonte consistente */
}

/* Mantém a estilização específica para #parashah, se necessário */
#parashah {
    border: 1px solid #ddd;
    /* Borda fina cinza clara */
    border-radius: 4px;
    /* Cantos arredondados (opcional) */
    padding: 5px;
    /* Espaçamento interno */
    font-size: 1em;
    /* Mantém a fonte consistente */
}

.column button[type="submit"] {
    min-width: 70px;
    height: 30px; /* Enforcing height standard */
    /* Ajuste conforme necessário */
    white-space: nowrap;
    /* Garante que o texto não quebre */
}

.parashah-btn {
    height: 30px;
    padding: 0 10px;
    border: 1px solid #777; /* Matching other buttons */
    border-radius: 4px;
    background-color: #efefef; /* Standard button bg */
    cursor: pointer;
    font-size: 1em; /* consystent font size */
}

/* Ajuste para telas pequenas (responsividade) */
@media (max-width: 600px) {
    .container {
        flex-direction: column;
        /* Empilha as colunas em telas pequenas */
    }

    .column {
        margin: 10px 0;
        /* Margem para separação vertical */
    }

    .verse-container {
        flex-direction: column;
        font-size: 1em;
        /* Reduzir o tamanho para melhor leitura */
    }

    .left,
    .right {
        width: 100%;
        /* Faz cada uma ocupar toda a largura */
        text-align: center;
    }

    .nav-button {
        padding: 5px 10px;
        font-size: 0.8em;
        /* Reduz o tamanho da fonte */
    }
}

#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    display: none;
    /* Esconde por padrão */
    max-width: 90%;
    text-align: center;
}

#cookie-banner button {
    margin-left: 10px;
    padding: 5px 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#cookie-banner button:hover {
    background: #45a049;
}

.button-container {
    display: inline-block;
    /* Para alinhamento horizontal dos botões lado a lado */
    margin-right: 10px;
    /* Espaçamento entre os button-container se precisar */
}

.button-container button {
    padding: 0 0;
    width: 88px;
    height: 30px;
    font-size: 1em;
    border: 1px solid #777;
    border-radius: 4px;
    margin: 0 2px;
    /* Espaçamento entre os botões dentro do container */
}

.nav-arrow {
    /* Se precisar de estilo específico para as setas, adicione aqui */
    display: inline-block;
    margin: 0 2px;
    /* Espaçamento ao redor da seta */
}

.small-a {
    font-size: 0.8em;
    font-weight: bold;
}

.large-a {
    font-size: 1.2em;
    font-weight: bold;
}

.font-buttons-container {
    display: inline-flex;
    gap: 5px;
    /* Pequeno espaçamento entre os botões */
}

.font-button {
    width: 45px;
    /* Ajuste conforme necessário */
    height: 30px;
    padding: 0;
    text-align: center;
    border: 1px solid #777;
    border-radius: 4px;
    background: #e9e9ed;
    cursor: pointer;
}

.button-container {
    display: inline-flex;
    gap: 5px;
}

.small-text {
    font-size: 0.6em;
    font-weight: normal;
    display: block;
    margin: 5px 0;
}

/* Info Icon and Modal Styles */
.info-icon {
    cursor: pointer;
    width: 34px;
    height: 34px;
    margin-left: 5px;
    vertical-align: middle;
}

.info-icon:hover {
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    font-family: "Gentium Book Plus", serif;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.modal-meta {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.modal-body {
    line-height: 1.6;
    color: #444;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px; /* Evita que o scroll sobreponha o texto */
}

/* Scrollbar styling for webkit browsers */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.modal-comments {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.comments-content {
    display: block;
    margin-top: 10px;
    background-color: transparent;
    padding: 0;
}
