/* ===== RESET & BASE ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body {  overflow-x: hidden;
    position: relative;
   font-family:'Inter',sans-serif; background:#f0f2f5; color:#1a1a2e; min-height:100vh;  width: 100%;  }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
input,textarea,select { font-family:inherit; font-size:14px; border:1px solid #ddd; border-radius:10px; padding:12px 16px; width:100%; outline:none; transition:border .2s; }
input:focus,textarea:focus { border-color:#075E54; }

  
/* ===== VARIABLES ===== */
:root {
  --primary:#020525; --primary-light:#128C7E; --primary-dark:#054D44;
  --secondary:#25D366; --accent:#34B7F1;
  --bg:#f0f2f5; --card:#fff; --text:#1a1a2e; --text-muted:#65676b;
  --border:#e4e6eb; --shadow:0 2px 12px rgba(0,0,0,.08);
  --chat-outgoing:#dcf8c6; --chat-incoming:#fff;
  --header-bg:#075E54; --header-text:#fff;
  --radius:12px; --transition:all .3s ease;
}

/* ===== LAYOUT ===== */
#app { display:flex; min-height:100vh; }
.main-wrapper { flex:1; display:flex; flex-direction:column; min-height:100vh; width: 100%; }
.content { flex:1; overflow-y:auto; padding:16px; padding-bottom:80px; }
@media(min-width:769px) { .content { padding-bottom:16px; } }


/* Transição suave de conteúdo */
#content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Melhorar o clique visual */
.nav-link:active, .bnav-item:active {
    transform: scale(0.92);
}

/* Feedback de carregamento profissional */
.loading-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary);
}
/* ===== SIDEBAR (Desktop) ===== */
.sidebar { width:240px; background:var(--card); border-right:1px solid var(--border); display:flex; flex-direction:column; position:sticky; top:0; height:100vh; }
.sidebar-logo { display:flex; align-items:center; gap:12px; padding:10px; border-bottom:1px solid var(--border); }
.logo-icon { width: 60px; height:60px; border-radius:10px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; }
.logo-icon.large { width:60px; height:60px; font-size:28px; border-radius:16px; }
.logo-text { font-weight:700; font-size:18px; color:var(--text); }
.sidebar-nav { padding:12px 8px; display:flex; flex-direction:column; gap:4px; }
.nav-link { display:flex; align-items:center; gap:12px; padding:12px 16px; border-radius:var(--radius); font-size:14px; font-weight:500; color:var(--text-muted); transition:var(--transition); }
.nav-link:hover,.nav-link.active { background:var(--primary); color:#fff; }

/* ===== HEADER ===== */
.app-header { position:sticky; top:0; z-index:40; background:rgba(255,255,255,.9); 
  backdrop-filter:blur(12px); border-bottom:1px solid var(--border); display:flex; 
  align-items:center; justify-content:space-between; padding:12px 16px; width: 100%; }
.header-left { display:flex; align-items:center; gap:10px; }
.header-title { font-size:16px; font-weight:700; }
.header-welcome { font-size:14px; color:var(--text-muted); }
.header-actions { display:flex; gap:8px; }
.icon-btn { position:relative; padding:8px; border-radius:var(--radius); font-size:20px; transition:var(--transition); }
.icon-btn:hover { background:var(--bg); }
.badge { position:absolute; top:4px; right:4px; width:16px; height:16px; 
  border-radius:50%; background:#e74c3c; color:#fff; font-size:9px; display:flex; align-items:center; justify-content:center; font-weight:700; }

/* ===== BOTTOM NAV (Mobile) ===== */
.bottom-nav {width: 100%; display:none; position:fixed; bottom:0; left:0; right:0; 
  background:var(--card); border-top:1px solid var(--border); padding:8px 0; z-index:50; }
.bottom-nav .bnav-item { display:flex; flex-direction:column; align-items:center; gap:2px; 
  font-size:20px; flex:1; padding:6px 0; color:var(--text-muted); transition:var(--transition); }
.bottom-nav .bnav-item span { font-size:10px; font-weight:500; }
.bottom-nav .bnav-item.active { color:var(--primary); }

/* ===== RESPONSIVE ===== */
.mobile-only { display:none; }
.desktop-only { display:block; }
@media(max-width:768px) {
  .sidebar { display:none; }
  .bottom-nav { display:flex; }
  .mobile-only { display:flex; }
  .desktop-only { display:none;  }
}
/* ===== GRID DE POSTS ===== */
#posts-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  #posts-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  #posts-container {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* versoes css */
.update-banner {
    background: #5e071d; /* Sua cor principal */
    color: white;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid #020525;
    z-index: 9999;
    position: sticky;
    top: 0;
}

.update-content {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
}

.update-content p {
    font-size: 11px;
    margin: 0;
    opacity: 0.8;
}

.btn-update {
    background: #ffffff;
    color: #5e071d;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
}

/* ===== CARDS & POSTS ===== */
.post-card { background:var(--card); border-radius:var(--radius); border:1px solid var(--border); margin-bottom:16px; overflow:hidden; animation:fadeIn .4s ease; cursor: pointer;}
.post-header { display:flex; align-items:center; gap:12px; padding:16px; }
/* Força a imagem a se adaptar ao tamanho do círculo */
.avatar-img, .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cortar sem esticar */
    border-radius: 50%;
}

/* Ajuste específico para o selo de verificado não ficar gigante */
.author-name img {
    width: 18px !important; /* Tamanho do ícone de verificado */
    height: 18px !important;
    vertical-align: middle;
    margin-left: 5px;
}
.post-author { font-weight:600; font-size:14px; display: flex; align-items: center; gap: 10px; }
.post-time { font-size:12px; color:var(--text-muted); }
.post-content { padding:0 16px 16px; font-size:14px; line-height:1.6; }
.post-image { width:100%;   max-height: 400px; object-fit: cover; background:linear-gradient(135deg,var(--primary-light),var(--accent)); }
.post-actions { display:flex; border-top:1px solid var(--border); }
.post-action { flex:1; padding:12px; text-align:center; font-size:14px; color:var(--text-muted); transition:var(--transition); cursor:pointer; }
.post-action:hover { background:var(--bg); }
.post-action.liked { color:var(--primary); font-weight:600; }
/* Vídeo responsivo */
.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.post-video {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  cursor: pointer;
}




/* Modal de vídeo tipo Facebook */
.modal-overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.post-detail {
  background: var(--card);
  border-radius: 12px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-video, .modal-image {
  width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  object-fit: contain;
}

/* Botão de som */
.sound-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
}


.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th, .data-table td {
  padding: 8px 12px;
  text-align: center;
  border: 1px solid #ccc;
}

.data-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.resultados-container {
  margin-top: 16px;
}

.resultados-container p {
  margin: 4px 0;
  font-size: 14px;
}

.resultados-container hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 12px 0;
}

