/*  Nome do Arquivo: app.css
    Descrição: Este arquivo contém os estilos principais do aplicativo ADMP.
    Autor: Abraão Junior
    Contato: abraao.junior@openk.com.br
    Versão: 2.0 */
:root {
    --swiper-theme-color: #fff;
    --f7-messagebar-inner-padding-left: 10px;
    --f7-messagebar-inner-padding-right: 10px;
    --f7-messagebar-font-size: 22px;
    --f7-messagebar-link-color: var(--f7-messagebar-theme-color);
}

a.color-primary {
    color: var(--f7-theme-color);
}

.text-primary {
    color: #007bff;
}

.text-secondary {
    color: #6c757d;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.text-warning {
    color: #ffc107;
}

.text-warning-dark {
    color: #957411;
}

.text-info {
    color: #17a2b8;
}

.text-light {
    color: #f8f9fa;
}

.text-dark {
    color: #343a40;
}

.text-muted {
    color: #6c757d;
}

.text-white {
    color: #ffffff;
}

.container-title-live {
    align-items: start !important;
    display: flex !important;
}

.card-v-container {
    width: 100%;
    padding: 10px 0;
}

#v-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 16px;
}

.v-card {
    background: #f9f3f2;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    width: 92%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.v-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
}

.v-date {
    font-size: 0.85rem;
    color: #888;
    margin: 0.5em 0;
    text-align: left;
}

.v-thumbnail {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.v-description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

.iframe-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #835500;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    gap: 6px;
    transition: background-color 0.3s ease;
}

.watch-video:hover {
    background-color: #926e1d;
}

.navbar .title.logo {
    border-radius: 10px;
    width: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

.style_panel_left {
    overflow-y: scroll !important;
    height: 76vh !important;
}

.page-content {
    overflow-y: scroll !important;
}

/*.list ul {*/
/*    height: auto !important;*/
/*    overflow-y: scroll !important;*/
/*}*/

.container-live {
    display: flex;
    justify-content: center;
    height: 160px;
}

.card-live {
    width: 300px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.card-live img {
    width: 100%;
    height: 163px;
    object-fit: cover;
}

.container-title-video {
    display: flex;
    justify-content: center;
    background: transparent;
    display: flex;
    justify-content: center;
}

.tittle-video {
    text-transform: uppercase;
    font-size: 17px;
    color: #835500;
}

.navbar .title img {
    height: 40px;
    max-width: 100%;
}

.navbar .right img {
    height: auto;
    max-width: 110px;
    margin-right: 10px;
}

.swiper-slide img {
    max-width: 100%;
}

.video-slide {
    width: 215px !important;
    margin-right: 12px !important;
}

.video-slide .wrapper {
    max-height: 100% !important;
}

.video-category {
    font-size: 20px;
    padding-left: 3px;
    margin-bottom: 10px;
    margin-top: 0;
    color: var(--f7-theme-color);
}

.video-card-title {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--f7-theme-color);
}

.modal-video-title {
    color: var(--f7-theme-color);
    text-align: left;
    padding: 0 10px;
}

.modal-video-description {
    margin: 10px;
    text-align: justify;
}

.toolbar-bottom.toolbar-main a.link {
    flex: 1;
    height: 50px;
    margin: 0 5px;
}

.toolbar-bottom.toolbar-main a.link:not(.tab-link-active) {
    color: var(--f7-theme-color);
}

.toolbar-bottom.toolbar-main a.link i {
    font-size: 22px;
}

.toolbar-bottom.toolbar-main .toolbar-inner .active {
    color: white !important;
    background-color: var(--f7-theme-color);
}

.text-muted {
    color: #6c757d;
    opacity: 0.6;
}

.panel .list .list-button.primary {
    text-align: left;
    display: flex;
}

.panel .list .list-button .icon {
    margin-right: 5px;
    width: 25px;
    display: block;
}

.panel .list .list-button i {
    font-size: 1em;
}

.login-screen .login-screen-close {
    position: absolute;
    right: 15px;
    top: 15px;
}

.toolbar.messagebar {
    bottom: var(--f7-messagebar-height);
    background: var(--f7-toolbar-bg-color, var(--f7-bars-bg-color));
}

.message:not(.message-last) .message-avatar {
    display: none;
}

.md .message-sent:not(.message-last) .message-avatar + .message-content {
    margin-right: 0;
}

.md .dialog-buttons-vertical.dialog-login .dialog-buttons {
    align-items: center;
}

.list input[type="date"],
.list input[type="datetime-local"],
.list input[type="email"],
.list input[type="month"],
.list input[type="number"],
.list input[type="password"],
.list input[type="search"],
.list input[type="tel"],
.list input[type="text"],
.list input[type="time"],
.list input[type="url"],
.list select {
    height: 40px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 2em;
}

.swiper-pagination-bullet {
    border: 1px solid rgba(255, 255, 255, 0.9);
}

.panel .profile {
    display: flex;
    flex-direction: row;
    font-size: 0.8em;
    gap: 10px;
}

.panel .profile img {
    border-radius: 50%;
    max-width: 100%;
    height: 50px;
}

#videos-section {
    margin-top: 20px;
}

