* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background-color: #fce7f3; color: #1e293b; padding-bottom: 30px; }

header { 
  background: linear-gradient(135deg, #ec4899, #db2777); 
  color: white; 
  padding: 12px 16px; 
  box-shadow: 0 3px 10px rgba(219, 39, 119, 0.25); 
}
.header-content {
  max-width: 650px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.site-brand-logo {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  border: 2px solid #fbcfe8;
}
.site-brand-logo svg { width: 26px; height: 26px; fill: #db2777; }
.brand-text h1 { font-size: 22px; font-weight: 800; line-height: 1.1; }
.brand-text p { font-size: 11.5px; opacity: 0.95; }

.container { max-width: 650px; margin: auto; padding: 12px; }

.search-box-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid #fbcfe8;
  font-size: 14px;
  outline: none;
  background: white;
  margin-bottom: 8px;
}
.search-box-input:focus { border-color: #ec4899; }

.btn-add-main { 
  width: 100%;
  background: #25D366; 
  color: white; 
  border: none; 
  padding: 12px; 
  border-radius: 8px; 
  font-weight: 700; 
  font-size: 15px; 
  cursor: pointer; 
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25); 
}

.ad-banner-box {
  margin: 10px auto 14px auto;
  text-align: center;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  border: 1px solid #fbcfe8;
}

.filter-card { 
  background: white; 
  padding: 10px; 
  border-radius: 10px; 
  border: 1px solid #fbcfe8; 
  margin-bottom: 14px; 
  display: flex; 
  gap: 6px; 
  flex-wrap: wrap;
}
.filter-card select { 
  flex: 1;
  min-width: 130px;
  padding: 8px; 
  border: 1.5px solid #fbcfe8; 
  border-radius: 6px; 
  font-size: 13px; 
  background: #fff; 
  outline: none;
}

.group-list { display: flex; flex-direction: column; gap: 12px; }

.group-card { 
  background: white; 
  border-radius: 12px; 
  padding: 14px; 
  border: 1px solid #fbcfe8; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03); 
}

.card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }

.group-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid #fbcfe8;
  background: #fdf2f8;
}

.card-title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.card-meta-line { font-size: 12px; color: #64748b; }
.card-desc { font-size: 13px; color: #334155; line-height: 1.4; margin: 6px 0 10px 0; }
.tag-pill { background: #bae6fd; color: #0369a1; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; display: inline-block; }

.card-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #fdf2f8;
  padding-top: 10px;
  margin-top: 6px;
}

.btn-join-text { color: #0284c7; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.btn-join-text:hover { text-decoration: underline; }

.action-right-btns { display: flex; gap: 6px; align-items: center; }

.share-btn-wa {
  background: #25D366;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.report-btn {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.page-view { background: white; border-radius: 12px; padding: 20px; border: 1px solid #fbcfe8; margin-top: 10px; }
.rules-content { font-size: 13px; color: #334155; line-height: 1.7; margin: 15px 0; text-align: left; }
.btn-step { width: 100%; background: #25D366; color: white; border: none; padding: 14px; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; }
.btn-back { width: 100%; background: #f1f5f9; color: #475569; border: none; padding: 10px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 10px; }

.modal-overlay { 
  display: none; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.6); 
  align-items: center; 
  justify-content: center; 
  padding: 15px; 
  z-index: 9999; 
}
.modal-box { 
  background: white; 
  padding: 20px; 
  border-radius: 12px; 
  width: 100%; 
  max-width: 440px; 
}
.modal-box label { display: block; font-size: 12px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.modal-box select, .modal-box input, .modal-box textarea { width: 100%; padding: 8px 10px; margin-bottom: 10px; border: 1.5px solid #cbd5e1; border-radius: 6px; font-size: 13px; outline: none; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }
.btn-cancel { background: #f1f5f9; color: #475569; border: none; padding: 8px 14px; border-radius: 6px; font-weight: 600; cursor: pointer; }

footer {
  margin-top: 30px;
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #fbcfe8;
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}
.btn-find-group {
  width: 100%;
  background: #00d26a;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 2px 6px rgba(0, 210, 106, 0.25);
}
.btn-find-group:hover {
  background: #00b85c;
}
/* --- STATUS BADGES --- */
.badge-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.badge-active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.badge-trending {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}
.badge-verified {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
