/* Estilos específicos para a página do aplicativo */

.app-presentation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3%;
    padding-left: 6%;
    padding-right: 6%;
    width: 88%;
    background: none;
}

.app-icon {
    width: min(240px, 100%);
    height: auto;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.app-details {
    flex: 1;
    max-width: 100%;
}

.app-details h1 {
    font-size: clamp(20px, 5vw, 53px);
    margin: 0 0 10px 0;
    color: #333;
    text-align: left;
}

.app-details .developer {
    font-size: 16px;
    font-weight: bold;
    color: #25d366;
    /* Verde WhatsApp */
    margin-bottom: 5px;
}

.app-details .category {
    font-size: 14px;
    color: #777;
    /* Cinza escuro */
    margin-bottom: 15px;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 5%;
    font-size: 14px;
    color: #555;
}

.app-info .info-item {
    text-align: center;
}

.app-info .info-item .value {
    font-weight: bold;
    font-size: 19px;
    color: #333;
    padding-bottom: 5px;
    padding-top: 5px;
}

.app-info .info-item .label {
    font-size: 12px;
    color: #777;
}

.app-info .separator {
    font-size: 20px;
    color: #ccc;
}

.classification {
    text-align: center;
}

.classification .badge {
    background: #25d366;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    padding: 4px 8px;
    border: 2px solid #25d366;
    display: inline-block;
    margin-bottom: 5px;
}

.classification .label {
    font-size: 12px;
    color: #777;
}

.app-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-install {
    background: #25d366;
    color: #fff;
    font-size: 14px;
    width: 200px;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-install:hover {
    background: #1eae5f;
}



.btn-ouvir {
    background: #0332e7;
    color: #fff;
    font-size: 14px;
    width: 200px;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
}

.btn-ouvir:hover {
    background: #03155f;
}




.btn-share,
.btn-favorite {
    background: #fff;
    color: #25d366;
    font-size: 14px;
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-share i,
.btn-favorite i {
    font-size: 16px;
}

.btn-share:hover,
.btn-favorite:hover {
    background: #e8f5e9;
    /* Verde bem suave */
    color: #25d366;
}

@media (max-width: 768px) {
    .app-presentation {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0% 0%;
        width: 100%;
    }

    .app-icon {
        width: 70px;
        height: auto;
        margin-right: 5px;
        margin-left: calc(-100);
        order: -1;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .app-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 30px;
    }

    .app-details h1 {
        font-size: 18px;
        margin: 0;
        font-weight: bold;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-details .developer {
        font-size: 14px;
        font-weight: bold;
        margin: 0;
        color: #25d366;
    }

    .app-details .category {
        font-size: 12px;
        color: #777;
        margin: 0;
    }

    .app-info {
        width: 100%;
        margin-top: 15px;
        display: flex;
        justify-content: center;
    }

    .app-buttons {
        width: calc(100% - 12%);
        margin: 15px auto;
        display: flex;
        flex-wrap: wrap;
        gap: 2%;
        justify-content: center;
    }

    .btn-share,
    .btn-favorite {
        width: 49%;
        padding: 10px 10px;
        font-size: 14px;
        margin-top: 10px;
    }

    .btn-install {
        width: calc(100%);
        padding: 12px 0;
        font-size: 16px;
        margin-top: 5px;
    }

    .btn-ouvir {
        width: calc(100%);
        padding: 12px 0;
        font-size: 16px;
        margin-top: 10px;
    }
}



.hidden-desktop {
    display: none;
}

.hidden-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hidden-desktop {
        display: none;
    }

    .hidden-mobile {
        display: block;
    }
}

@media (min-width: 769px) {
    .hidden-desktop {
        display: block;
    }

    .hidden-mobile {
        display: none;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 96%;
    /* Ajustada para 96% */
    max-width: 1200px;
    margin: 20px auto 0;
}

.box {
    padding: 00px 20px 0px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.box1 {
    flex: 65%;
    /* Ocupa 65% da largura no desktop */
    max-width: 65%;
}

.box2 {
    flex: 33%;
    /* Ocupa 35% da largura no desktop */
    max-width: 35%;
}

.carousel {
    display: flex;
    overflow-x: auto;
    /* Habilita a rolagem horizontal */
    scroll-snap-type: x mandatory;
    /* Faz os itens "encaixarem" ao rolar */
    gap: 10px;
    width: 97%;
    max-width: 100%;
    /* Garante que o contêiner não ultrapasse a largura da página */
    padding: 5px;
    /* Espaçamento interno opcional */
}

/* Estilize os itens para caberem lado a lado */
.carousel>* {
    flex: 0 0 auto;
    /* Garante que os itens não encolham e fiquem lado a lado */
    scroll-snap-align: start;
    /* Alinha os itens ao início ao parar a rolagem */
    width: 120px;
    /* Largura dos itens (ajuste conforme necessário) */
}

.carousel::-webkit-scrollbar {
    display: none;
    /* Oculta a barra de rolagem */
}

.carousel img {
    width: 121px;
    /* Ajuste conforme o tamanho desejado */
    height: auto;
    /* Ajuste conforme o tamanho desejado */

    /* Mantém a proporção original */
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    margin: 3px;
    /* Adiciona margem de 10px */
}

.carousel img:hover {
    transform: scale(1.05);
    /* Efeito ao passar o mouse */
}

.text-content {
    margin-top: 20px;
    text-align: left;
    width: 100%;
}

.apps {
    text-underline-offset: 15px;
    /* Ajusta a distância do sublinhado */
    text-decoration-thickness: 5px;
    /* Define a espessura da linha */
    display: inline-block;
    /* Necessário para aplicar border-bottom ao texto */
    border-bottom: 3px solid;
    /* Define a espessura e estilo da linha */
    text-decoration: none;
    /* Remove o sublinhado padrão */
    padding-bottom: 10px;
    /* Ajusta o espaço entre o texto e a linha */
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.description {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .box1,
    .box2 {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .carousel img {
        width: 96px;
        /* Largura ajustada para mobile */
    }

    .title {
        font-size: 22px;
        /* Tamanho reduzido do título para mobile */
    }

    .description {
        font-size: 14px;
        /* Tamanho reduzido da descrição para mobile */
    }
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

#iosModal {
    z-index: 9999;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c1c1c;
    padding: 20px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 12px 12px 0 0;
}





#iosModal {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}


/* Botão padrão */
.btn-install {
    background-color: #f0f0f0;
    /* Cinza claro para estado desativado */
    color: #aaa;
    /* Texto cinza */
    border: 1px solid #ddd;
    /* Borda suave */
    cursor: not-allowed;
    /* Cursor indicando que está desativado */
    transition: background-color 0.3s, color 0.3s;
    /* Transições suaves */
}

/* Botão ativo */
.btn-install.active {
    background-color: #4caf50;
    /* Verde para botão ativo */
    color: #fff;
    /* Texto branco */
    border: 1px solid #4caf50;
    cursor: pointer;
    /* Cursor indicando interatividade */
}

/* Evita qualquer ação no hover para botões desativados */
.btn-install:disabled {
    background-color: #f0f0f0;
    /* Mesma cor do estado inicial */
    color: #aaa;
    border: 1px solid #ddd;
    pointer-events: none;
    /* Desativa qualquer interação */
}

/* Estilo para hover apenas quando o botão estiver ativo */
.btn-install.active:hover {
    background-color: #45a049;
    /* Tom mais escuro de verde */
}

.btn-install img {
    margin-right: 8px;
    /* Espaçamento entre o GIF e o texto */
    vertical-align: middle;
    /* Alinha o GIF com o texto */
}

/* Estilos gerais do modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    /* Inicialmente oculto */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal.show {
    display: flex;
    /* Torna o modal visível */
    animation: fadeIn 0.5s ease-out;
}

/* Animação para o aparecimento do modal */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Estilos do conteúdo do modal */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    /* Tamanho máximo para o modal */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Título do modal */
#modalTitle {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

/* Mensagem do modal */
#modalMessage {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Estilos para a versão responsiva */
@media (max-width: 600px) {
    .modal-content {
        width: 80%;
        /* Aumenta a largura do modal em dispositivos móveis */
        padding: 15px;
    }

    #modalTitle {
        font-size: 20px;
        /* Reduz o tamanho do título em telas menores */
    }

    #modalMessage {
        font-size: 14px;
        /* Ajusta a fonte da mensagem */
    }
}

/* Avaliações */
.ratings {
    margin-bottom: 20px;
    margin-left: 40px;
}

.rating {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.rating .star {
    color: #ffd700;
    font-size: 18px;
}

.rating-text {
    font-size: 15px;
    color: #2c2a2a;
}

/* Estilização básica */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.search-bar {
    width: 0;
    height: 40px;
    padding: 0 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.search-icon {
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s ease;
}

/* Aparecimento estilizado ao clicar */
.search-container.active .search-bar {
    width: 92%;
    /* Ocupa 89% da largura da página */
    opacity: 1;
    visibility: visible;
}

.search-container.active .search-icon {
    display: none;
    /* Esconde a lupa ao clicar */
}

/* Mobile-first */
@media (max-width: 768px) {
    .search-container.active {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 1000;
        padding: 10px;
    }

    .search-bar {
        height: 50px;
        font-size: 18px;
    }

    .search-icon {
        position: absolute;
        top: 5px;
        right: 0px;
    }
}

.star {
    color: gold;
    /* Cor dourada para a estrela */
    font-size: 1em;
    /* Ajuste o tamanho da estrela conforme necessário */
    margin-left: 0px;
    /* Adiciona um pequeno espaço entre o número e a estrela */
}

/* Resultados da pesquisa */
.search-results {
    position: absolute;
    top: 100%;
    /* Fica logo abaixo do campo de pesquisa */
    left: 27%;
    width: 146%;
    /* Agora ocupa 93% da largura */
    transform: translateX(-50%);
    /* Centraliza os resultados */
    max-height: 300px;
    /* Define um máximo de altura */
    overflow-y: auto;
    /* Habilita rolagem se necessário */
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    border-radius: 5px;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.search-results li:hover {
    background-color: #f0f0f0;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .search-results {
        position: fixed;
        /* Fixa os resultados abaixo da pesquisa */
        top: 50px;
        /* Ajusta para que os resultados fiquem logo abaixo da pesquisa */
        left: 50%;
        /* Centraliza horizontalmente */
        width: 95%;
        /* Ajusta a largura para 93% da tela */
        transform: translateX(-50%);
        /* Centraliza os resultados */
        max-height: 70vh;
        /* Faz com que o máximo de altura seja 70% da altura da tela */
        overflow-y: auto;
        /* Habilita rolagem se necessário */
        z-index: 9999;
        /* Garante que os resultados fiquem acima da pesquisa */
    }
}

/* Estilo para a lista de aplicativos */
.app-list-index {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* Espaço entre os itens */
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: center;
    /* Centraliza no desktop */
}

/* Estilo para cada item de aplicativo */
.app-item-index {
    flex: 1 1 calc(33.33% - 20px);
    /* 3 itens por linha no desktop */
    box-sizing: border-box;
    max-width: calc(33.33% - 20px);
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.app-item-index:hover {
    transform: scale(1.05);
}

/* Estilo para os links */
.app-link-index {
    display: flex;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    width: 100%;
    align-items: center;
}

/* Estilo para o ícone */
.app-icon-index {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    margin-right: 10px;
}

/* Estilo para os detalhes */
.app-details-index {
    text-align: left;
    /* Alinha o texto à esquerda */
}

.app-title-index {
    font-size: large;
    color: black;
    margin-bottom: 5px;
}

.app-slogan-index {
    font-size: small;
    font-weight: bold;
    color: #25d366;
    margin-bottom: 5px;
}

.app-category-index {
    font-size: small;
    color: #666;
}

/* Estilo para dispositivos móveis */
@media (max-width: 768px) {
    .app-item-index {
        flex: 1 1 100%;
        /* Um item por linha */
        max-width: 100%;
        margin-left: 0;
        /* Remove o deslocamento */
        justify-content: flex-start;
        /* Alinha o conteúdo à esquerda */
    }

    .app-list-index {
        justify-content: flex-start;
        /* Alinha toda a lista à esquerda */
        padding-left: 10px;
        /* Adiciona espaçamento na lateral esquerda */
        padding-bottom: 10px;
        /* Adiciona espaçamento na lateral esquerda */
    }

    .app-details-index {
        text-align: left !important;
        /* Força o alinhamento à esquerda no mobile */
    }
}

.carousel-item-index img {
    width: 100%;
    margin-top: 30px;
    height: auto;
}



/* Cada item do carrossel */
.carousel-item {
    position: relative;
    /* Necessário para posicionar o overlay */
    flex: 0 0 auto;
    /* Cada item ocupa seu próprio espaço */
    width: 150px;
    /* Largura fixa para cada item */
    height: 100%;
    /* Preenche a altura do contêiner */
    border-radius: 10px;
    overflow: hidden;
    /* Garante que os elementos adicionais não escapem */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Imagens do carrossel */
.carousel-item img {
    width: 100%;
    /* Preenche a largura do item */
    height: 100%;
    /* Preenche a altura do item */
    object-fit: cover;
    /* Mantém a proporção da imagem */
}

/* Overlay para a logo */
.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centraliza a logo */
    width: 80%;
    /* Tamanho proporcional da logo */
    height: auto;
    padding-left: 0%;
    pointer-events: none;
    /* Evita que o overlay interfira no hover */
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 65%;
        height: auto;
        padding-left: 0%;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Logo dentro do overlay */
.logo-overlay img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.apps {
    text-underline-offset: 15px;
    /* Ajusta a distância do sublinhado */
    text-decoration-thickness: 5px;
    /* Define a espessura da linha */
    display: inline-block;
    /* Necessário para aplicar border-bottom ao texto */
    border-bottom: 3px solid;
    /* Define a espessura e estilo da linha */
    text-decoration: none;
    /* Remove o sublinhado padrão */
    padding-bottom: 10px;
    /* Ajusta o espaço entre o texto e a linha */
}

.avatar,
.search-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-left: 0px;
    /* Espaço entre avatar e lupa */
}

.avatar:hover,
.search-icon:hover {
    transform: scale(1.1);
}

/* Dropdown de pesquisa */
.dropdown {
    display: none;
    position: absolute !important;
    top: 60px;
    right: 20px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    border-radius: 8px;
    width: 300px;
}

.dropdown.show {
    display: block;
}

.dropdown .info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.dropdown .info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.dropdown .info .details {
    font-size: 14px;
    color: #333;
}

.dropdown a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin-top: 10px;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.dropdown a:hover {
    background-color: #f0f0f0;
}

.dropdown a i {
    margin-right: 10px;
    color: #007BFF;
}

.responsive-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 35px;
    margin: 0 auto;
    /* Remove espaço acima e abaixo */
    width: 83%;
    /* Garante que ocupe toda a largura disponível */
    max-width: 1200px;
    /* Define um limite confortável para telas grandes */
}

@media (max-width: 768px) {
    .responsive-container {
        padding: 25px;
        width: 99%;
        /* Certifica-se de que ocupa a largura total no mobile */
        max-width: none;
        /* Remove o limite de largura */
    }
}

.average-rating {
    margin-bottom: 20px;
}

.rating-bar-container {
    margin: 10px 0;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.rating-label {
    width: 50px;
}

.bar {
    flex: 1;
    background: #eee;
    border-radius: 5px;
    height: 10px;
    margin-left: 10px;
}

.filled {
    height: 10px;
    background: gold;
    border-radius: 5px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-details {
    flex: 1;
}

.comment-form textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
}

.stars {
    display: inline-flex;
    flex-direction: row-reverse;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

.stars label:hover,
.stars label:hover~label,
.stars input[type="radio"]:checked~label {
    color: gold;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

@media (max-width: 768px) {
    .responsive-container {
        padding: 15px;
    }

    .avatar {
        width: 30px;
        height: 30px;
    }

    .comment-form textarea {
        height: 60px;
    }

    .stars label {
        font-size: 20px;
    }
}

/* Modal overlay (escurece apenas o fundo) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 58%;
    background: rgba(0, 0, 0, 0.9);
    /* Fundo escuro com transparência */
    z-index: 100;
    /* Fica atrás do modal */
}

/* Modal principal */
#iphone-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c2c2c !important;
    /* Fundo escuro para modo noturno */
    color: #fff !important;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.7);
    /* Sombra para destaque */
    z-index: 999;
    animation: slide-up 0.4s ease-in-out;
}

/* Fechamento ao clicar na sobreposição */
.modal-overlay {
    cursor: pointer;
}

.modal-content {
    padding: 20px;
    text-align: center;
    position: relative;
}

.modal-header {
    margin-bottom: 15px;
}


/* Contêiner para o ícone e o texto */
.icon-text-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Estiliza o texto para manter alinhamento adequado */
.text-container {
    margin-left: 15px;
    text-align: left;
    max-width: calc(100% - 100px);
    /* Limita o espaço do texto para evitar quebra */
}

.text-container h3 {
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.text-container p {
    font-size: 14px;
    color: #ccc;
    margin: 2px 0;
}

/* Botão de fechar no canto superior direito */
.close-btn {
    position: absolute;
    top: 20px;
    /* Ajusta o botão para ficar 20px abaixo do topo */
    right: 10px;
    background: #f44336;
    /* Cor de fundo vermelha */
    border: none;
    color: white;
    font-size: 15px;
    /* Tamanho da fonte */
    font-weight: bold;
    border-radius: 50%;
    /* Garante o formato circular */
    text-align: center;
    line-height: 40px;
    /* Centraliza o "X" no botão */
    cursor: pointer;
    z-index: 101;
    /* Garante que o botão fique acima da sobreposição */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    /* Adiciona sombra ao botão */
    transition: background 0.3s ease;
    /* Animação de transição de cor */
    box-sizing: border-box;
    /* Certifique-se de que padding e bordas sejam incluídos nas dimensões */
}

/* Mudança de cor ao passar o mouse sobre o botão */
.close-btn:hover {
    background: #d32f2f;
    /* Cor um pouco mais escura ao passar o mouse */
}

/* Estilo ao focar no botão */
.close-btn:focus {
    outline: none;
    /* Remove o contorno padrão ao focar */
}

/* Estilo da seta animada */
.arrow-container {
    margin-top: 15px;
}

.animated-arrow {
    font-size: 30px;
    color: #00bcd4;
    /* Cor azul-turquesa para contraste */
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}










/* Base: CELULAR (até ~767px) */
.lang-selector {
  position: relative;
  display: inline-block;
  margin-left: -30px;      /* valor desejado para celular */
  cursor: pointer;
}

/* TABLET/DESKTOP (a partir de 768px) */
@media (min-width: 768px) {
  .lang-selector {
    margin-left: -5px;     /* valor desejado para desktop */
  }
}

.flag {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    margin: 3px;
    transition: filter 0.3s, transform 0.2s;
}

.current-flag {
    filter: none;
}

.inactive-flag {
    filter: grayscale(100%);
}

.inactive-flag:hover {
    filter: none;
    transform: scale(1.1);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 30px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 999;
}