.video-swiper {
    margin: 5px;
    margin-left: 10px;
}

.swiper .wrapper {
    width: 100%;
    height: 250px;
    background-position: center center;
    background-size: cover;
    box-sizing: border-box;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.swiper .overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    backdrop-filter: blur(1px);
}

.video-wrapper {
    position: relative;
}

.video-wrapper .fa-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 45px;
    color: white;
    z-index: 999;
    pointer-events: none;
}

.swiper .video-wrapper .overlay {
    border-radius: 8px;
    backdrop-filter: blur(0px);
}

.news-category {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    background: var(--f7-md-inverse-primary);
    max-width: 85px;
    padding: 2px 12px;
    text-align: center;
    border-radius: 6px;
    color: white;
}

.swiper .wrapper .title {
    font-size: 1.4em;
    line-height: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    padding: 5px 60px;
    margin-top: -20px;
}

.swiper .wrapper .subtitle {
    font-size: 0.8em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(2px);
    overflow: hidden;
    padding: 5px 60px;
}

.swiper .wrapper * {
    margin: 0;
}

.menu-cards {
    padding: 0.5em;
}

.menu-cards .grid.grid-gap {
    gap: 0.5em;
}

.menu-cards .button {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 1.2em 0;
    font-size: 1em;
    line-height: normal;
    gap: 0.5em;
    color: var(--f7-theme-color-shade);
    background: rgba(0, 0, 0, 0.05);
}

@media screen and (max-device-width: 400px) and (-webkit-min-device-pixel-ratio: 2) {
    .title_buttom {
        font-size: 12px !important;
    }
}

.title_buttom {
    text-transform: none;
}

.menu-cards .button i {
    font-size: 2.4em;
}

.demo-card-header-pic .card-header {
    height: 40vw;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.list.dividers li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gap-10 {
    gap: 10px;
}

.rounded {
    border-radius: 1em;
}

.panel .by {
    width: auto;
    height: 40px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    opacity: 0.3;
    transform: translateX(-50%);
}

.badge-warning {
    background-color: #e0aa07;
}

.badge-success {
    background-color: #28a745;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-info {
    background-color: #17a2b8;
}

.badge-secondary {
    background-color: #6c757d;
}

.badge-primary {
    background-color: #007bff;
}

.icons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    padding: 8px 0;
}

.category-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #835500;
    border-radius: 6px;
    padding: 8px;
    width: 20%;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-icon i {
    font-size: 18px;
}

.icon-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.icon-label {
    text-align: center;
    font-size: 11px;
    line-height: 1.2;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.selected-option::after {
    content: "▾";
    position: absolute;
    right: 14px;
}

.custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #fff !important;
    border-radius: 0 !important;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}

.custom-options li {
    padding: 10px 14px;
    cursor: pointer;
}

.custom-options li:hover {
    background-color: #f0f0f0;
}

.ios .list-outline-ios.inset,
.ios .list-outline-ios.inset-ios,
.list-outline.inset,
.md .list-outline-md.inset,
.md .list-outline-md.inset-md {
    border: none !important;
}

.block-outline:not(.inset):before,
.ios .block-outline-ios:not(.inset):not(.inset-ios):before,
.md .block-outline-md:not(.inset):not(.inset-md):before,
.block-outline:not(.inset):after,
.ios .block-outline-ios:not(.inset):not(.inset-ios):after,
.md .block-outline-md:not(.inset):not(.inset-md):after {
    background-color: transparent !important;
}

.segmented-strong .button {
    margin-left: 0 !important;
}

.segmented-strong .button.active {
    background-color: rgb(131, 85, 0);
    color: white;
}

.news-page-banner {
    max-width: 100%;
    margin-bottom: 20px;
}

