body {
    color: white;
    padding-bottom: 32px;
    background-color: #002E1E;
}

* {
    color: white !important;
    background-color: transparent;
}

.form-control[readonly] {
    cursor: text;
}

.feedback-container {
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    z-index: 4;
}

.feedback {
    display: table;
    padding: 0.5em 1em;
    background-color: orange;
    margin: 0 auto;
    font-size: 2em;
    color: #444;
    border: 2px solid #555;
    border-top: 0;
    border-bottom-left-radius: 20px 20px;
    border-bottom-right-radius: 20px 20px;
}

.no-border {
    border: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .0);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .0);
}

.phrase {
    word-break: keep-all;
}

.generate-container .strength {
    /* override mobile width from bootstrap */
    width: auto !important;
    display: inline-block;
}

.languages a {
    padding-left: 10px;
}

.languages a:nth-of-type(1) {
    margin-left: -12px;
    padding-left: 0;
}

.monospace {
    font-family: monospace;
}

.entropy-container .filtered,
.entropy-container .binary {
    word-wrap: break-word;
}

.entropy-container li {
    padding-bottom: 5px;
}

.card-suit {
    font-size: 19px;
    line-height: 0;
}

.card-suit.club {
    color: #009F00;
}

.card-suit.diamond {
    color: #3D5DC4;
}

.card-suit.heart {
    color: #F00;
}

.card-suit.spade {
    color: #000;
}

.qr-container {
    position: fixed;
    top: 0;
    right: 0;
    text-align: center;
    background-color: #FFF;
    border: 1px solid #CCC;
}

.qr-image {
    margin: 5px;
}

.qr-hint,
.qr-warning {
    padding: 2px;
    max-width: 320px;
}

.more-info {
    cursor: help;
    border-bottom: 1px dashed #000;
    text-decoration: none;
}

.version {
    position: absolute;
    top: 5px;
    right: 5px;
}

.csv {
    margin-top: 20px;
    margin-bottom: 20px;
    white-space: pre;
}

.text-weight-normal {
    font-weight: normal !important;
}


#headerContainer {
    display: flex;
    margin-bottom: 4rem;
    margin-inline: 5rem;
    align-items: baseline;
    justify-content: space-between;
}

.font-custom {
    font-size: large;
}

.button-group {
    gap: 30%;
    display: flex;
    margin-top: 4rem;
}

.btn {
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 12px;
    background: #05432C;
    border: rgba(255, 255, 255, 0.085) 1px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.396);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn:hover {
    background: rgba(107, 107, 107, 0.444);
}

#section-selector {
    padding: 20px;
    display: flex;
    color: black;
    height: 90vh;
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    font-family: 'Arial', sans-serif;

    .title {
        font-size: 4rem;
        line-height: 1.3;
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .subtitle {
        font-size: 2rem;
        color: #b0bec5;
    }
}

#section-frase {
    .button-group {
        display: flex;
        margin-top: 4rem;
        flex-direction: row;
        justify-content: center;
    }
}

#section-selector {
    .button-group {
        justify-content: center;
    }
}

#listaPalavras li {
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 4px;
    background: #f9f9f9c7;
    transition: box-shadow 0.2s, transform 0.2s;
}

#listaPalavras li:hover {
    cursor: pointer;
    transform: translateY(-2px);
    background-color: #c7c7c749;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.262);
}

#btnSelecionarPalavra {
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    background: #01632a1d;
}

.button-header {
    display: flex;
    padding: 2rem;
}

#buttons-footer {
    gap: 3rem;
    display: flex;
    margin-bottom: 2rem;
    justify-content: center;
}

.blurred {
    filter: blur(2px);
}

input {
    color: white !important;
    background-color: #003a26 !important;
    border: rgba(255, 255, 255, 0.14) 1px solid !important;
}

input:disabled {
    opacity: 0.7 !important;
    color: #cccccc !important;
    cursor: not-allowed !important;
    border: 1px solid #777 !important;
    background-color: #00000071 !important;
}

