/* html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
} */
/* Garante que o body não tenha margens fantasmas */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

a {
  text-decoration-line: none;
  color: black;
}

.input {
  padding: 14px 18px;
  font-size: 1.1rem;
  border: 2px solid #111;
  border-radius: 28px;
  outline: none;
  margin-bottom: 0;
  background: #fff;
  color: #222;
}

.btn-cheio {
  padding: 14px 18px;
  width: 100%;
  background: #2196f3;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 25px;
  margin-top: 8px;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: none;
}

.btn-publicacao {
  justify-content: center;
  align-items: center;
  padding: 10px 10px;
  width: 100%;
  background: #2196f3;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  margin-top: 8px;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: none;
}

.btn-outline {
  width: 100%;
  padding: 14px 18px;
  background: #fff;
  color: #2196f3;
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid #2196f3;
  border-radius: 28px;
  margin-top: 8px;
  margin-bottom: 0;
  cursor: pointer;
  box-shadow: none;
}

.auth-link {
  background: none;
  border: none;
  color: #111;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
}

.auth-footer-link {
  color: #2196f3;
  text-decoration: none;
  font-size: .84rem;
  text-decoration: underline;
  font-weight: 500;
}

.copyright {
  width: 100%;
  text-align: center;
  color: #888;
  font-size: .78rem;
  margin-top: 8px;
}

.barra-vida {
  width: 100%;
  height: 30px;
  padding: 3px 3px 5px 3px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
}

.barra-titulo {
  width: 100%;
  height: 40px;
  padding: 5px 5px 5px 5px;
  background-color: #000;
  color: #fff;
  font-size: 10px;
  justify-content: center;
  align-items: center;
}

.barra-titulo-terra {
  width: 100%;
  height: 70px;
  padding: 6px 0px 5px 0px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  justify-content: center;
  align-items: center;
}




.barra-voltar {
  width: 100%;
  height: 40px;
  background-color: #fff;
  color: #000;
  font-size: 15px;
  display: flex;
  padding: 15px;
}

/* Área de posts com scroll e altura máxima */
.area-post {
  color: #222;
  margin: 10px 0px 20px 0px;
  /* overflow-y: auto;*/
}

/* Scrollbar personalizada 
.area-post::-webkit-scrollbar {
  width: 8px;
}

.area-post::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.area-post::-webkit-scrollbar-thumb {
  background: #2196f3;
  border-radius: 10px;
}

.area-post::-webkit-scrollbar-thumb:hover {
  background: #1976d2;
}*/