.news-content > blockquote {
    margin: 10px;
}

.news-topo-container {
    position: relative;
    margin: 20px 0;
}

.like-button {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 22px;
}

.like-button i {
    font-size: 24px;
    transition: color 0.3s ease;
}

.like-button i.liked {
    color: var(--f7-theme-color);
}

.heart-unpop {
    animation: unpop 0.3s ease-in-out;
}

.heart-pop {
    animation: heartPop 0.3s ease;
}

@keyframes unpop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heartPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.chip-filter-container {
    display: flex;
    overflow-x: auto;
    padding: 8px;
    gap: 8px;
    scrollbar-width: none;
    /* Firefox */
    margin-top: 15px;
}

.chip-filter-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.chip {
    flex-shrink: 0;
    padding: 6px 16px;
    font-size: 14px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.chip.active {
    background: var(--f7-md-inverse-primary);
    color: white;
    font-weight: 500;
}

.church-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 160px;
    right: 50%;
    transform: translateX(50%);
    z-index: 10;
    width: 260px;
}

.profile-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.user-img {
    border-radius: 100%;
    border: 4px solid #fffbff;
}

.church-name {
    margin: 0;
    font-size: 22px;
    text-align: center;
    color: var(--f7-theme-color);
}

.pastor-name {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

.tab-link-highlight {
    bottom: 0 !important;
}

#hidden-menu-cards {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 700;
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 9px;
    padding: 10px;
    /* centraliza o elemento no centro da tela */
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#hidden-menu-cards.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

#hidden-menu-cards .menu-cards .button {
    background: grey;
}

.menu-cards-wrapper {
    position: relative;
}

#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* escurece o fundo */
    z-index: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

#menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#ebd_dashboard .card {
    margin: 0;
    padding: 20px;
    height: 60px;
}

#ebd_dashboard .card-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#modal-inserir-aluno {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 700;
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 9px;
    padding: 30px 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

#modal-inserir-aluno.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

#modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#modal-inserir-aluno .close_modal_button {
    background: transparent;
    border: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: auto;
    font-size: 20px;
}

#lista-alunos-nao-matriculados {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 5px;
}

.aluno-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: background 0.2s ease;
}

.aluno-nome {
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.aluno-idade {
    font-weight: 400;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.button-inserir {
    width: 30%;
    background-color: var(--f7-theme-color, #007bff);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.button-inserir:hover {
    background-color: #005dc5;
}

.curso-swiper {
    margin: 5px;
    margin-left: 10px;
}

.curso-swiper .swiper-pagination {
    display: none;
}

.curso-category {
    font-size: 20px;
    padding-left: 3px;
    margin-bottom: 10px;
    margin-top: 16px;
    color: var(--f7-theme-color);
}

.curso-card-title {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--f7-theme-color);
}

.curso-banner-stack {
    position: relative;
    width: 100%;
    height: 340px;
    margin-top: ;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

/* Camadas empilhadas atrás */
.banner-layer {
    position: absolute;
    width: 90%;
    height: 300px;
    background: #eaeaea;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
}

.layer1 {
    transform: rotate(2deg) translateY(45px) translateX(10px);
    z-index: 0;
    background: #f0f0f0;
}

.layer2 {
    transform: rotate(2deg) translateY(30px) translateX(8px);
    z-index: 1;
    background: #fcfcfc;
}


/* Imagem principal */
.banner-main {
    position: relative;
    width: 100%;
    height: 340px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 2;
    background-color: #666;
}

.banner-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.banner-title {
    position: absolute;
    bottom: 32px;
    left: 16px;
    right: 24px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.botao-curso {
    display: inline-flex;
    width: 100%;
    max-width: 340px;
    padding: 16px 0;
    font-size: 20px;
    height: 60px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--f7-theme-color));
    box-shadow: 0 6px 14px rgba(131, 85, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* 🌟 Hover: mais escuro, levanta e dá brilho */
.botao-curso:hover {
    background: linear-gradient(135deg, #ff682a, #ff682a);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 18px rgba(246, 184, 161, 0.55);
}

/* 🖱️ Clique: efeito de pressão */
.botao-curso:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 10px rgba(246, 184, 161, 0.4);
}

/* ✨ Efeito gradiente animado opcional (sutil) */
.botao-curso::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
            120deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
    );
    transition: all 0.6s ease;
}

.botao-curso:hover::before {
    left: 150%;
}