:root {
    --altura-header: 60px;
    --altura-footer: 70px;
}

body {
    height: 100vh;
    background: #f2f4f8;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container_conteudo {
    min-height: calc(100vh - 136.23px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
    max-width: 450px;
    margin: auto;
    padding: 1rem;
}

.titulo_conteudo {
    font-size: 24px;
    color: #222222;
    font-weight: 500;
    word-spacing: 2px;
    margin-bottom: 0.25rem;
}

input {
    min-width: 0;
}
.cards_app {
    width: 100%;
    height: auto;
    padding: 1rem;
    border-radius: 10px;
    flex-direction: column;
    box-sizing: border-box;
    align-items: start;
    gap: 12px;
    display: flex;
    min-width: 90%;
    background-color: white;
}

.img_cena_base {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
}

.titulo_cena {
    font-weight: 600;
    color: #3792cd;
    font-size: 14px;
}

.modalidade_cena {
    font-size: 14px;
    color: #6b7280;
}

.texto_identificacao_cena {
    display: flex;
    flex-direction: column;
}

.div_row_conteudo {
    display: flex;
    justify-content: space-between;
    color: black;
    align-items: center;
    margin-top: 0.5rem;
    gap: 0.5rem;
}

.div_row_favorito {
    display: flex;
    align-items: center;
    color: black;
}

.div_identificacao_cena {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.fa-heart {
    color: #d7443e;
    font-size: 18px;
}

.card_app_conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.favorito {
    cursor: pointer;
    margin-right: 4px;
}

.favorito.ativo {
    color: red;
}

.img_identificacao_cena {
    height: 40px;
}

.joinha_home {
    color: green;
    font-size: 14px;
}

.numeros_cards {
    font-size: 14px;
}

.icones_cards {
    font-size: 14px;
    color: #40424a;
}

.icones_cards {
    font-size: 14px;
}

.nota_ia {
    background-color: #40424a;
    color: white;
    border-radius: 18px;
    padding: 0.25rem 0.5rem;
    font-size: 12px;
    width: max-content;
}

.data_cena {
    font-size: 14px;
    color: #6b7280;
}

.logo_voxscene_card {
    height: 32px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(76%) sepia(7%) saturate(1133%) hue-rotate(176deg) brightness(92%)
        contrast(87%);
}

@media (max-width: 400px) {
    .cards_app {
        flex-direction: column;
        height: auto;
    }

    .card_app_conteudo {
        margin-left: 0px;
        margin-top: 0.5rem;
    }

    .favorito {
        margin-right: 0px;
    }
}
.cards_app_gravar {
    width: 100%;
    padding: 0.5rem;
    background-color: white;
    border-radius: 8px;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    box-shadow: var(--sombra_card);
}

.img_gravacao_base {
    border-radius: 10px;
    filter: brightness(0.9);
}

.div_categorias {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.div_row_gravar {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modalidade_tipo_conteudo {
    background-color: #202224;
    padding: 0.5rem;
    border-radius: 16px;
    font-size: 12px;
    color: white;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria_tipo_conteudo {
    border: 1px solid #52525252;
    background-color: white;
    padding: 0.5rem 0.5rem;
    border-radius: 16px;
    font-size: 12px;
    color: black;
    box-sizing: border-box;
}

.filtro_busca {
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: var(--sombra_card);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
}

.campo_pesquisa {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
}

.campo_pesquisa i {
    color: #666;
    margin-right: 8px;
}

.campo_pesquisa input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.filtros_dropdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filtros_dropdown select:focus {
    border-color: #0081ff;
    outline: none;
}
.btn_add_conteudo {
    position: fixed;
    bottom: 83.78px;
    right: 16px;
    background: #0081ff;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    height: 40px;
    box-sizing: border-box;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal_content {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    width: 90%;
    max-width: 400px;
    max-height: 85%;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin: 1rem;
    position: relative;
}

.modal_content::-webkit-scrollbar {
    width: 0px;
}

.sumir_input_file {
    display: none;
}

.fechar {
    font-size: 24px;
    cursor: pointer;
    color: black;
    position: absolute;
    top: 8px;
    right: 12px;
}

.descricao_modal {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
    margin-top: 2px;
}

.box_estado_modal {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-align: center;
    margin-bottom: 1rem;
    background-color: #f8f8f8;
}

.texto_estado_modal {
    font-size: 14px;
    color: #333;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.btn_acao_estado_modal {
    width: 100%;
    padding: 0 1rem;
    font-size: 14px;
    font-weight: 500;
    box-sizing: border-box;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    height: 40px;
}

.btn_fechar_estado_modal {
    width: 100%;
    background: #202224;
    border: none;
    color: white;
    padding: 0 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
    height: 40px;
}

.form_conteudo label {
    display: block;
    margin-top: 16px;
    font-weight: 500;
    font-size: 14px;
    color: black;
}

#modal_falas label {
    display: block;
    margin-top: 16px;
    font-weight: 500;
    font-size: 14px;
    color: black;
}

#modal_falas input,
#modal_falas select,
#modal_falas textarea {
    width: 100%;
    margin-top: 4px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
    resize: none;
}

#modal_falas textarea {
    min-height: 80px;
    resize: none;
}

.upload_box.success {
    background: #e6ffed;
    border: 2px solid #28a745;
    color: #155724;
    font-weight: 600;
}

.check_upload {
    margin-right: 4px;
}

.form_conteudo input,
.form_conteudo select,
.form_conteudo textarea {
    width: 100%;
    margin-top: 4px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
    resize: none;
}

/* Seletor com busca (js/seletor_busca.js) no lugar do select: mesmo espaço do rótulo que os outros campos. */
.form_conteudo .vox_seletor_campo {
    margin-top: 4px;
}

.categorias_chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    min-height: 0;
}

.categoria_chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0078ff;
    color: #fff;
    font-size: 12px;
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
    border-radius: 16px;
    font-weight: 600;
}

.categoria_chip_remover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
}