/* Adicionados estilos para posts - links clicáveis */
.post-title-link, .post-image-link, .post-text-link {
  position: relative !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.post-title-link:hover, .post-image-link:hover, .post-text-link:hover {
  opacity: 0.8;
}

/* Forçar que todos os links dentro de post-item sejam clicáveis */
.post-item a {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 9999 !important;
}

.post-item {
  background: #fff;
  /* border: 1px solid #dcdcdc;*/
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Adicionando estilos para avatar circular do usuário */
.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-avatar i {
  font-size: 1.5rem;
  color: #ffffff;
}

.author-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-details strong {
  font-size: 1rem;
  color: #222;
  line-height: 1.2;
}

.post-author strong {
  font-size: 1rem;
  color: #222;
}

.post-date {
  font-size: 0.85rem;
  color: #888;
  margin-top: 2px;
}

.post-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 10px 0;
}

.post-content {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin: 15px 0;
  word-wrap: break-word;
}

.post-media {
  margin: 15px 0;
  text-align: center;
}

.post-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-stats {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
  color: #666;
}

.post-stats i {
  margin-right: 5px;
  color: #2196f3;
}

.post-actions {
  display: flex;
  flex-direction: row;
  /* Mudado para row (lado a lado) ao invés de column */
  gap: 10px;
  margin-top: 10px;
  align-items: stretch;
}

/* Garantir que o form não quebre o layout */
.post-actions .like-form {
  flex: 1;
  display: flex;
}

.btn-action {
  flex: 1;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  transition: background 0.2s;
  /* Garantindo altura e alinhamento consistentes */
  min-height: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.btn-action:hover {
  background: #e0e0e0;
}

.btn-action i {
  margin-right: 5px;
}

.btn-like:hover i {
  color: #e91e63;
}

.btn-comment:hover i {
  color: #2196f3;
}

.post-comments-section {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.post-comments-section h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
}

.comment-item {
  background: #f8f8f8;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.comment-item strong {
  font-size: 0.9rem;
  color: #222;
}

.comment-date {
  font-size: 0.75rem;
  color: #888;
  margin-left: 8px;
}

.comment-item p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .post-item {
    padding: 0px;
    margin-bottom: 3px;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .post-content {
    font-size: 0.95rem;
  }

  .post-stats {
    flex-direction: column;
    gap: 3px;
  }

  .post-actions {
    flex-direction: row;
    /* Mantendo row no mobile também para botões ficarem lado a lado */
    gap: 3px;
  }
}

/* Botão de expandir/recolher post */
.btn-expand {
  background: none;
  border: none;
  color: #2196f3;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 5px 0;
  margin-top: 5px;
}

.btn-expand:hover {
  text-decoration: underline;
}

.menu-inferior {
  position: fixed !important;
  width: 100%;
  height: 35px;
  bottom: 0px;
  padding: 10px;
  background-color: #000;
  color: #fff;
  z-index: 90100;
}

.menu-inferior a {
  color: #fff;
}

.sidebar {
  position: relative;
  width: 110px !important;
  min-width: 100px !important;
  min-height: 100vh !important;
  background: #2196f3 !important;
  display: flex !important;
  flex-direction: column !important;
  /* Zere o padding da direita para o conteúdo azul encostar no fim da tela */
  padding: 3px 3px 3px 3px !important;
  margin: 0 !important;
  /* Garante que a borda preta fique na esquerda, dividindo do conteúdo */
  /* border-left: 2px solid #000; */
  z-index: 110 !important;
}

/* APENAS PARA CELULARES MUITO PEQUENOS (Ex: < 360px) */
@media (max-width: 360px) {
  .sidebar {
    /* Adiciona 2px de respiro na direita para não "sumir" a borda do botão */
    padding-right: 12px !important;
    padding-left: 3px !important;
  }
}



/* Centralização dos itens internos dentro do limite do padding */
.menu-lateral-contexto {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.menu-lateral-contexto a,
.menu-lateral-contexto span {
  width: 100% !important;
  text-align: center !important;
  margin-bottom: 3px !important;
}

/* Garante que a barra de rolagem do navegador seja a única visível */
body {
  overflow-y: auto !important;
}


/* Scrollbar da sidebar 
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}
*/
/* Responsividade para mobile */
@media (max-width: 768px) {
  .sidebar {
    /* width: 100px !important;
        min-width: 100px !important; */
    /* Adiciona 2px de respiro na direita para não "sumir" a borda do botão */
    padding-right: 11px !important;
    padding-left: 3px !important;
  }
}

.regiao-red {
  background: #950101;
  color: #fff;
  border: 2px solid #222;
  border-radius: 5px;
  width: 100%;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 0 2px;
  text-align: center;
  transition: background .2s;
  display: block;
}


.regiao-branco {
  background: #2196f3;
  color: #fff;
  border: 2px solid #222;
  border-radius: 5px;
  width: 100%;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 0 2px;
  text-align: center;
  transition: background .2s;
  display: block;
}

.regiao-preto {
  background: #2196f3;
  color: #222;
  border: 2px solid #222;
  border-radius: 5px;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 0 2px;
  transition: background .2s;
  display: block;
}

/* Links dos países devem herdar cor preta */
.regiao-preto a {
  color: #222;
}
/* Botão Flutuante Centralizado na Área de Conteúdo (80%) */
.btn-post {
    position: fixed !important;
    left: 40% !important; /* Metade da col-8 (80% / 2 = 40%) */
    transform: translateX(-50%) !important;
    bottom: 60px !important;
    background: #2196f3 !important;
    color: #fff !important;
    border: 2px solid #222 !important;
    border-radius: 12px !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    font-size: 1.8rem !important;
    box-shadow: 0 3px 8px #00000040 !important;
    z-index: 9999 !important;
    cursor: pointer;
}

/* Modal Alinhado com o Botão */
#modalMenuPostagem.modal.fade .modal-dialog {
    position: fixed !important;
    bottom: 120px !important;
    left: 40% !important; /* Alinha exatamente com o left do botão */
    transform: translateX(-50%) translateY(20px) !important; /* Centraliza o modal sobre o eixo do botão */
    margin: 0 !important;
    width: 320px !important;
    max-width: 85vw !important; /* Evita que o modal quebre em celulares muito pequenos */
    transition: transform 0.3s ease-out, opacity 0.3s !important;
}

#modalMenuPostagem.modal.show .modal-dialog {
    transform: translateX(-50%) translateY(0) !important;
}

/* Ajuste para telas muito pequenas (Mobile) */
@media (max-width: 576px) {
  #modalMenuPostagem .modal-dialog {
    right: 40% !important;
    bottom: 110px !important;
    width: 260px !important;
  }
}

#modalMenuPostagem {
    pointer-events: none; /* Permite clicar nos posts atrás do modal se ele estiver aberto */
}

#modalMenuPostagem .modal-content {
    pointer-events: auto; /* Garante que os botões dentro do modal funcionem */
}

