.pgm-prayer-wrap {
  --pgm-blue: #0b3d5c;
  --pgm-blue-2: #1d6fa5;
  --pgm-gold: #f7c948;
  --pgm-white: #ffffff;
  --pgm-soft: #f7fbff;
  --pgm-text: #1d2b36;
  --pgm-prayer-bg: linear-gradient(135deg, #092b42, #0b3d5c 45%, #1d6fa5);
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  margin: 28px 0;
  padding: 0;
  background: linear-gradient(rgba(5, 25, 41, .82), rgba(5, 25, 41, .90)), var(--pgm-prayer-bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 70px rgba(11, 61, 92, .22);
}
.pgm-prayer-wrap * { box-sizing: border-box; }
.pgm-prayer-wrap [hidden] { display: none !important; }
.pgm-prayer-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(247, 201, 72, .18);
  filter: blur(8px);
  pointer-events: none;
}
.pgm-prayer-glow-one { top: -90px; left: -90px; }
.pgm-prayer-glow-two { bottom: -120px; right: -90px; background: rgba(255,255,255,.12); }
.pgm-prayer-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 42px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 46px;
  align-items: center;
}
.pgm-prayer-content { color: var(--pgm-white); }
.pgm-prayer-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pgm-gold);
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pgm-prayer-kicker:before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--pgm-gold);
  display: inline-block;
}
.pgm-prayer-content h2 {
  color: var(--pgm-white);
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 900;
  margin: 0 0 20px;
}
.pgm-prayer-content p {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255,255,255,.92);
  margin: 0 0 26px;
}
.pgm-prayer-verse {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  border-left: 5px solid var(--pgm-gold);
  backdrop-filter: blur(10px);
  padding: 20px 22px;
  border-radius: 18px;
  color: var(--pgm-white);
  line-height: 1.65;
}
.pgm-prayer-verse span { display: block; font-size: 17px; }
.pgm-prayer-verse strong { display: block; color: var(--pgm-gold); margin-top: 8px; }
.pgm-prayer-card {
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
}
.pgm-prayer-alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.pgm-success { background: #eaf8ef; color: #145c2d; border: 1px solid #bfe8cc; }
.pgm-error { background: #fff0f0; color: #9d1c1c; border: 1px solid #ffc9c9; }
.pgm-prayer-form label { display: block; margin-bottom: 15px; }
.pgm-prayer-form label span {
  display: block;
  color: #294253;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 7px;
}
.pgm-prayer-form input,
.pgm-prayer-form select,
.pgm-prayer-form textarea {
  width: 100%;
  border: 1px solid #d9e4ec;
  border-radius: 14px;
  padding: 14px 15px;
  background: var(--pgm-soft);
  color: var(--pgm-text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.pgm-prayer-form textarea { resize: vertical; min-height: 130px; }
.pgm-prayer-form input:focus,
.pgm-prayer-form select:focus,
.pgm-prayer-form textarea:focus {
  border-color: var(--pgm-blue-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 111, 165, .13);
}
.pgm-prayer-form [aria-invalid="true"] {
  border-color: #c73535;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(199, 53, 53, .10);
}
.pgm-field-error {
  display: block;
  margin-top: 6px;
  color: #a22424;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.pgm-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pgm-prayer-form .pgm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 20px;
}
.pgm-prayer-form .pgm-check input { width: auto; margin: 0; }
.pgm-prayer-form .pgm-check span { margin: 0; font-weight: 700; }
.pgm-recorder {
  margin: 4px 0 18px;
  padding: 16px;
  border: 1px solid #d9e4ec;
  border-radius: 16px;
  background: #f7fbff;
}
.pgm-recorder-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pgm-recorder-heading strong {
  display: block;
  color: #294253;
  font-size: 15px;
}
.pgm-recorder-heading small {
  display: block;
  color: #617786;
  margin-top: 3px;
}
.pgm-recorder-timer {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #e7f1f8;
  color: var(--pgm-blue);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.pgm-recorder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.pgm-prayer-form .pgm-recorder-actions button {
  width: auto;
  min-width: 110px;
  padding: 11px 15px;
  border-radius: 12px;
  font-size: 14px;
  box-shadow: none;
}
.pgm-prayer-form .pgm-recorder-actions button:disabled {
  cursor: not-allowed;
  opacity: .48;
  transform: none;
}
.pgm-prayer-form .pgm-stop-button {
  background: #a62b2b;
  color: #fff;
}
.pgm-prayer-form .pgm-delete-recording {
  color: #8a2020;
  background: #fff0f0;
  border: 1px solid #f0caca;
}
.pgm-recording-preview {
  width: 100%;
  margin-top: 14px;
}
.pgm-recorder-status {
  margin: 10px 0 0;
  color: #617786;
  font-size: 13px;
  line-height: 1.45;
}
.pgm-request-error {
  margin: -4px 0 14px;
  padding: 11px 13px;
  border: 1px solid #ffc9c9;
  border-radius: 12px;
  color: #9d1c1c;
  background: #fff0f0;
  font-size: 14px;
  font-weight: 700;
}
.pgm-form-notice:focus {
  outline: 3px solid rgba(29, 111, 165, .22);
  outline-offset: 3px;
}
.pgm-prayer-form > button[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px 22px;
  background: linear-gradient(135deg, var(--pgm-blue-2), var(--pgm-blue));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(11, 61, 92, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pgm-prayer-form > button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(11, 61, 92, .30);
}
@media (max-width: 980px) {
  .pgm-prayer-inner { grid-template-columns: 1fr; padding: 56px 26px; }
  .pgm-prayer-card { padding: 28px; }
}
@media (max-width: 640px) {
  .pgm-prayer-wrap { border-radius: 20px; }
  .pgm-prayer-inner { padding: 42px 18px; gap: 28px; }
  .pgm-two-col { grid-template-columns: 1fr; gap: 0; }
  .pgm-prayer-card { padding: 22px; border-radius: 20px; }
  .pgm-recorder-heading { align-items: flex-start; flex-direction: column; }
  .pgm-prayer-form .pgm-recorder-actions button { width: 100%; }
}