.exame {
  color: #0c5460;
  font-weight: bold;
}

.aprovado {
  color: #155724;
  font-weight: bold;
}

.reprovado {
  color: #721c24;
  font-weight: bold;
}


/* ===== SKELETON ===== */
.skeleton { background:linear-gradient(90deg,#eee 25%,#f5f5f5 50%,#eee 75%); background-size:200% 100%; animation:shimmer 1.5s infinite; border-radius:8px; }
.skeleton-avatar { width:40px; height:40px; border-radius:50%; }
.skeleton-text { height:14px; margin-bottom:8px; }
.skeleton-text.short { width:60%; }
.skeleton-text.long { width:90%; }
.skeleton-img { height:200px; width:100%; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes fadeIn { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.chat-container {
  display:flex;
  flex:1;
  height:100vh;
  overflow:hidden;
}

.chat-list {
  width:300px;
  border-right:1px solid var(--border);
  overflow-y:auto;
}

.chat-area {
  flex:1;
  display:flex;
  flex-direction:column;
  height:100%;
}

.chat-messages {
  flex:1;
  overflow-y:auto;
  padding:12px;
  background:#e5ddd5;
}

.chat-input-bar {
  display:flex;
  gap:8px;
  padding:8px;
  border-top:1px solid var(--border);
  background:var(--card);
}

.hidden-mobile { display:none; }
/* ===== CHAT ===== */
.chat-container { display:flex; height:calc(100vh - 130px); background:var(--card); border-radius:var(--radius); border:1px solid var(--border); overflow:hidden; }
@media(min-width:769px) { .chat-container { height:calc(100vh - 80px); margin:0; } }
.chat-list { width:100%; border-right:1px solid var(--border); display:flex; flex-direction:column; }
@media(min-width:769px) { .chat-list { width:300px; } }
.chat-list-header { padding:16px; background:var(--header-bg); color:var(--header-text); font-weight:700; font-size:18px; }
.chat-item { display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid var(--border); cursor:pointer; transition:var(--transition); }
.chat-item:hover { background:var(--bg); }
.chat-item-icon { width:48px; height:48px; border-radius:50%; background:rgba(7,94,84,.1); display:flex; align-items:center; justify-content:center; font-size:24px; }
.chat-item-info { flex:1; }
.chat-item-name { font-weight:600; font-size:14px; }
.chat-item-last { font-size:12px; color:var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-item-meta { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.chat-item-time { font-size:10px; color:var(--text-muted); }
.chat-unread { width:20px; height:20px; border-radius:50%; background:var(--primary); color:#fff; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; }










.chat-area { flex:1; display:flex; flex-direction:column; }
.chat-area-header { display:flex; align-items:center; gap:12px; padding:12px 16px; background:var(--header-bg); color:var(--header-text); }
.chat-back { font-size:20px; cursor:pointer; display:none; }
@media(max-width:768px) { .chat-back { display:block; } }
.chat-messages { flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:8px; background:#e5ddd5; }
.msg { max-width:75%; padding:8px 12px; border-radius:12px; box-shadow:0 1px 2px rgba(0,0,0,.1); position:relative; animation:fadeIn .3s ease; }
.msg.sent { align-self:flex-end; background:var(--chat-outgoing); border-bottom-right-radius:4px; }
.msg.received { align-self:flex-start; background:var(--chat-incoming); border-bottom-left-radius:4px; }
.msg-sender { font-size:11px; font-weight:600; color:var(--primary); margin-bottom:2px; }
.msg-text { font-size:14px; line-height:1.4; }
.msg-meta { display:flex; align-items:center; justify-content:flex-end; gap:4px; margin-top:4px; }
.msg-time { font-size:10px; color:var(--text-muted); }
.msg-status { font-size:12px; color:var(--text-muted); }
.msg-status.read { color:var(--accent); }

.chat-input-bar { display:flex; align-items:center; gap:8px; padding:10px 16px; border-top:1px solid var(--border); background:var(--card); }
.chat-input-bar input { flex:1; border-radius:20px; }
.chat-send { width:40px; height:40px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:18px; transition:var(--transition); }
.chat-send:hover { transform:scale(1.1); }
.chat-send:disabled { opacity:.4; }

/* Chat responsive states */
.chat-list.hidden-mobile { display:none; }
.chat-area.hidden-mobile { display:none; }
@media(min-width:769px) {
  .chat-list.hidden-mobile { display:flex; }
  .chat-area.hidden-mobile { display:flex; }
  .dados-tabs p{
  display: none;
}
}

/* ===== DADOS TABS ===== */
.dados-tabs { display:flex; gap:0; background:var(--card); border-radius:var(--radius); 
  border:1px solid var(--border); overflow:hidden; margin-bottom:16px; }
.dados-tab { flex:1; padding:12px; text-align:center; font-size:13px; font-weight:500; color:var(--text-muted); cursor:pointer; transition:var(--transition); border-bottom:2px solid transparent; }
.dados-tab.active { color:var(--primary); border-bottom-color:var(--primary); background:rgba(7,94,84,.05); }
.dados-content { background:var(--card); border-radius:var(--radius); border:1px solid var(--border); padding:20px; animation:fadeIn .3s ease; }



/* Card de Perfil */
.profile-card { background: rgba(255, 255, 255, 0); border-radius: 15px; padding: 20px; text-align: center; }
.profile-avatar { width: 80px; height: 80px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 10px; font-weight: bold; border: 4px solid #e4e6eb; }
.badge-estudante { background: #e7f3ff; color: #1877f2; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

.profile-details { margin-top: 20px; text-align: left; }
.info-item { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid #f0f2f5; }
.info-item i { color: var(--text-muted); width: 20px; }
.info-item span { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.info-item strong { color: var(--text); font-size: 14px; }

/* Tags de Status */
.status-tag { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: bold; text-transform: uppercase; }
.status-tag.pago, .status-tag.aprovado { background: #d4edda; color: #155724; }
.status-tag.pendente, .status-tag.reprovado { background: #f8d7da; color: #721c24;}
/* ===== TABLES ===== */
.table-container {
  width: 100%;
  overflow-x: auto;
}



/* CSS global para tabelas responsivas */
.data-table-wrapper {
  overflow-x: auto;        /* Scroll horizontal se necessário */
  width: 100%;             /* Ocupa toda largura do contêiner pai */
  -webkit-overflow-scrolling: touch; /* Scroll suave no mobile */
}

.data-table {
  width: 100%;             /* Tenta ocupar 100% do wrapper */
  min-width: 600px;        /* Evita que fique muito pequeno, ajusta conforme necessidade */
  border-collapse: collapse;
  table-layout: auto;      /* Ajusta largura das colunas automaticamente */
}

.data-table th,
.data-table td {
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;     /* Evita quebras de linha dentro da célula */
}

.data-table th {
  background-color: #f0f0f0;
}

.data-table td {
  background-color: #fff;
}

/* Opcional: Scroll estilizado */
.data-table-wrapper::-webkit-scrollbar {
  height: 8px;
}
.data-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}





/* Tags de Status para Notas */
.status-tag.reprovado {
    background: #ffebe9;
    color: #ff4d4d;
}

.status-tag.pago {
    background: #e7f3ff;
    color: #1877f2;
}

/* Ajuste de tabela para muitas notas */
.table-container {
    width: 100%;
    overflow-x: auto; /* Scroll APENAS aqui dentro */
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px; /* Garante que a tabela não "esprema" o texto */
}

.data-table th, .data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap; /* Evita quebra de linha nas células */
}

.data-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 12px;
}

/* Status Badges */
.status-tag, .status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}



.data-table { width:100%; 
  min-width: 550px; /* Largura mínima para os dados respirarem */
    border-collapse: collapse;
  border-collapse:collapse; font-size:14px; }
.data-table th { background:var(--bg); padding:12px; text-align:left; font-weight:600; font-size:12px; color:var(--text-muted); text-transform:uppercase; }
.data-table td { padding:12px; border-bottom:1px solid var(--border); }
.status-badge { padding:4px 10px; border-radius:20px; font-size:11px; font-weight:600; }
.status-badge.pago { background:#dcfce7; color:#166534; }
.status-badge.pendente { background:#fef3c7; color:#92400e; }
.status-badge.atrasado { background:#fecaca; color:#991b1b; }

/* ===== MODAL ===== */
.modal-overlay { position:fixed; inset:0; background: #f1f0f0; display:flex; align-items:center; justify-content:center; z-index:100; animation:fadeIn .2s ease; }
.modal-overlay.hidden { display:none; }
.modal { background:var(--card); border-radius:16px; padding:24px; width:90%; max-width:420px; box-shadow:var(--shadow); }
.modal h3 { margin-bottom:12px; font-size:18px; }
.modal textarea { resize:none; }
.modal-actions { display:flex; gap:8px; margin-top:12px; justify-content:flex-end; }

/* ===== LOGIN ===== */
.login-modal { text-align:center; }
.login-header { margin-bottom:24px; }
.login-header h2 { margin-top:12px; font-size:22px; }
.login-header p { color:var(--text-muted); font-size:14px; margin-top:4px; }
.login-modal form { display:flex; flex-direction:column; gap:12px; }
.login-register { margin-top:16px; font-size:13px; color:var(--text-muted); }
.login-register a { color:var(--primary); font-weight:600; }

#error, #login-error {
  color: red;
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

.shake {
  animation: shake 0.5s;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.splash {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#075E54;
  display:none;
  justify-content:center;
  align-items:center;
  color:white;
  z-index:9999;
}

/* ===== BUTTONS ===== */
.btn-primary { background:var(--primary); color:#fff; padding:12px 24px; border-radius:var(--radius); font-weight:600; font-size:14px; transition:var(--transition); border:none; width:100%; }
.btn-primary:hover { background:var(--primary-dark); }
.btn-secondary { background:var(--bg); color:var(--text); padding:10px 20px; border-radius:var(--radius); font-weight:500; font-size:14px; border:1px solid var(--border); }

/* ===== TOAST ===== */
.toast { position:fixed; bottom:100px; left:50%; transform:translateX(-50%); background:var(--text); color:#fff; padding:12px 24px; border-radius:var(--radius); font-size:14px; z-index:200; animation:fadeIn .3s ease; }
.toast.hidden { display:none; }
@media(min-width:769px) { .toast { bottom:30px; } }

/* ===== INFO CARDS ===== */
.info-grid { display:grid; gap:12px; }
.info-item { display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border); }
.info-label { font-size:13px; color:var(--text-muted); }
.info-value { font-size:14px; font-weight:500; }

/* ===== HORARIO ===== */
.schedule-grid { display:grid; gap:8px; }
.schedule-day { background:var(--bg); padding:12px; border-radius:8px; }
.schedule-day h4 { font-size:13px; color:var(--primary); margin-bottom:8px; }
.schedule-class { display:flex; justify-content:space-between; padding:6px 0; font-size:13px; border-bottom:1px solid var(--border); }
.schedule-class:last-child { border:none; }

/* Create post */
.create-post { background:var(--card); border-radius:var(--radius); border:1px solid var(--border); padding:16px; display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.create-post-input { flex:1; background:var(--bg); border-radius:20px; padding:10px 16px; font-size:14px; color:var(--text-muted); cursor:pointer; border:none; }
.create-post-input:hover { background:#e4e6eb; }

/* Post detail modal */
.post-detail { max-height:80vh; overflow-y:auto; }
.post-detail .post-header { padding:0 0 12px; }
.post-detail .post-content { padding:0 0 16px; font-size:15px; }
.post-detail .comments-section { border-top:1px solid var(--border); padding-top:16px; }
.comment-item { display:flex; gap:10px; padding:8px 0; }
.comment-avatar { width:32px; height:32px; border-radius:50%; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; }
.comment-body { background:var(--bg); padding:8px 12px; border-radius:12px; font-size:13px; }
.comment-body strong { font-size:12px; }



/* Animação de entrada para mensagens e posts */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-slide-up {
  animation: slideUp 0.4s ease-out forwards;
}

/* Feedback visual ao clicar em botões */
button:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}

/* Efeito de carregamento (Loader) */
.loader {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Esconder Header na Tela de Chat (Regra Solicitada) */
body.chat-active .sidebar, 
body.chat-active header {
  display: none !important;
}













/* Cards do Feed */
.create-post-card {
  background: white;
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.user-info { display: flex; gap: 10px; }
.avatar-circle {
  width: 45px; height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  font-weight: bold;
}

textarea#post-input {
  border: none;
  background: #f0f2f5;
  resize: none;
  border-radius: 20px;
  padding: 12px 18px;
}

/* Tabs */
/* .tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  background: rgb(160, 9, 9);
  padding: 10px;
  border-radius: 12px;
}
.tabs-nav
.tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
} */



/* Status Tags */
.status-tag.pago { background: #d4edda; color: #155724; padding: 4px 8px; border-radius: 4px; }
.status-tag.pendente { background: #fff3cd; color: #856404; padding: 4px 8px; border-radius: 4px; }


.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}


/* Estilo Facebook */
.post-actions-fb {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 4px;
}
.action-btn {
  flex: 1;
  padding: 8px;
  color: var(--text-muted);
  font-weight: 600;
  transition: 0.2s;
  border-radius: 4px;
}
.action-btn:hover { background: #f2f2f2; }

.comment-bubble {
  background: #f0f2f5;
  padding: 8px 12px;
  border-radius: 18px;
  margin-left: 8px;
  font-size: 13px;
}

.verified-badge { color: #1877f2; font-size: 13px; margin-left: 4px; }

.modal-comment-input {
  padding: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
}




/* Card Clicável */
.post-click-area {
    cursor: pointer;
    padding-bottom: 5px;
}

/* Botões de Ação lado a lado */
.post-actions-fb {
    display: flex;
    border-top: 1px solid #e4e6eb;
    margin: 0 12px;
    padding: 4px 0;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    color: #65676b;
    font-weight: 600;
    border-radius: 4px;
}

.action-btn:hover {
    background: #f2f2f2;
}

.action-btn i {
    font-size: 18px;
}

.action-btn.liked {
    color: #1877f2;
}

/* Modal de Detalhes */
.post-detail-modal {
    background: white;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.modal-header { padding: 15px; border-bottom: 1px solid #ddd; display: flex; justify-content: space-between; }
.modal-body { padding: 15px; max-height: 400px; overflow-y: auto; }
.modal-footer { padding: 10px; border-top: 1px solid #ddd; display: flex; gap: 10px; }

.comment { background: #f0f2f5; padding: 8px 12px; border-radius: 15px; margin-bottom: 8px; font-size: 13px; }

.modal-facebook-view {
    background: white;
    width: 95%;
    max-width: 550px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-fb-header {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.modal-fb-header button {
    position: absolute;
    right: 15px;
    top: 10px;
    background: #e4e6eb;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
}

.modal-fb-body {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}

.fb-comment {
    background: #f0f2f5;
    padding: 8px 12px;
    border-radius: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    width: fit-content;
    max-width: 90%;
}

.modal-fb-footer {
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

.modal-fb-footer input {
    flex-grow: 1;
    background: #f0f2f5;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
}

.fb-divider {
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}