.weather {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.weather-icon {
  font-size: 3rem;
}

.weather-temp {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}

.weather-desc {
  font-size: 0.9rem;
  color: #666;
}

.calendar,
.calendar_weekdays,
.calendar_content {
  max-width: 350px;
}

.calendar {
  font-weight: 400;
}

.calendar_content {
  background: #fff;
}

.calendar_weekdays {
  background: #1089ff;
}

.calendar_header {
  padding: 3px 0;
}

.calendar_content,
.calendar_weekdays,
.calendar_header {
  position: relative;
  overflow: hidden;
}

.calendar_weekdays div {
  display: inline-block;
  vertical-align: top;
  color: #fff !important;
}

.calendar_weekdays div,
.calendar_content div {
  width: 14.28571%;
  overflow: hidden;
  text-align: center;
  background-color: transparent;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: 5px 0;
}

.calendar_content div {
  border: 1px solid transparent;
  float: left;
  position: relative;
  z-index: 0;
}

.calendar_content div:hover {
  border: 1px solid #dcdcdc;
  cursor: default;
}

.calendar_content div.blank:hover {
  cursor: default;
  border: 1px solid transparent;
}

.calendar_content div.past-date {
  color: #000;
  font-weight: bold;
}

.calendar_content div.today {
  font-weight: bold;
  font-size: 16px;
  color: #fff !important;
}

.calendar_content div.today:after {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto;
  background: #1089ff;
  z-index: -1;
  -webkit-box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
  -moz-box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
  box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.48);
}

.calendar_content div.selected {
  background-color: #f0f0f0;
}

.calendar_header {
  width: 100%;
  text-align: center;
}

.calendar_header h2 {
  padding: 0 10px;
  font-weight: 500;
  font-size: 20px;
  color: #1089ff;
  float: left;
  width: 70%;
  margin: 0 0 10px;
}

button.switch-month {
  background-color: transparent;
  padding: 0;
  outline: none;
  border: none;
  color: #dcdcdc;
  float: left;
  width: 15%;
  -webkit-transition: color .2s;
  -o-transition: color .2s;
  transition: color .2s;
}

button.switch-month:hover {
  color: #1089ff;
}

/* Estilos para botão de editar no post */
.post-edit-btn {
  margin-left: auto;
}

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

/* Melhorias no modal */
.modal-content {
  border-radius: 10px;
}