button:disabled,
.btn:disabled {
    opacity: 0.7 !important;
    color: #cccccc !important;
    cursor: not-allowed !important;
    border: 1px solid #777 !important;
    background-color: #4e4e4e !important;
}


select.form-control {
    color: white !important;
    background-color: #003a26 !important;
    border: rgba(255, 255, 255, 0.085) 1px solid;
}

textarea {
    background-color: #003a26 !important;
    border: rgba(255, 255, 255, 0.085) 1px solid !important;
}

#btnLimpar {
    background-color: #f57c00;

    transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnLimpar:hover {
    background-color: #ef6c00;
    transform: translateY(-2px);
}

#btnLimpar:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

#modalPalavras>div {
    background-color: #002E1E !important;
}

#listaPalavras {
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* Aplica fundo escuro e texto branco aos itens da lista */
#listaPalavras li {
    background-color: #004d3d;
    /* verde mais claro que o fundo */
    color: white;
    padding: 10px;
    margin: 6px 0;
    border-radius: 6px;
    list-style: none;
    width: 60%;
    transition: background-color 0.2s, transform 0.2s;
}

/* Adiciona um bullet manual e melhora o hover */
#listaPalavras li::before {
    content: '• ';
    color: white;
    margin-right: 5px;
    margin-left: 15px;
}

#listaPalavras li:hover {
    background-color: #006b50;
    cursor: pointer;
    transform: translateY(-1px);
}

/* Botões com letras (A, B, C...) */
#letrasContainer button {
    background-color: #006b50;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

#letrasContainer button:hover {
    background-color: #00936d;
}

/* Firefox */
#listaPalavras {
    scrollbar-width: thin;
    scrollbar-color: #00b386 #002E1E;
    /* polegar (thumb), trilho (track) */
}

/* Webkit (Chrome, Edge, Safari) */
#listaPalavras::-webkit-scrollbar {
    width: 10px;
}

#listaPalavras::-webkit-scrollbar-thumb {
    background-color: #00b386;
    /* cor da barra (thumb) */
    border-radius: 6px;
}

#listaPalavras::-webkit-scrollbar-track {
    background-color: #002E1E;
    /* cor do fundo do scroll (track) */
}

table {
    border-collapse: separate;
    /* necessário para aplicar espaçamento */
    border-spacing: 8px;
    /* espaço entre as células */
    width: 100%;
}

table td {
    color: white;
    padding: 12px;
    border-radius: 8px;
    /* bordas arredondadas */
    background-color: #003a26 !important;
    border: rgba(255, 255, 255, 0.085) 1px solid !important;
}

.escopo {
    margin-bottom: 2rem;
    border-radius: 1rem;
    border: rgba(255, 255, 255, 0.085) 1px solid !important;
}

.table>thead>tr>th {
    border-bottom: none;
}

.nav-tabs {
    border-bottom: none;
}

.address-container {
    background-color: #0f3a2e;
    /* fundo esverdeado escuro */
    padding: 15px;
    border-radius: 8px;
    /* borda arredondada */
}

.address-container h2 {
    color: white;
    font-weight: bold;
}

.custom-tabs {
    border-bottom: none;
    margin-top: 10px;
}

.custom-tabs>li {
    margin-right: 15px;
}

.custom-tabs>li>a {
    color: white;
    background: transparent;
    border: none !important;
    font-weight: 500;
    padding: 10px 5px;
    position: relative;
}

.custom-tabs>li.active>a,
.custom-tabs>li.active>a:focus,
.custom-tabs>li.active>a:hover {
    color: white;
    background: transparent;
    border: none !important;
}

.custom-tabs>li.active>a::after {
    content: '';
    display: block;
    height: 3px;
    background-color: orange;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.custom-tabs>li>a:hover {
    background-color: rgba(255, 255, 255, 0.17) !important;
    color: white;
}