body {
    background-color: var(--bs-success-bg-subtle) !important;
    font-family: 'montserrat' !important;
    background-image: url('../uploads/campo.jpg');
    background-position: center;
    /* centraliza */
    background-repeat: no-repeat;
    /* evita repetição */
    background-size: cover;
    /* ajusta proporcionalmente sem distorcer */
}

.content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 50px;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.em-linha-horizontal {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
}

.em-linha-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.logo-ong {
    border: 1px solid #bfc6f9;
    padding: 0 10px;
    border-radius: 30px;
    background: radial-gradient(#bfc6f9, #ffffff, #495fff 114%);
    box-shadow: 0px 0px 5px 1px #495fff;
    text-shadow: 3px -3px 4px green;
}

.left-button {
    background: linear-gradient(90deg, black, transparent) !important;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.right-button {
    background: linear-gradient(270deg, black, transparent) !important;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.card-carousel {
    max-height: 420px;
    max-width: 70%;
    margin: 0 15%;
}

.inner-carousel {
    max-height: 420px;
}

#documento {
    padding-top: 4rem;
}

#footer {
    background: linear-gradient(to bottom, transparent, white 15%);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.nav-item {
    display: inline-block;
}

.nav-link {
    position: relative;
    color: #222;
    text-decoration: none;
    padding-bottom: 5px;
    transition: color 0.3s ease;
    box-sizing: border-box;
}

/* Cria a borda invisível para não deslocar o item */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #28a745;
    /* verde */
    transition: width 0.3s ease;
}

.xl {
    font-size: 10rem !important;
}

/* Efeito ao passar o mouse */
.nav-link:hover::after {
    width: 100%;
}

/* Opcional: muda a cor do texto */
.nav-link:hover {
    color: #28a745;
}

/* Borda azul para item ativo */
.nav-item.active .nav-link::after {
    width: 100%;
    background-color: #007bff;
    /* azul */
}

#filhos_info{

}

/* nuvem de fala info*/
.mensagem-nuvem-info {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    min-width: 350px;
    font-size: 1rem;
    color: #333;
    position: fixed;
    animation: aparecer 1.5s ease forwards, desaparecer 1s ease 6s forwards;
}

/* seta apontando para o botão */
.mensagem-nuvem-info::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 19%;
    transform: translateX(-50%);
    border-width: 15px 15px 0 15px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* nuvem de fala */
.mensagem-nuvem {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    min-width: 350px;
    font-size: 1rem;
    color: #333;
    position: fixed;
    animation: aparecer 1.5s ease forwards, desaparecer 1s ease 6s forwards;
    bottom: 5.5rem;
    left: 1rem;
}

/* seta apontando para o botão */
.mensagem-nuvem::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 19%;
    transform: translateX(-50%);
    border-width: 15px 15px 0 15px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* animação de entrada da nuvem */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* animação de saída (desaparecer) */
@keyframes desaparecer {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
        visibility: hidden;
    }
}

.doar {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--bs-primary);
    color: var(--bs-body-bg);
    border-radius: var(--bs-border-radius-xxl);
    padding: 10px 10px;
    box-shadow: var(--bs-box-shadow);
    border: var(--bs-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff4081, #ff6f00);
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 12px 32px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 15px rgba(255, 111, 0, 0.4);
    transition: transform 0.2s ease-in-out;
    animation: pulsar 1.8s infinite ease-in-out;
}

/* ícone com leve animação de vai e vem */
.doar i {
    animation: moverIcone 1.2s infinite ease-in-out;
}

@keyframes pulsar {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 111, 0, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 111, 0, 0.6);
        transform: scale(1.05);
    }
}

@keyframes moverIcone {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* pausa animação quando o mouse passa */
.doar:hover {
    animation-play-state: paused;
}

.doar:hover i {
    animation-play-state: paused;
    transform: scale(1.2);
}

.ball {
    width: 45px;
    height: 45px;
    margin-top: -5px;
    margin-right: -2px;
}

.pass-visibility {
    width: auto !important;
    float: right !important;
    margin-right: .75rem !important;
    position: relative !important;
    margin-left: auto !important;
    margin-top: -54px !important;
    margin-bottom: 17px !important;
}

.left {
    float: left;
}

.right {
    float: right;
}

.mr-5 {
    margin-right: 5px;
}

.ml-5 {
    margin-left: 5px;
}

.center {
    float: none;
}

.video-card {
    width: min(min(100%, 100%));
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 12px;
}

video {
    width: 100%;
    height: auto;
    border-radius: 6px;
    outline: none;
    /* não remover foco acessível visualmente se quiser */
}

/* estilo para indicar foco (acessibilidade) */
.video-wrapper:focus-within {
    box-shadow: 0 0 0 4px rgba(80, 150, 255, 0.2);
    border-radius: 8px;
}

.controls-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #444;
}

.muted-note {
    color: #a33;
    font-size: 13px;
}

.logout-icon:hover {
    transition: all .5s;
    transform: rotate(-45deg);
}

.close-icon:hover {
    transition: all .5s;
    transform: rotate(360deg);
}

/* 🔹 Área do formulário */
form {
    text-align: center;
    margin-bottom: 20px;
}

input[type="file"] {
    display: none;
}

label[for="upload"] {
    background: #2196f3;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

label[for="upload"]:hover {
    background: #1976d2;
}

/* 🔹 Galeria principal */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
    padding: 10px;
    max-height: 60dvh;
    overflow-y: auto;
}

.foto {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.foto:hover {
    transform: scale(1.05);
    z-index: 2;
}

.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.foto:hover img {
    filter: brightness(90%);
}

/* 🔹 Modal (visualização em tela cheia) */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.grupo-mensal {
  margin-bottom: 40px;
}

.titulo-mes {
  font-size: 1.5em;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  border-left: 4px solid #2196F3;
  padding-left: 10px;
  border-bottom: 1px solid #2196f3;
}

.linha-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.foto-item img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.foto-item img:hover {
  transform: scale(1.05);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 🔹 Botão Fechar */
.fechar {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.fechar:hover {
    color: #00c853;
}