/* Prayer Wall CSS – Modern and Clean Look */

/* General */
.bpw-form, .bpw-counters, .bpw-wall {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
}

/* Form Styles */
.bpw-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.bpw-form input,
.bpw-form textarea,
.bpw-form select {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

.bpw-form button {
  background: #C97C73;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 20px auto;
text-align: center;
margin-bottom:10px;

}

.bpw-form button:hover {
  background: #35a;
}

.bpw-success {
  background: #e6ffea;
  color: #228B22;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #aaf0c4;
}

/* Counters */
.bpw-counters {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bpw-counters > div {
  background: #e8fff0;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  flex: 1;
  font-weight: bold;
  color: #005c35;
  font-size: 1.2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Wall / Cards */
.bpw-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.bpw-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bpw-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  color: #333;
}

.bpw-card p {
  margin: 0.25rem 0;
  color: #555;
  font-size: 0.95rem;
}

.bpw-card button {
  margin-top: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
}

.bpw-pray {
  background-color: #c97373;
  color: #fff;
}

.bpw-pray:hover {
  background-color: #b25959;
}

.bpw-comment-toggle {
  background-color: #f5f5f5;
  color: #444;
  margin-top: 0.4rem;
}

.bpw-comment-toggle:hover {
  background-color: #e0e0e0;
}

/* Responsive */
@media (max-width: 600px) {
  .bpw-counters {
    flex-direction: column;
    align-items: center;
  }

  .bpw-counters > div {
    width: 90%;
  }
}

/* Grid wrapper */
.bpw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 20px; /* spacing between cards */
}

/* Make it responsive */
@media (max-width: 992px) {
  .bpw-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {
  .bpw-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}

/* Style for cards */
.bpw-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.bpw-card:hover {
  transform: translateY(-4px);
}



