/* PrayerWall styles extracted from the SFC to keep component modules below 600 lines. */
.prayer-wall {
  background: rgba(11, 25, 44, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  color: #fff;
}

.wall-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 1120px) {
  .wall-grid {
    grid-template-columns: 1fr;
  }
}

/* Glow Map */
.map-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-header {
  margin-bottom: 1.5rem;
}

.pulse-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 900;
  color: #d4af37;
  letter-spacing: 0.25em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 12px #d4af37;
  animation: radar-effect 1.6s infinite;
}

@keyframes radar-effect {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-header h4 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0.4rem 0 0.5rem;
}

.map-header p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.abstract-map {
  position: relative;
  flex: 1;
  background: rgba(5, 9, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.map-vectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Glow node style */
.glow-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.core-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  transition: all 0.3s;
}

.radar-pulse {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 1px solid #d4af37;
  border-radius: 50%;
  opacity: 0.6;
  animation: ring-pulse 2.2s infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(0.3); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

.glow-node:hover .core-dot,
.glow-node.selected .core-dot {
  background: #d4af37;
  box-shadow: 0 0 18px #d4af37;
  transform: scale(1.4);
}

.glow-node.selected .radar-pulse {
  border-color: #fff;
  border-width: 2px;
}

/* Hover popup card on map */
.node-hover-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(11, 25, 44, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  z-index: 10;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  animation: node-pop 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes node-pop {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.node-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.node-close:hover {
  color: #d4af37;
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.flag-circle {
  font-size: 1.3rem;
}

.node-header strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.node-header small {
  color: #d4af37;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.node-msg {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.2rem;
  font-style: italic;
}

.node-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agreed-count {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
}

.agree-btn {
  background: #d4af37;
  color: #0b192c;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}

.agree-btn:hover {
  background: #fff;
}

/* Feed & Inputs Container */
.feed-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-container {
  background: rgba(5, 9, 18, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.8rem;
  border-radius: 16px;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
  color: #d4af37;
}

.prayer-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.input-label-small {
  font-size: 0.65rem;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.form-input-small, .form-select-small, .form-textarea-small {
  width: 100%;
  background: rgba(5, 9, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #fff;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  outline: none;
}

.form-input-small:focus, .form-select-small:focus, .form-textarea-small:focus {
  border-color: rgba(212, 175, 55, 0.4);
}

.form-row-small {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0.8rem;
}

.post-btn {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  margin-top: 0.4rem;
}

.post-btn:hover {
  background: #d4af37;
  color: #0b192c;
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
}

/* Scroll Feed */
.scroll-feed {
  display: flex;
  flex-direction: column;
}

.feed-kicker {
  font-size: 0.7rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.feed-list::-webkit-scrollbar {
  width: 4px;
}
.feed-list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 2px;
}

.feed-card {
  padding: 1.2rem;
  background: rgba(5, 9, 18, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.feed-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.feed-card-header strong {
  font-size: 0.9rem;
  color: #fff;
}

.location-tag {
  font-size: 0.68rem;
  color: #d4af37;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.feed-text {
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 0.8rem;
  font-style: italic;
}

.feed-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 800;
}

.pill-type {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.amen-count {
  color: rgba(255, 255, 255, 0.4);
}
