/* Bodhayan Offerings Manager - neutral/gold styling.
   You can override these styles in Elementor or the child theme. */

.bodhayan-offering-form-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.bodhayan-offering-form {
  display: grid;
  gap: 22px;
}

.bodhayan-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.bodhayan-field label span {
  color: #a45b18;
}

.bodhayan-field input,
.bodhayan-field textarea,
.bodhayan-offerings-controls select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcc9aa;
  border-radius: 8px;
  padding: 13px 15px;
  background: #fffdf9;
  color: #38291d;
  font-size: 16px;
}

.bodhayan-field textarea {
  resize: vertical;
  min-height: 150px;
}

.bodhayan-submit,
.bodhayan-load-more {
  appearance: none;
  border: 0;
  border-radius: 8px;
  padding: 14px 26px;
  background: #6e2413;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
}

.bodhayan-submit:hover,
.bodhayan-load-more:hover {
  opacity: .92;
}

.bodhayan-submit:disabled,
.bodhayan-load-more:disabled {
  opacity: .6;
  cursor: wait;
}

.bodhayan-note {
  margin: 0;
  font-size: 13px;
  opacity: .72;
  text-align: center;
}

.bodhayan-form-message {
  min-height: 20px;
  padding: 0;
  font-weight: 600;
}

.bodhayan-form-message.success,
.bodhayan-form-message.error {
  padding: 12px 14px;
  border-radius: 7px;
}

.bodhayan-form-message.success {
  background: #edf8ef;
  color: #236b32;
}

.bodhayan-form-message.error {
  background: #fff0ee;
  color: #9d2d21;
}

.bodhayan-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bodhayan-offerings-app {
  width: 100%;
}

.bodhayan-offerings-controls {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.bodhayan-offerings-controls select {
  max-width: 260px;
  background: #fff;
}

.bodhayan-offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.bodhayan-offering-card {
  position: relative;
  padding: 24px 24px 28px;
  border: 1px solid #eadcc5;
  border-radius: 15px;
  background: #fffdf9;
  box-shadow: 0 7px 24px rgba(90, 52, 16, .08);
  overflow: hidden;
}

.bodhayan-card-head {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
}

.bodhayan-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #ead2a9;
  background: #faf2e4;
  color: #8d5c1b;
  font-weight: 700;
}

.bodhayan-card-person h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
}

.bodhayan-card-meta,
.bodhayan-card-date {
  color: #786a5c;
  font-size: 13px;
}

.bodhayan-card-date {
  text-align: right;
  white-space: nowrap;
}

.bodhayan-quote-mark {
  margin-top: 18px;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: .7;
  color: #c99745;
}

.bodhayan-card-message {
  color: #4c4035;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
  padding-right: 10px;
}

.bodhayan-card-message p {
  margin: 0;
}

.bodhayan-card-lotus {
  text-align: center;
  margin-top: 18px;
  color: #bd8740;
  opacity: .8;
}

.bodhayan-offerings-empty {
  padding: 35px 20px;
  text-align: center;
  border: 1px dashed #dbc8aa;
  border-radius: 12px;
}

.bodhayan-load-more {
  display: block;
  margin: 28px auto 0;
}

.bodhayan-load-more[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .bodhayan-offerings-grid {
    grid-template-columns: 1fr;
  }

  .bodhayan-offerings-controls {
    flex-direction: column;
  }

  .bodhayan-offerings-controls select {
    max-width: none;
  }

  .bodhayan-card-head {
    grid-template-columns: 48px 1fr;
  }

  .bodhayan-avatar {
    width: 48px;
    height: 48px;
  }

  .bodhayan-card-date {
    grid-column: 2;
    text-align: left;
  }
}
