.custom-toolbar {
  --color: #fff;
  --background: linear-gradient(to right, #c0373b 0%, #650e12 100%);
}

.white-icon {
  --color: white;
}

ion-menu .principal {
  width: 70px;
}

ion-menu .menu .caminhos {
  padding: 5px;
  font-size: 1.2rem;
  color: #6a6666;
  font-family: sans-serif;
}

ion-menu .menu .caminhos.inativo {
  color: #b0b0b0;
}

ion-menu .menu .caminhos img {
  width: 20px;
  margin-right: 10px;
}

#loading {
  background: #fffbf5;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  position: fixed;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  /* Inicialmente escondido */
  transform: translateY(100%);
  /* Inicialmente fora da tela */
  transition: opacity 0.5s, transform 0.5s;
  /* Suavizar transições */
}

#loading img {
  width: 25%;
}

#loading.show {
  animation: slideInUp 0.5s forwards;
}

#loading.hide {
  animation: slideOutDown 0.5s forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

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

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.btn-principal {
  background-image: linear-gradient(to right, #c5401d 0%, #661d0f 51%, #c5401d 100%);
  padding: 15px 45px;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 20px;
  display: block;
  width: 100%;
  font-weight: 500;
}

.btn-sorteio {
  background-image: linear-gradient(to right, #c5401d 0%, #661d0f 51%, #c5401d 100%);
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  color: white;
  box-shadow: 0 0 20px #eee;
  border-radius: 50%;
  display: block;
  font-weight: 500;
  height: 130px;
  width: 130px;
  display: inline-block;
}

.back-navgation {
  color: #6e2010;
}

/* ================================= */
/* ============= Login =============  */
/* =================================  */

.login header {
  position: relative;
}

.login header img.bg_login {
  width: 100%;
  height: 230px;
}

.login header .logo {
  position: absolute;
  top: 70px;
  width: 100%;
  text-align: center;
}

.login header .logo img {
  width: 230px;
}

.login .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.login .form label {
  width: 100%;
  color: #959595;
  font-weight: 500;
  font-size: .9rem;
}

.login .form input {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 20px;
  height: 40px;
  border: 2px solid #c8c8c8;
  background: #f6f6f6;
  padding: 0 15px;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
}

.login .form input::placeholder {
  color: #646464;
  font-weight: 500;
  font-size: 13px;
}

.login .form .visualizar {
  position: absolute;
  top: 30px;
  right: 10px;
}

.login .form .visualizar img {
  width: 30px;
}

.login p {
  color: #646464;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 5px;
}

.login .outra-conta img {
  width: 40px;
  margin-right: 10px;
}

.btn-cadastro {
  padding: 15px 45px;
  text-align: center;
  transition: 0.5s;
  background-size: 200% auto;
  box-shadow: 0 0 20px #eee;
  border-radius: 20px;
  display: block;
  width: 100%;
  font-weight: 500;
  border: 2px solid #c4401d;
  color: #c4401d;
  background: #fff;
}

/* ================================= */
/* ============= Cadastro =============  */
/* =================================  */

.cadastro header {
  position: relative;
}

.cadastro header img.bg_cadastro {
  width: 100%;
  height: 160px;
}

.cadastro header .logo {
  position: absolute;
  top: 60px;
  width: 100%;
  text-align: center;
}

.cadastro header .logo img {
  width: 260px;
}

.cadastro .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.cadastro .form label {
  width: 100%;
  color: #979797;
  font-weight: 500;
  font-size: .9rem;
}

.cadastro .form input input:focus-visible {
  border: none;
}

.cadastro .form input,
.cadastro .form select {
  width: 100%;
  margin-bottom: 10px;
  height: 40px;
  border: none;
  border-bottom: 2px solid #959595;
  background: #f9f9f9;
  padding: 0 15px;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
  outline: none;
  border-radius: 0px;
}

.cadastro .form small {
  color: #646464;
  font-size: .8rem;
}

.cadastro .form textarea {
  width: 100%;
  margin-bottom: 10px;
  border: 2px solid #959595;
  background: #f9f9f9;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
}

.interesses header {
  position: relative;
}

.interesses header img.bg_interesses {
  width: 100%;
  height: 160px;
}

.interesses header .area-foto {
  position: absolute;
  top: 60px;
  width: 100%;
  text-align: center;
}

.interesses header .area-foto .foto {
  width: 150px;
  height: 150px;
  background: #fff;
  text-align: center;
  margin: 0 auto;
  border-radius: 50%;
}

.interesses header .area-interna-foto {
  position: absolute;
  top: 70px;
  width: 100%;
  text-align: center;
}

.interesses header .area-interna-foto .entorno,
.interesses header .area-interna-foto .usuario img {
  width: 130px;
  height: 130px;
  background: #ccc;
  text-align: center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-radius: 50%;
  align-items: center;
  object-fit: cover;
}


.interesses header .area-interna-foto .entorno img {
  width: 65%;
}

.interesses header .alterar-foto {
  position: absolute;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  padding-left: 105px;
}

.interesses header .alterar-foto .abrir-imagem {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  padding: 2px;
  cursor: pointer;
}

.interesses header .alterar-foto .abrir-imagem img {
  width: 70%;
}

.interesses header .menu-button {
  position: absolute;
  top: 25%;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.interesses .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.interesses .frase {
  font-size: 1.3rem;
  margin-top: 14px;
  line-height: 25px;
  font-weight: 300;
}

.interesses .line {
  height: 1px;
  width: 100%;
  background: #d9d9d9;
}

.interesses .card-item {
  margin: 0px 0px;
  border: 1px solid #ececec;
  border-radius: 5px;
  padding: 22px 0px 6px;
  position: relative;
  cursor: pointer;
}

.interesses .card-item .icones {
  width: 50px;
}

.interesses .card-item h6 {
  color: #6e6767;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  font-family: system-ui;
}

.interesses .card-item .checked {
  position: absolute;
  height: 100%;
  background: #c23537db;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 5%;
  width: 100%;
}

.interesses .card-item .checked img {
  width: 32%;
}

/* ================================= */
/* ============= Internal =============  */
/* =================================  */

.internal .header {
  position: relative;
}

.internal .header .bg_internas_2 {
  width: 100%;
  height: 100px;
}

.internal .header .actions {
  width: 100%;
  position: absolute;
  display: flex;
  top: 52px;
  justify-content: space-between;
  padding: 0 15px;
}

.internal .header .actions.bate-papo {
  padding: 10px 0px;
}

.internal .header .actions img {
  width: 155px;
}

.internal .header .actions .buttons {
  display: flex;
  align-items: center;
  color: #fff;
}

.internal .header .actions .buttons ion-icon {
  width: 44px;
  font-size: 1.4rem;
}

.internal .footer .bg_menu {
  height: 100px;
  width: 100%;
  margin-top: -30px;
}

.internal .footer .navegacao {
  position: absolute;
  display: flex;
  justify-content: space-between;
  bottom: -10px;
  width: 100%;
  text-align: center;
  padding: 0px 20px;
}

.internal .footer .navegacao .icons {
  width: 25px;
}

.internal .footer .navegacao .icons.principal {
  width: 55px;
  margin-top: -25px;
}

.internal .footer .navegacao p {
  color: #fff;
  font-size: 0.8rem;
}

.perfil .navegacao {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-image: linear-gradient(to right, #c0373b 0%, #650e12 100%);
  color: #fff;
}

.perfil .navegacao p {
  font-size: 1.3rem;
  margin-top: 7px;
}

.perfil .navegacao img {
  width: 25px;
  height: 25px;
  margin: 0 5px;
}

.perfil .exploracao {
  display: flex;
  justify-content: space-around;
}

.perfil .exploracao div {
  width: 33%;
  text-align: center;
}

.perfil .exploracao div img {
  width: 30px;
}

.perfil .upload-arquivo {
  width: 100%;
}

.perfil .fotos .conteudo-foto {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  box-sizing: border-box;
}

.perfil .fotos .conteudo-foto .masonry {
  column-count: 4;
  column-gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.perfil .fotos .conteudo-foto .masonry .item {
  background-color: white;
  margin-bottom: 16px;
  display: inline-block;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.perfil .fotos .conteudo-foto .masonry .item img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .perfil .fotos .conteudo-foto .masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .perfil .fotos .conteudo-foto .masonry {
    column-count: 2;
  }
}


.perfil .conteudo-video .video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* Proporção 16:9 (9/16 = 0.5625) */
  height: 0;
  overflow: hidden;
  background: #000;
  margin-bottom: 16px;
}

.perfil .conteudo-video .video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.planos .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.planos .plano {
  background-color: #ba3f38;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 7px;
}

.planos .plano.atual {
  background-color: #464646;
}

.planos .plano .escolher-plano {
  padding: 5px;
  background: #6a1e1a;
  border-radius: 5px;
  font-weight: 500;
}

.chats .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.chats .pesquisa {
  position: relative
}

.chats .pesquisa input {
  width: 100%;
  background: #f2f2f2;
  border: none;
  color: #737373;
  padding: 2px 10px;
  padding-right: 30px;
}

.chats .pesquisa ion-icon {
  position: absolute;
  top: 20%;
  right: 2%;
}

.chats .navegacao {
  border: 1px solid #868585;
  background-color: #f2f2f2;
  border-radius: 5px;
  height: 27px;
}

.chats .navegacao .opcao {
  width: calc(100% / 2);
  text-align: center;
  align-content: center;
  transition: background-color 0.3s ease;
  border-right: 1px solid #ccc;
  position: relative;
}

.chats .navegacao .opcao.active {
  background-image: linear-gradient(90deg, #b92024 0%, #6a0f14 100%);
}

.chats .navegacao .opcao div {
  font-size: 0.7rem;
  color: #5e5e5e;
  font-weight: 500;
}

.chats .navegacao .opcao div.active {
  color: #fff;
}

.chats .grupo-salas {
  padding-bottom: 2.7rem;
}

.chats .salas {
  border-bottom: 1px solid #ccc;
}

.chats .regiao ion-avatar {
  width: 50px;
  height: 50px;
}

.chats .regiao .nome {
  color: #535353;
  font-weight: 500;
}

.chats .regiao .cidade {
  color: #999595;
  font-weight: 500;
  font-size: .7rem;
}

.chats .regiao ion-icon {
  font-size: 25px;
  color: #999595;
}

.chats .icon-eye {
  margin-right: 13px;
}

.cadastro-sala .form label {
  width: 100%;
  color: #979797;
  font-weight: 500;
  font-size: .9rem;
}

.cadastro-sala .form input input:focus-visible {
  border: none;
}

.cadastro-sala .form input[type="text"],
.cadastro-sala .form input[type="number"],
.cadastro-sala .form select.select-area {
  width: 100%;
  margin-bottom: 10px;
  height: 40px;
  border: none;
  border-bottom: 2px solid #959595;
  background: #f9f9f9;
  padding: 0 15px;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
  outline: none;
  border-radius: 0px;
}

.cadastro-sala .form small {
  color: #646464;
  font-size: .8rem;
}

.cadastro-sala .form textarea {
  width: 100%;
  margin-bottom: 10px;
  border: 2px solid #959595;
  background: #f9f9f9;
  color: #646464;
  font-weight: 500;
  font-size: 15px;
}

.bate-papos .topo {
  border-bottom: 1px solid #e9e9e9;
  padding: 5px 15px;
  margin-top: 1rem;
}

.bate-papos .topo .imagem {
  width: 30px;
  height: 30px;
  border-radius: 5px;
}

.bate-papos .topo .imagem-dados {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.bate-papos .topo .titulo {
  color: #5c5555;
  font-weight: 500;
}

.bate-papos .topo .todos-membros {
  margin-top: -8px;
}

.bate-papos .topo .usuarios {
  font-size: 13px;
}

.bate-papos .topo .usuarios.qtd {
  color: #7d7d7d;
  margin-left: 5px;
}

.bate-papos .topo .icon {
  width: 20px;
}


.bate-papos .topo .icon-add {
  width: 25px;
  height: 25px;
}

.bate-papos .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
  overflow: auto;
  height: calc(100vh - 12.8rem);
}

.bate-papos .mensagem {
  background-color: #fafafa;
  padding: 10px;
  border-radius: 7px;
}

.bate-papos .mensagem .imagem {
  border-radius: 50%;
  width: 50px;
  height: 40px;
}

.bate-papos .mensagem .status {
  position: absolute;
  background-color: green;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  top: 27px;
  right: 0px;
  border: 2px solid #fafafa;
}

.bate-papos .mensagem .conteudo .nome-usuario {
  color: #414141;
  font-weight: 500;
  font-size: .9rem;
}

.bate-papos .mensagem .conteudo .texto {
  color: #414141;
  font-size: .8rem;
}

/* .bate-papos .mensagem .conteudo .anexo-imagem {
  width: 250px;
} */

/* .bate-papos .mensagem .conteudo video {
  width: 120px;
} */

.bate-papos .mensagem .horario {
  color: #414141;
  font-size: .8rem;
}

.bate-papos .membros {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.bate-papos .membros .membro {
  background-color: #fafafa;
  padding: 10px;
  border-radius: 7px;
}

.bate-papos .membro .imagem {
  border-radius: 50%;
  width: 40px;
  height: 35px;
}

.bate-papos .membros .membro .status {
  position: absolute;
  background-color: green;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  top: 27px;
  right: 0px;
  border: 2px solid #fafafa;
}

.bate-papos .membros .membro .nome-usuario {
  color: #414141;
  font-weight: 500;
  font-size: .9rem;
}

.bate-papos .membros .membro .descritivo {
  color: #414141;
  font-size: .7rem;
  margin-left: 3px;
}

.bate-papos .membros .membro .icon {
  width: 22px;
}

.bate-papo-footer .anexos {
  background-color: #666;
  padding: 7px 15px;
  top: -58px;
  width: 90vw;
  /* Define a largura para ocupar 100% da viewport */
  left: 0;
  /* Posiciona o elemento no início da tela */
  color: #fff;
  border-radius: 5px;
}

.bate-papo-footer .anexos .icon {
  width: 25px;
}

.bate-papo-footer .anexos p {
  margin-bottom: 0px;
  font-size: .8rem;
}

.bate-papo-footer input {
  width: 80%;
  font-size: .8rem;
  border: none;
}

.convidar .main {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 30px;
}

.convidar img {
  width: 170px;
}

.convidar .texto {
  color: #5b5b5b;
}

.postagens .main {
  margin: 0 auto;
  max-width: 700px;
  padding-bottom: 40px;
}

.postagens .postagem {
  margin: 5px 20px;
}


.postagens .postagem .imagem {
  border-radius: 50%;
  width: 50px;
  height: 40px;
}

.postagens .postagem .nome-usuario {
  color: #414141;
  font-weight: 500;
  font-size: 1.1rem;
}

.postagens .postagem .conteudo .texto {
  color: #414141;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 18px;
}

.postagens .postagem .conteudo .anexo-imagem {
  width: 100%;
}

.postagens .postagem .conteudo textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px;
  border: none;
  resize: none;
  overflow: hidden;
  transition: height 0.2s ease;
}

.postagens .postagem .conteudo textarea:focus {
  outline: none;
}

.list-interesses {
  overflow: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.list-interesses::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari e Edge */
}

.image-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 10px;
}

.placeholder {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  animation: pulse 1.5s infinite;
}

.optimized-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-container {
  max-width: 100%;
  /* Limita a largura do contêiner */
  margin: 0 auto;
  /* Centraliza o vídeo horizontalmente */
}

.user-info ion-avatar {
  width: 40px;
  height: 40px;
}

ion-avatar img {
  object-fit: cover;
  border-radius: 50%;
}

video {
  max-width: 100%;
  /* Garante que o vídeo seja responsivo */
  height: auto;
  /* Mantém a proporção */
  display: block;
  /* Remove margens indesejadas */
}

.notification-container {
  position: relative;
  display: inline-block;
}

.notification-badge {
  position: absolute;
  top: 3px;
  right: 0px;
  background-color: red;
  color: white;
  font-size: 10px;
  border-radius: 50%;
  padding: 4px 6px;
  min-width: 20px;
  text-align: center;
}


.sorteio-container {
  text-align: center;
  padding: 20px;
}

.contador {
  font-size: 4rem;
  font-weight: bold;
  color: #d01f6d;
}

/* =============== Sorteio ============= */

.sorteado .foto {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #d01f6d;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* =============== Segment ============= */

.segment-container {
  display: flex;
  justify-content: space-around;
  background: #f4f4f4;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.segment-button {
  flex: 1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  border-radius: 8px;
}

.segment-button img {
  max-width: 40px;
  transition: transform 0.2s ease;
}

.segment-button:hover img {
  transform: scale(1.1);
}

.segment-button.active {
  background: #bf363a;
  border-radius: 8px;
}

.segment-button.active img {
  filter: brightness(0) invert(1);
  /* Deixa a imagem branca */
}


@keyframes pulse {
  0% {
    background-color: #e0e0e0;
  }

  50% {
    background-color: #f0f0f0;
  }

  100% {
    background-color: #e0e0e0;
  }
}