.modal-header {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Estilos para botão de voltar no menu lateral */
.btn-voltar-menu {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #333;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background-color 0.3s;
}

.btn-voltar-menu:hover {
  background-color: #555;
  color: #fff;
  text-decoration: none;
}

.btn-voltar-menu i {
  margin-right: 5px;
}

.menu-lateral-contexto .active {
  background-color: #007bff !important;
  color: #fff !important;
  font-weight: bold;
}

/* Ajustes no menu contextual para duas camadas */
.menu-lateral-contexto .regiao-branco.active {
  background-color: #007bff !important;
  color: #fff !important;
  font-weight: bold;
  border-color: #007bff !important;
}

.menu-lateral-contexto .regiao-preto.active {
  background-color: #ffc107 !important;
  color: #000 !important;
  font-weight: bold;
  border-color: #000 !important;
}

.menu-lateral-contexto a {
  text-decoration: none;
  display: block;
}

/* Botão flutuante para voltar ao topo do menu lateral */
.btn-voltar-topo {
  position: fixed;
  bottom: 70px;
  right: 10px; /* Movido para mais à esquerda para não interferir nos posts */
  width: 45px;
  height: 45px;
  background-color: #ffc107;
  color: #000;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 150;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-voltar-topo:hover {
  background-color: #ffb300;
  transform: scale(1.1);
}

.btn-voltar-topo i {
  pointer-events: none;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .btn-voltar-topo {
    bottom: 60px;
    right: 10px; /* Também movido para esquerda no mobile */
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Melhorias de responsividade para telas de posts do usuário */

/* Estilos para localização do post */
.post-location {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

.post-location i {
  color: #2196f3;
  margin-right: 3px;
}

/* Responsividade para my-posts e edit */
@media (max-width: 768px) {
  .post-item {
    padding: 12px;
    margin-bottom: 15px;
  }

  .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .post-edit-btn {
    margin-left: 0;
    width: 100%;
  }

  .post-edit-btn .btn {
    width: 100%;
  }

  .post-edit-btn .btn-text {
    display: inline;
  }

  .post-title {
    font-size: 1.1rem;
  }

  .post-content {
    font-size: 0.95rem;
  }

  .post-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Ajustes nos formulários mobile */
  .post-edit-form,
  .profile-form {
    padding: 0 10px;
  }

  .form-group .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  .d-flex.gap-2 {
    flex-direction: column;
  }

  .current-image-container {
    text-align: center;
  }

  .current-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
  }
}

/* Desktop - imagem atual menor */
@media (min-width: 769px) {
  .current-image {
    max-width: 300px;
    max-height: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
  }
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #888;
}

.empty-state i {
  color: #ccc;
}

/* Melhorias no container principal mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .area-post {
    width: 100% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin: 0 auto !important;
  }

  /* Ajustes nos alertas */
  .alert {
    font-size: 0.9rem;
    padding: 10px;
  }

  /* Melhor legibilidade dos textos em mobile */
  .form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
  }

  .form-control {
    font-size: 1rem;
  }

  textarea.form-control {
    min-height: 150px;
  }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
  .barra-titulo h2 {
    font-size: 1.2rem;
  }

  .barra-titulo p {
    font-size: 12px;
  }

  .post-author strong {
    font-size: 0.9rem;
  }

  .post-date,
  .post-location {
    font-size: 0.75rem;
  }
}

/* Estilos modernos para tela de edição de posts */
.edit-post-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.styled-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group-styled {
  margin-bottom: 25px;
}

.form-label-styled {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.form-label-styled i {
  color: #667eea;
  margin-right: 8px;
}

.form-control-styled {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.form-control-styled:focus {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control-styled::placeholder {
  color: #999;
}

textarea.form-control-styled {
  resize: vertical;
  min-height: 150px;
}

.current-image-wrapper {
  text-align: center;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 10px;
  margin-top: 10px;
}

.current-image-styled {
  max-width: 100%;
  max-height: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-check-styled {
  padding: 15px;
  background: #fff3cd;
  border-radius: 10px;
  border-left: 4px solid #ffc107;
}

.form-check-styled .form-check-input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.form-check-styled .form-check-label {
  font-size: 0.95rem;
  color: #856404;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.form-check-styled .form-check-label i {
  margin-right: 5px;
}

.file-input {
  padding: 10px !important;
  background: white !important;
  cursor: pointer;
}

.form-text-styled {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* Aumentando espaçamento entre botões e adicionando padding ao container */
.form-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 35px;
  padding: 20px 0;
}

.btn-styled {
  padding: 14px 35px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  justify-content: center;
}

.btn-cancel {
  background: #6c757d;
  color: white;
}

.btn-cancel:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
  color: white;
}

.btn-save {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Estilos modernos para listagem de posts usando toda a tela */
.my-posts-container {
  width: 100%;
  padding: 20px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.my-posts-container::-webkit-scrollbar {
  width: 10px;
}

.my-posts-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* Dashboard Admin - Cards de estatísticas */
.stat-card {
  min-height: 140px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Botões ocupando toda largura do card em Ações Rápidas */
.card-body .btn {
  width: 100%;
  display: block;
}

/* Espaçamento entre botões de ações rápidas */
.card-body .btn+.btn {
  margin-top: 8px;
}

/* Estilo Base para Diferenciação de Cards */
.post-item {
  transition: transform 0.2s ease;
  border-radius: 12px !important;
  overflow: hidden;
}

/* 🎂 ANIVERSÁRIO: Estilo Festa/Alegre */
.card-tipo-aniversario {
  border-left: 8px solid #FF9800 !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff9f0 100%) !important;
}

.card-tipo-aniversario .badge-categoria {
  background: #FF9800;
  color: #fff;
}

/* ✨ NASCIMENTO: Estilo Suave/Bebê */
.card-tipo-nascimento {
  border-left: 8px solid #4FC3F7 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0faff 100%) !important;
}

.card-tipo-nascimento .badge-categoria {
  background: #4FC3F7;
  color: #000;
}

/* 💍 CASAMENTO: Estilo Elegante/Dourado */
.card-tipo-casamento {
  border-left: 8px solid #FFD700 !important;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf0 100%) !important;
}

.card-tipo-casamento .badge-categoria {
  background: #FFD700;
  color: #000;
}

/* 🕊️ FALECIMENTO: Estilo Respeitoso/Sóbrio */
.card-tipo-falecimento {
  border-left: 8px solid #78909C !important;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7f8 100%) !important;
}

.card-tipo-falecimento .badge-categoria {
  background: #78909C;
  color: #fff;
}

/* Badge de Identificação no Topo do Card */
.badge-categoria {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

/* Estilo unificado para os botões de ação do card */
.post-item .btn-visual-padrao {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #f0f2f5 !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  color: #555;
  transition: background 0.2s, color 0.2s;
}

.post-item .btn-visual-padrao i {
  font-size: 16px;
}

/* Estado de curtido deve ser global para não haver delay */
.post-item .btn-visual-padrao.curtido {
  color: #e0245e !important;
  background-color: #fde8f0 !important;
}