.form_conteudo textarea {
    min-height: 80px;
    resize: none;
}

.upload_box {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    margin-top: 8px !important;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.btn_enviar {
    border: none;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    border-radius: 8px;
    width: 100%;
    padding: 0 12px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    cursor: pointer;
    height: 40px;
}

.div_fechar_modal_conteudo {
    display: flex;
    justify-content: space-between;
}

.box_add_conteudo {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin: 16px 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.texto_add_conteudo {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
}

.btn_add_conteudo i {
    font-size: 16px;
}

.titulo_modal_adicionar_conteudo {
    color: black;
    font-weight: 600;
    font-size: 16px;
}

.hidden {
    display: none !important;
}
.img_perfil {
    height: 96px;
    width: 96px;
    align-self: center;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    object-fit: cover;
    object-position: center;
}

.container_perfil {
    display: flex;
    flex-direction: column;
    color: black;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: var(--sombra_card);
}

.btn_seguir_perfil {
    width: auto;
    padding: 0 16px;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    height: 40px;
    box-sizing: border-box;
}

.btn_seguindo_perfil {
    width: auto;
    padding: 0 16px;
    background: linear-gradient(90deg, #9ca3af, #6b7280);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

.btn_seguindo_perfil_usuarios {
    width: auto;
    padding: 0 16px;
    background: linear-gradient(90deg, #9ca3af, #6b7280);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    width: 95px;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
    height: 40px;
}

.btn_seguir_perfil_usuarios {
    width: auto;
    padding: 0 16px;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 95px;
    box-sizing: border-box;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    height: 40px;
}

.nome_perfil {
    font-size: 18px;
    font-weight: 600;
}

.div_seguidores {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.div_sessoes_perfil {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.div_sessoes_perfil::-webkit-scrollbar {
    display: none;
}

.texto_sessoes {
    flex: none;
    text-align: center;
    color: #555;
    background: rgba(128, 128, 128, 0.15);
    font-size: 14px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    cursor: pointer;
}

.sessao_perfil_selecionada {
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: #fff;
    border-radius: 8px;
}
.div_sessoes_perfil.sessoes_segmentadas {
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 8px;
    background-color: rgba(128, 128, 128, 0.15);
    overflow: visible;
}

.sessoes_segmentadas .texto_sessoes {
    flex: 1;
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    background: none;
    color: #333;
}

.sessoes_segmentadas .sessao_perfil_selecionada {
    border-radius: 8px;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: #fff;
}

.container_sessoes {
    display: none;
    flex-direction: column;
    color: black;
    gap: 0.75rem;
    width: 100%;
}

.container_sessoes.ativo {
    display: flex;
}

.card_sessoes {
    display: flex;
    flex-direction: column;
    color: black;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: var(--sombra_card);
}

.titulo_cards {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.danger-zone {
    padding: 16px;
    border: 1px solid #f5c6cb;
    background: #fffafa;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.danger-zone h3 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #b71c1c;
    font-weight: 600;
}

.danger-zone p {
    margin: 0 0 12px;
    color: #9c2c23;
    font-size: 14px;
}

.btn_salvar_dados_perfil {
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    border-radius: 8px;
    width: 100%;
    padding: 0 0.5rem;
    color: white;
    font-size: 14px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    height: 40px;
    box-sizing: border-box;
}

.btn_logout_perfil {
    background: linear-gradient(90deg, #e53935, #b71c1c);
    border-radius: 8px;
    width: 100%;
    padding: 0 0.5rem;
    color: white;
    font-size: 14px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    height: 40px;
    box-sizing: border-box;
}

.btn_excluir_perfil {
    background: linear-gradient(90deg, #e53935, #b71c1c);
    color: white;
    padding: 0 0.5rem;
    width: 100%;
    border-radius: 8px;
    font-weight: 400;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    height: 40px;
    box-sizing: border-box;
}

.div_input_perfil {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.input_perfil {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    resize: none;
}

.prefixo_input_link {
    font-size: 12px;
}

.input_perfil_link {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    resize: none;
}

.social-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #00000029;
}

.social-card i {
    font-size: 18px;
}

.icone_instagram {
    color: #dc2743;
}

.icone_youtube {
    color: #ff0000;
}

.icone_linkedin {
    color: #0077b5;
}

.icone_contato_perfil {
    width: 18px;
}

.div_contato_perfil {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
}

.titulo_input_perfil {
    font-size: 14px;
}
.container_detalhes {
    min-height: calc(100vh - 136.23px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
    max-width: 450px;
    margin: auto;
    padding: 1rem;
}

.img_detalhes {
    width: 100%;
}

.div_dados_detalhes_conteudo {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card_descricao_detalhes_conteudo {
    width: 100%;
    padding: 0.5rem;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.788);
    border-radius: 8px;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    box-shadow: var(--sombra_card);
}

.texto_descricao_conteudo {
    display: -webkit-box;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow: clip;
    text-overflow: ellipsis;
    word-break: break-word;
    transition: all 0.3s ease;
}

.descricao_publicacao_container {
    position: relative;
}

.texto_descricao_conteudo.expandido {
    line-clamp: unset;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.btn_toggle_descricao {
    background: none;
    border: none;
    color: #3792cd;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

.roteiro_conteudo {
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn_download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.5rem;
    padding: 0 1rem;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
}

.video_base {
    width: 100%;
    max-height: 300px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.btn_gravar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 1rem;
    background: linear-gradient(90deg, #1cb05d, #0b8f4a);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    justify-content: center;
    cursor: pointer;
    height: 40px;
    box-sizing: border-box;
}

.roteiro_conteudo {
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    margin-bottom: 0.5rem;
    position: relative;
}

.roteiro_pagina {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.roteiro_pagina.ativo {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roteiro_navegacao {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn_roteiro {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn_roteiro:hover {
    background: #ddd;
}

#roteiroStatus {
    font-size: 14px;
    color: #555;
}

.audio_base {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 6px;
}
.container_conteudo_publicado {
    min-height: calc(100vh - 136.23px);
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 1rem;
    max-width: 450px;
    margin: auto;
    padding: 1rem;
}

.card_conteudo_publicado {
    width: 100%;
    padding: 0.5rem;
    background-color: white;
    border-radius: 10px;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    box-shadow: var(--sombra_card);
}

.publicacao {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.autor_publicacao {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    cursor: pointer;
}

.autor_publicacao img {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 1px solid #ddd;
}

.autor_info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.autor_info span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.autor_info span:first-child {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.autor_info span:last-child {
    font-size: 14px;
    color: #666;
}

.video_publicado,
.audio_publicado {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.acoes_publicacao {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #444;
}

.acoes_publicacao div {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.comentario {
    display: flex;
    gap: 0.5rem;
}

.comentario img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.comentario_conteudo {
    background: #f8f8f8;
    padding: 0.5rem 0.5rem;
    border-radius: 8px;
    flex: 1;
    border: 1px solid #ddd;
}

.comentario_conteudo span:first-child {
    font-weight: 600;
    font-size: 14px;
}

.comentario_conteudo p {
    margin: 0.25rem 0 0;
    font-size: 14px;
    color: #333;
}

.div_row_conteudo_publicado {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 1px solid #00000042;
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid #ddd;
}

.card_header_publicacao {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card_conteudo_publicado {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comentarios {
    width: 100%;
    padding: 0.5rem;
    border-radius: 8px;
    box-sizing: border-box;
    flex-direction: column;
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    max-height: 360px;
    overflow: auto;
    scrollbar-width: none;
}
/* Lista da tela Alertas: cartões em coluna, separados */
#cards_alertas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card_alerta {
    width: 100%;
    padding: 0.75rem;
    background-color: white;
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    box-shadow: var(--sombra_card);
}

.data_alerta {
    font-size: 14px;
    color: #8f8f90;
    align-self: flex-end;
    margin-top: 0.5rem;
}

/* Alerta com destino (post, vídeo, comunicado...): o card inteiro abre ao tocar. */
.card_alerta[data-tipo]:not([data-tipo='painel']) {
    cursor: pointer;
    transition: transform 0.12s ease;
}

.card_alerta[data-tipo]:not([data-tipo='painel']):active {
    transform: scale(0.98);
}

/*
 * Alertas novos (não lidos até abrir a tela), destaque sutil como nas redes sociais: fundo azul bem claro,
 * borda fina no mesmo tom e um ponto azul no canto, alinhado ao título. Sem faixa lateral.
 */
.card_alerta.nao_lido {
    position: relative;
    background-color: #f3f8fd;
    box-shadow: inset 0 0 0 1px #d6e8f5, var(--sombra_card);
}

.card_alerta.nao_lido::after {
    content: '';
    position: absolute;
    top: 1.125rem;
    right: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3792cd;
    box-shadow: 0 0 0 3px rgba(55, 146, 205, 0.15);
}

.card_alerta.nao_lido .titulo_alerta {
    padding-right: 1.25rem;
}

.card_alerta.nao_lido .data_alerta {
    color: #3792cd;
    font-weight: 500;
}

.titulo_alerta {
    font-weight: 600;
    color: #3792cd;
    margin-bottom: 0.25rem;
}

.div_conteudo_alerta {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.descricao_alerta {
    font-size: 14px;
}

.container_carregar_mais {
    display: none;
    text-align: center;
    background-color: white;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.container_carregar_mais button {
    font-size: 14px;
    color: #0077b5;
    background-color: white;
}

.mensagem_vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background-color: white;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: var(--sombra_card);
    border-radius: 8px;
    padding: 0.75rem 0.75rem;
    text-align: center;
    min-width: 0;
    font-size: 14px;
}

button.bloqueado {
    opacity: 60%;
    cursor: not-allowed;
    pointer-events: none;
}

.container_conteudo {
    min-height: calc(100dvh - 100px);
}

#div_limites {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.75rem;
}

#div_limites #contagem_creditos {
    flex-basis: 100%;
}

.limites_disponiveis {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    background: white;
    border-radius: 12px;
    padding: 0.75rem 0.75rem;
    box-shadow: var(--sombra_card);
    text-align: center;
    min-width: 0;
}

.limites_disponiveis .icone_limite {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: white;
    font-size: 14px;
}
.limites_disponiveis .icone_limite i {
    color: #fff;
}

.limites_disponiveis .titulo_limite {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    line-height: 1.3;
}

.qtd_disponivel {
    color: #0078ff;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
}

.qtd_disponivel.zerado {
    color: #e74c3c;
}

.painel_prompt {
    margin-top: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.campo label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.campo input,
.campo select,
.campo textarea {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 14px;
}

.campo input,
.campo select {
    height: 38px;
}

.campo textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    resize: vertical;
    font-family: inherit;
}

.campo input[type='color'] {
    padding: 4px;
    cursor: pointer;
}

.campo input[type='range'] {
    padding: 0;
    cursor: pointer;
}

.campo_textarea {
    grid-column: 1 / -1;
}

.campo_cores {
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.valor_campo {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.btn_resetar {
    height: 40px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #0081ff;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .painel_prompt {
        grid-template-columns: 1fr;
    }

    .campo_cores {
        align-items: flex-start;
        flex-direction: column;
    }
}

.paginacao_indisponivel {
    text-align: center;
    margin-top: 0rem;
    font-weight: 600;
    opacity: 70%;
}
.status_conteudo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: fit-content;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    color: #4b5563;
    background-color: #f3f4f6;
}

.status_conteudo::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status_conteudo.status_publicado,
.status_conteudo.status_biblioteca_2 {
    color: #15803d;
    background-color: #dcfce7;
}

.status_conteudo.status_biblioteca_1 {
    color: #b45309;
    background-color: #fef3c7;
}

.status_conteudo.status_biblioteca_3 {
    color: #b91c1c;
    background-color: #fee2e2;
}

.status_data_meu_conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.selo_desconto {
    margin-left: 2px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #fff;
    color: #0078ff;
    font-size: 12px;
    font-weight: 600;
}
.estado_vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    margin: 0.5rem 0;
    padding: 1.75rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--sombra_card);
    text-align: center;
}

.estado_vazio_icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 0.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #e8f2ff;
    color: #0081ff;
    font-size: 20px;
}

.estado_vazio_titulo {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.estado_vazio_texto {
    max-width: 300px;
    font-size: 14px;
    line-height: 1.45;
    color: #6b7280;
}

.estado_vazio_botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0 1.25rem;
    border-radius: 8px;
    background: linear-gradient(90deg, #3ab4f2, #0078ff);
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    height: 40px;
    box-sizing: border-box;
}
.btn_logout_perfil {
    background: #fff;
    color: #333;
    border: 1px solid #d1d5db;
    height: 40px;
    box-sizing: border-box;
}

.btn_logout_perfil i,
.btn_excluir_perfil i {
    margin-right: 0.25rem;
}

/* Só o 0.5rem de margem entre título, texto e botão (sem gap somando). */
.card_sessoes.danger-zone {
    gap: 0;
    border: none;
    background: #fff;
}
.card_sessoes.danger-zone p {
    margin: 0 0 0.5rem;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.btn_excluir_perfil {
    background: #dc2626;
    color: #fff;
    border: none;
    font-weight: 500;
    height: 40px;
    box-sizing: border-box;
}
.estado_carregando {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1rem;
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    animation: vox_aparecer 0.2s ease;
}

.estado_carregando_circulo {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border: 3px solid #e8f2ff;
    border-top-color: #0081ff;
    border-radius: 50%;
    animation: vox_girar 0.8s linear infinite;
}

.vox_ocupado {
    pointer-events: none !important;
    cursor: progress !important;
    opacity: 0.6;
}

.vox_ocupado.vox_ocupado_texto::after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 8px;
    box-sizing: border-box;
    vertical-align: -2px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: vox_girar 0.7s linear infinite;
}

@keyframes vox_girar {
    to {
        transform: rotate(360deg);
    }
}

@keyframes vox_aparecer {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.aguardando_dados > :not(.cabecalho_detalhes):not(.estado_carregando) {
    display: none !important;
}

.aguardando_dados > .estado_carregando {
    padding-top: 4rem;
}

.carregando_detalhes {
    display: none;
}

.aguardando_dados > .carregando_detalhes {
    display: flex;
}
body.teclado_aberto footer,
body.teclado_aberto .btn_add_conteudo {
    display: none !important;
}
.btn_voltar {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: #111827;
    font-size: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.btn_voltar::before {
    content: '';
    position: absolute;
    inset: -5px;
}

.btn_voltar:active {
    background: #f3f4f6;
}
