

/* Fundo do pop-up */
#__dictionary-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    z-index: 11;
    align-items: center;
}

/* Conteúdo do pop-up */
#__dictionary-content {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    justify-content: space-between;
    width: 95%;
    height: 200px;
    text-align: center;
    overflow: hidden !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    transition: height 0.5s ease;
}

/* Animação de saída (fade e scale) */
@keyframes dictionaryExit {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Classe que dispara a animação de saída */
.dictionary-exit {
    animation: dictionaryExit 1s ease forwards;
}


/* Animação de saída do overlay */
@keyframes overlayExit {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* Classe que dispara o fade-out no overlay */
.overlay-exit {
    animation: overlayExit 0.3s ease forwards;
}









/* Botão de fechar */
#__dictionary-close-btn {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
}


#__dictionary-close-btn::before{
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: 1;
}

/* Input e botão de pesquisa */
#__dictionary-search {
    width: 70%;
    padding: 8px;
    margin: 10px 0;
    border: 1px solid rgb(3, 46, 5);
    border-radius: 8px;
}

/* Estilo do placeholder */
#\_\_dictionary-search::placeholder {
    color: #888;
    /* cor do texto do placeholder */
    /* deixa o texto em itálico */
    font-family: sans-serif;
    font-size: 13px;
    /* tamanho da fonte */
    opacity: 1;
    /* evita que fique transparente demais */
}

#__dictionary-search-btn {
    padding: 8px 15px;
    background: rgb(3, 46, 5);
    color: white;
    border: none;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
}

#__dictionary-search-btn::before{
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: 1;
}




/* Área de resultado */
#__dictionary-result {
    position: absolute;
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    bottom: 0;
    font-weight: bold;
    font-size: 14px;
    width: 100%;
    min-height: 500px;
    max-height: 200vh;
    font-family: sans-serif;
    border-radius: 9px;
    box-shadow: 1px 1px 11px 1px rgba(0, 0, 0, 0.651);
    overflow-y: scroll;
    border: none;
    overflow-x: scroll;
    color: black;
}

#__dictionary-result h2 {
    text-transform: capitalize;
    font-size: 1.5rem;
    margin-bottom: 10px;
}


#__dictionary-result p {
    margin: 8px 0;
}

#__dictionary-result ul,
#__dictionary-result ol {
    padding-left: 20px;
    margin: 8px 0;
}


.dictionary-card {
    background: #fff;
    border: 1px solid #ddd;
    height: 500px;
    border-radius: 10px;
    padding: 16px;
    overflow-y: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}




.tab-buttons {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
    overflow-x: auto;
    border-bottom: 1px solid #eee;
}


.tab-button {
    padding: 10px 16px;
    cursor: pointer;
    white-space: nowrap;
    background: #f7f7f7;
    border: none;
    margin-right: 4px;
    border-radius: 8px 8px 0 0;
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tab-button:hover {
    background: #eaeaea;
    transform: scale(1.02);
}

.tab-button.active {
    background: #fff;
    border-bottom: 2px solid #F2D6B3;
    color: #3498db;
}


/* Conteúdo da aba */
.tab-contents {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 0 0 10px 10px;
    background: #fafafa;
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeInScale 0.3s ease forwards;
    transform-origin: top left;
}

.tab-content.active {
    display: block;
}


.tab-content p {
    margin: 8px 0;
}


/* Animação de entrada */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Estilo moderno para listas */
.tab-content ul,
.tab-content ol {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.tab-content li {
    background: #f0f4f8;
    margin-bottom: 6px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #333;
    position: relative;
    transition: transform 0.2s ease;
}

.container-for-search-dictionary-itens {

    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}

.container-catch-content-dictionary {

    align-items: center;
    width: 100%;
    justify-content: space-around;
    display: flex;
}


.title_dictionary {
    font-size: 25px;
    color: rgb(3, 46, 5);
    font-family: "Crimson Text", serif;
    text-align: center;
    display: flex;
    font-weight: 300;
    align-items: center;
    justify-content: center;
    animation: dotom 1s ease;
}


#no_read_fast{
    background-color: #F2B705;
    border: none !important;
    margin: 0;
    color: white;
    padding: 10px;
    width: 60px;
    box-shadow: 2px 2px 0px 2px #3d2e00;
    border-radius: 10px;
}

#yes_read_fast{
    background-color: #F2541B;
    border: none !important;
    margin: 0;
    color: white;
    padding: 10px;
    width: 60px;
    box-shadow: 2px 2px 0px 2px #63220b;
    border-radius: 10px;
}

.element_style_read_mode{
    background-color: #ff2b52 !important;
    border-radius: 9px;
    width: 100px;

}