/* Prayer Request App Styles */

:root {
  --primary-color: #4a7cf7;
  --primary-dark: #3567e5;
  --secondary-color: #885af8;
  --accent-color: #f5a623;
  --success-color: #2ed47a;
  --warning-color: #f5a623;
  --danger-color: #f7685b;
  --light-bg: #f0f2f8;
  --card-bg: #ffffff;
  --text-color: #1e2a4a;
  --text-muted: #8892a4;
  --border-color: #e4e8f0;
  --shadow: 0 2px 12px rgba(30, 42, 74, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--light-bg);
  min-height: 100vh;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.container.wide {
  max-width: 1200px;
}

/* Header */
header {
  text-align: center;
  padding: 36px 20px 32px;
  background: #1e2a4a;
  background-image: radial-gradient(ellipse at 60% 0%, #2a3f7a 0%, #1e2a4a 70%);
  color: white;
  margin-bottom: 0;
}

header h1 {
  font-size: 1.9rem;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

header p {
  font-size: 0.95rem;
  opacity: 0.7;
}

/* Navigation */
nav {
  background: #162240;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 28px;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 4px;
  max-width: 800px;
  margin: 0 auto;
}

nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 12px 18px;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
  color: white;
}

nav a.active {
  color: white;
  border-bottom-color: var(--primary-color);
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  padding: 28px;
  margin-bottom: 20px;
}

.card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 22px;
}

.card-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

input[type="text"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: var(--text-color);
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 124, 247, 0.15);
}

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

.form-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(74, 124, 247, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 124, 247, 0.35);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(136, 90, 248, 0.25);
}

.btn-secondary:hover {
  background: #7649e8;
  transform: translateY(-1px);
}

.btn-success {
  background: #25c06d;
  color: white;
  box-shadow: 0 2px 8px rgba(46, 212, 122, 0.25);
}

.btn-success:hover {
  background: var(--success-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 212, 122, 0.35);
}

.btn-warning {
  background: var(--warning-color);
  color: white;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

.btn-warning:hover {
  background: #d4911a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.45);
}

.btn-danger {
  background: var(--danger-color);
  color: white;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.85rem;
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Status badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-received {
  background: rgba(74, 124, 247, 0.12);
  color: #3567e5;
}

.badge-praying {
  background: rgba(245, 166, 35, 0.15);
  color: #d4890a;
}

.badge-answered {
  background: rgba(46, 212, 122, 0.15);
  color: #1ea05a;
}

.badge-not_answered {
  background: rgba(247, 104, 91, 0.12);
  color: #d44030;
}

.badge-follow_up {
  background: rgba(245, 166, 35, 0.12);
  color: #d4890a;
}

.badge-normal {
  background: var(--light-bg);
  color: var(--text-muted);
}

.badge-urgent {
  background: rgba(247, 104, 91, 0.12);
  color: #d44030;
}

/* Prayer tracking display */
.prayer-status {
  text-align: center;
  padding: 28px 20px 20px;
}

.prayer-status .status-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.prayer-status .status-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.prayer-details {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 20px 0;
  border: 1px solid var(--border-color);
}

.prayer-details .detail-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-color);
}

.prayer-details .detail-row:last-child {
  border-bottom: none;
}

.prayer-details .detail-label {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prayer-message {
  background: white;
  border-left: 3px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin: 20px 0;
  line-height: 1.8;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary-color);
}

.admin-response {
  background: rgba(245, 166, 35, 0.06);
  border-left: 3px solid var(--accent-color);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  margin: 20px 0;
}

.admin-response h4 {
  color: var(--accent-color);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Success page */
.success-message {
  text-align: center;
  padding: 36px 20px;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  display: block;
  margin-bottom: 12px;
}

.tracking-link-box {
  background: var(--light-bg);
  border: 1.5px dashed var(--primary-color);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  word-break: break-all;
  text-align: left;
}

.tracking-link-box a {
  color: var(--primary-color);
  font-weight: 600;
}

/* Admin Dashboard */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}

.stat-card.clickable {
  cursor: pointer;
}

.stat-card.clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.stat-card.active {
  border-color: var(--primary-color);
  background: #f0f7ff;
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--light-bg);
  border-radius: 8px;
}

.filter-bar select {
  width: auto;
  min-width: 150px;
}

/* Prayer list (admin) */
.prayer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.prayer-item {
  background: white;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 24px;
}

.prayer-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.prayer-item.urgent {
  border-left: 4px solid #c62828;
}

.prayer-item.status-praying {
  border-left: 4px solid #f57c00;
}

.prayer-item.status-answered {
  border-left: 4px solid #388e3c;
}

.prayer-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.prayer-item-meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.prayer-item-preview {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.prayer-mini-stats {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 6px 0 0;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 30, 60, 0.45);
  backdrop-filter: blur(2px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 92%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 28px 24px;
  box-shadow: 0 20px 60px rgba(20, 30, 60, 0.22);
  border: 1px solid var(--border-color);
}

.modal.modal-wide {
  max-width: 900px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
}

.modal-close {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--border-color);
  color: var(--text-color);
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.hidden {
  display: none !important;
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .card {
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-bar {
    flex-direction: column;
  }

  .filter-bar select {
    width: 100%;
  }

  .admin-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

/* Login page */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
}

.login-card {
  width: 100%;
  max-width: 400px;
}

/* Accordion */
.accordion-container {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.accordion-header {
  width: 100%;
  background: var(--light-bg);
  border: none;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: background 0.2s;
  font-family: inherit;
}

.accordion-header:hover {
  background: rgba(74, 124, 247, 0.06);
}

.accordion-header.open {
  border-bottom: 1px solid var(--border-color);
}

.accordion-body {
  padding: 20px;
}

.accordion-body.hidden {
  display: none;
}

/* Messaging Container */
.messaging-container {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

.messaging-title {
  margin-bottom: 14px;
  color: var(--text-color);
  font-weight: 600;
}

/* Message Bubbles */
.message-bubble {
  margin-bottom: 15px;
  max-width: 85%;
}

.message-left {
  text-align: left;
}

.message-right {
  margin-left: auto;
  text-align: right;
}

.message-content {
  padding: 12px 16px;
  border-radius: 12px;
  display: inline-block;
  text-align: left;
  max-width: 100%;
}

.message-left .message-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px 12px 12px 4px;
}

.message-right .message-content {
  background: rgba(74, 124, 247, 0.1);
  border: 1px solid rgba(74, 124, 247, 0.2);
  border-radius: 12px 12px 4px 12px;
}

.message-content p {
  margin: 0;
  word-wrap: break-word;
}

.message-sender {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.message-left .message-sender {
  text-align: left;
  padding-left: 4px;
}

.message-right .message-sender {
  text-align: right;
  padding-right: 4px;
}

.message-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* Edit Button */
.btn-edit {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-edit:hover {
  background: var(--primary-color);
  color: white;
}

#edit-timer {
  font-weight: normal;
  opacity: 0.8;
}

/* Reply Actions */
.reply-actions {
  display: flex;
  gap: 10px;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-outline:hover {
  background: var(--light-bg);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Pagination */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 5px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #fff;
  color: var(--text-color);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  min-width: 34px;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  font-weight: 600;
}

.pagination-ellipsis {
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================================
   ADMIN DASHBOARD REDESIGN
   ============================================================ */

:root {
  --dash-bg:       #f0f2f8;
  --dash-topbar:   #1e2a4a;
  --dash-card:     #ffffff;
  --dash-blue:     #4a7cf7;
  --dash-purple:   #885af8;
  --dash-orange:   #f5a623;
  --dash-green:    #2ed47a;
  --dash-red:      #f7685b;
  --dash-text:     #1e2a4a;
  --dash-sub:      #8892a4;
  --dash-border:   #e4e8f0;
  --dash-shadow:   0 2px 12px rgba(30,42,74,0.08);
}

/* Body override for admin */
.admin-body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--dash-bg);
  min-height: 100vh;
  color: var(--dash-text);
  line-height: 1.6;
}

/* ---- Login Page ---- */
.admin-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--dash-topbar);
  background-image: radial-gradient(ellipse at 70% 20%, #2a3f7a 0%, #1e2a4a 60%);
}

.admin-login-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.admin-login-icon {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 12px;
}

.admin-login-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dash-text);
  margin-bottom: 4px;
}

.admin-login-subtitle {
  text-align: center;
  color: var(--dash-sub);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* ---- Top Bar ---- */
.dash-topbar {
  background: var(--dash-topbar);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-logo {
  font-size: 1.4rem;
}

.dash-brand {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-date {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.dash-logout-btn {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.dash-logout-btn:hover {
  background: rgba(255,255,255,0.22);
}

/* ---- Main Area ---- */
.dash-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 28px 48px;
}

/* ---- Page Header ---- */
.dash-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dash-page-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dash-text);
  margin-bottom: 2px;
}

.dash-page-sub {
  color: var(--dash-sub);
  font-size: 0.9rem;
}

/* ---- Stat Cards ---- */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.dash-stat-card {
  background: var(--dash-card);
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--dash-shadow);
  border: 1px solid var(--dash-border);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.dash-stat-card.clickable {
  cursor: pointer;
}

.dash-stat-card.clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,42,74,0.13);
  border-color: var(--dash-blue);
}

.dash-stat-card.active {
  border-color: var(--dash-blue);
  background: #f4f7ff;
}

.dash-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.dash-icon-blue   { background: var(--dash-blue); }
.dash-icon-purple { background: var(--dash-purple); }
.dash-icon-orange { background: var(--dash-orange); }
.dash-icon-green  { background: var(--dash-green); }
.dash-icon-red    { background: var(--dash-red); }

.dash-stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dash-text);
}

.dash-stat-label {
  font-size: 0.78rem;
  color: var(--dash-sub);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ---- Charts Row ---- */
.dash-charts-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
  margin-bottom: 20px;
}

.dash-chart-card {
  background: var(--dash-card);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--dash-shadow);
  border: 1px solid var(--dash-border);
}

.dash-chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-chart-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dash-text);
}

.dash-chart-sub {
  font-size: 0.8rem;
  color: var(--dash-sub);
}

.dash-donut-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
}

.dash-donut-wrap canvas {
  max-height: 220px;
}

.dash-bar-wrap {
  height: 220px;
  position: relative;
}

.dash-bar-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ---- Prayer List Card ---- */
.dash-list-card {
  background: var(--dash-card);
  border-radius: 16px;
  box-shadow: var(--dash-shadow);
  border: 1px solid var(--dash-border);
  overflow: hidden;
}

.dash-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--dash-border);
}

.dash-list-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dash-text);
}

.dash-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-filters select {
  padding: 7px 12px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--dash-text);
  background: #f8f9fc;
  cursor: pointer;
  transition: border-color 0.2s;
  width: auto;
}

.dash-filters select:focus {
  outline: none;
  border-color: var(--dash-blue);
  box-shadow: 0 0 0 3px rgba(74,124,247,0.15);
}

.filter-month-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-month-sep {
  color: var(--dash-muted, #888);
  font-size: 0.9rem;
  line-height: 1;
}

.dash-filters input[type="month"] {
  padding: 7px 10px;
  border: 1px solid var(--dash-border);
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--dash-text);
  background: #f8f9fc;
  cursor: pointer;
  transition: border-color 0.2s;
  width: auto;
}

.dash-filters input[type="month"]:focus {
  outline: none;
  border-color: var(--dash-blue);
  box-shadow: 0 0 0 3px rgba(74,124,247,0.15);
}

/* ---- Prayer Row Items ---- */
.admin-body .prayer-item {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--dash-border);
  border-left: none;
  padding: 14px 24px;
  transition: background 0.15s;
}

.admin-body .prayer-item:last-child {
  border-bottom: none;
}

.admin-body .prayer-item:hover {
  background: #f7f9ff;
  transform: none;
  box-shadow: none;
}

.admin-body .prayer-item.urgent {
  border-left: 3px solid var(--dash-red);
  padding-left: 21px;
}

.admin-body .prayer-item.status-received {
  border-left: 3px solid var(--dash-blue);
  padding-left: 21px;
}

.admin-body .prayer-item.status-praying {
  border-left: 3px solid var(--dash-orange);
  padding-left: 21px;
}

.admin-body .prayer-item.status-answered {
  border-left: 3px solid var(--dash-green);
  padding-left: 21px;
}

/* ---- Pagination override for admin ---- */
.admin-body .pagination-container {
  padding: 14px 24px;
  border-top: 1px solid var(--dash-border);
  background: #fafbfd;
  border-radius: 0 0 16px 16px;
}

.admin-body .pagination-btn {
  border-color: var(--dash-border);
  border-radius: 6px;
  font-size: 0.82rem;
}

.admin-body .pagination-btn:hover:not(:disabled) {
  background: var(--dash-blue);
  border-color: var(--dash-blue);
}

.admin-body .pagination-btn.active {
  background: var(--dash-blue);
  border-color: var(--dash-blue);
}

/* ---- Spinner in admin ---- */
.admin-body .spinner {
  border-color: rgba(74,124,247,0.2);
  border-top-color: var(--dash-blue);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .dash-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .dash-main {
    padding: 16px 16px 40px;
  }

  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-charts-row {
    grid-template-columns: 1fr;
  }

  .dash-list-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-topbar {
    padding: 0 16px;
  }

  .admin-body .prayer-item {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .dash-stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-login-card {
    padding: 32px 24px;
    margin: 16px;
  }
}

/* ===== PRAYER DETAIL PAGE ===== */

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
  transition: color 0.15s;
}
.detail-back-link:hover { color: var(--dash-blue); }

.detail-header-card {
  background: var(--dash-card);
  border-radius: 16px;
  border: 1px solid var(--dash-border);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--dash-shadow);
}

.detail-header-left { flex: 1; min-width: 0; }

.detail-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dash-text);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-request-id {
  font-size: 0.8rem;
  color: var(--dash-sub);
  background: var(--dash-bg);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--dash-border);
}

.detail-header-dates {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.detail-date-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.detail-date-label {
  font-size: 0.75rem;
  color: var(--dash-sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.detail-date-val {
  font-size: 0.88rem;
  color: var(--dash-text);
  font-weight: 500;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.detail-col-left,
.detail-col-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-header-card {
    flex-direction: column;
    gap: 14px;
  }
  .detail-header-dates {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }
  .detail-date-item { align-items: flex-start; }
}

/* ===== TRACK PAGE TOPBAR NAV LINKS ===== */
.track-nav-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.track-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.track-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* ===================================================
   PROFILE DROPDOWN (topbar)
   =================================================== */
.profile-dropdown-wrap {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: #fff;
  font-size: 0.88rem;
  font-family: inherit;
  transition: background 0.2s;
}
.profile-btn:hover { background: rgba(255,255,255,0.18); }

.profile-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.profile-name { font-weight: 600; }

.profile-role-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 99px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.profile-role-badge.role-super_admin { background: #f7685b; color: #fff; }
.profile-role-badge.role-admin       { background: #4a7cf7; color: #fff; }
.profile-role-badge.role-moderator   { background: #2ed47a; color: #fff; }

.profile-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 170px;
  z-index: 1000;
  overflow: hidden;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  background: none;
  border: none;
  font-size: 0.88rem;
  font-family: inherit;
  color: #374151;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.profile-menu-item:hover { background: #f3f4f6; }
.profile-menu-logout { color: #ef4444; }
.profile-menu-logout:hover { background: #fef2f2; }
.profile-menu-divider { height: 1px; background: #e5e7eb; margin: 2px 0; }

/* ===================================================
   DASH HEADER ACTIONS
   =================================================== */
.dash-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ed47a;
  box-shadow: 0 0 0 2px rgba(46,212,122,0.3);
  margin-right: 4px;
  flex-shrink: 0;
}

/* ===================================================
   MODALS (shared)
   =================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.hidden { display: none; }

.modal-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-card-wide { max-width: 720px; }
.modal-card-sm   { max-width: 380px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}
.modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.modal-close:hover { color: #374151; background: #f3f4f6; }

.modal-body   { padding: 20px 24px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
}

/* ===================================================
   FORM HELPERS
   =================================================== */
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.text-required { color: #ef4444; }

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

/* ===================================================
   BUTTONS (extras)
   =================================================== */
.btn-outline {
  background: transparent;
  border: 1.5px solid #d1d5db;
  color: #374151;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.btn-outline:hover { background: #f3f4f6; border-color: #9ca3af; }

.btn-sm  { padding: 6px 14px; font-size: 0.83rem; }
.btn-xs  { padding: 4px 10px; font-size: 0.78rem; }

.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.btn-danger:hover { background: #dc2626; }

/* ===================================================
   CREATE ADMIN FORM PANEL
   =================================================== */
.create-admin-form {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

/* ===================================================
   ADMIN TABLE
   =================================================== */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th {
  text-align: left;
  padding: 8px 10px;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #e5e7eb;
}
.admin-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.admin-row-inactive td { opacity: 0.45; }
.admin-actions-cell { display: flex; gap: 6px; align-items: center; }
.status-active   { color: #16a34a; font-weight: 600; }
.status-inactive { color: #9ca3af; font-weight: 600; }

.badge-you {
  background: #e0e7ff;
  color: #3730a3;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 99px;
  font-weight: 700;
  vertical-align: middle;
}

/* ===================================================
   ROLE PILLS
   =================================================== */
.role-pill {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.role-pill.role-super_admin { background: #fee2e2; color: #b91c1c; }
.role-pill.role-admin       { background: #dbeafe; color: #1d4ed8; }
.role-pill.role-moderator   { background: #d1fae5; color: #065f46; }

/* ===================================================
   ONLINE USERS LIST
   =================================================== */
.online-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.online-user-row:last-child { border-bottom: none; }

.online-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4a7cf7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.online-user-info { flex: 1; }
.online-user-name { font-weight: 600; font-size: 0.9rem; color: #111827; }
.online-user-role { margin-top: 2px; }
.online-user-time { font-size: 0.78rem; color: #9ca3af; white-space: nowrap; }

/* ===================================================
   UNREAD MESSAGE BADGE (admin list rows)
   =================================================== */
.unread-msg-badge {
  display: inline-flex;
  align-items: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* ===================================================
   NEW MESSAGE BANNER (track.php)
   =================================================== */
.new-msg-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
}

.new-msg-banner-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.new-msg-banner-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 3px;
}

.new-msg-banner-sub {
  font-size: 0.84rem;
  color: #3b82f6;
  margin: 0;
}

.new-msg-banner-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #93c5fd;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.new-msg-banner-close:hover {
  color: #1e40af;
  background: rgba(147, 197, 253, 0.2);
}

/* ===================================================
   LANDING PAGE — Submit Prayer Request
   =================================================== */

.landing-outer {
  background: var(--dash-bg);
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.landing-wrap {
  display: grid;
  grid-template-columns: 55fr 45fr;
  width: 100%;
  max-width: 1100px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(30, 42, 74, 0.13);
  border: 1px solid #e4e8f0;
}

/* ---- Left column ---- */
.landing-left {
  background: #ffffff;
  padding: 56px 52px 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

/* H1 — largest text on the page */
.landing-h1 {
  font-size: 2.55rem;
  font-weight: 800;
  line-height: 1.18;
  color: #1e2a4a;
  letter-spacing: -0.03em;
}

/* Checklist */
.landing-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.5;
}

.landing-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0ea5e9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Divider */
.landing-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* Helper text */
.landing-help-text {
  font-size: 0.88rem;
  color: #6b7280;
  margin: -12px 0 0;
}

.landing-help-link {
  color: #4a7cf7;
  font-weight: 600;
  text-decoration: none;
}
.landing-help-link:hover { text-decoration: underline; }

/* Testimonial card */
.landing-testimonial {
  background: #f9fafb;
  border-radius: 14px;
  padding: 22px 24px;
  border: 1px solid #e5e7eb;
}

/* Quote — medium text, italic */
.landing-quote {
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 16px;
}

.landing-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4a7cf7;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Author name — small bold */
.landing-author-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #111827;
}

/* Author role — smallest text */
.landing-author-role {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 2px;
}

/* Logo strip */
.landing-logo-strip {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}

.landing-logo-label {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 12px;
}

.landing-logos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.landing-logo-item {
  font-size: 0.82rem;
  color: #d1d5db;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---- Right column ---- */
.landing-right {
  background: #f0f2f8;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form card */
.landing-form-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(30, 42, 74, 0.12);
  border: 1px solid #e4e8f0;
  padding: 36px 36px 24px;
  width: 100%;
  max-width: 440px;
}

/* Form card title — medium-large bold, centered */
.landing-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e2a4a;
  text-align: center;
  margin-bottom: 4px;
}

/* Form card subtitle — small muted, centered */
.landing-form-subtitle {
  font-size: 0.88rem;
  color: #8892a4;
  text-align: center;
  margin-bottom: 24px;
}

/* Field label helpers */
.label-optional {
  color: #9ca3af;
  font-weight: 400;
  font-size: 0.84em;
}

.label-required {
  color: #ef4444;
}

/* Urgency radio toggle cards */
.landing-radio-group {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.landing-radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid #e4e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s;
  font-weight: 500;
  font-size: 0.9rem;
  color: #374151;
  user-select: none;
}

.landing-radio-option input[type="radio"] {
  display: none;
}

.landing-radio-option:has(input:checked) {
  border-color: #4a7cf7;
  background: rgba(74, 124, 247, 0.07);
  color: #4a7cf7;
}

.landing-radio-urgent:has(input:checked) {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.06);
  color: #ef4444;
}

/* Submit button — full width, gradient */
.btn-landing-submit {
  display: block;
  width: 100%;
  padding: 13px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, #4a7cf7 0%, #885af8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 124, 247, 0.32);
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
  letter-spacing: 0.01em;
  margin-top: 4px;
  text-align: center;
}

.btn-landing-submit:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(74, 124, 247, 0.4);
}

.btn-landing-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Privacy text — smallest text on page, muted, centered */
.landing-privacy-text {
  font-size: 0.75rem;
  color: #b0b8c9;
  text-align: center;
  margin-top: 16px;
  line-height: 1.55;
}

/* Success state inside form card */
.landing-success-inner {
  text-align: center;
  padding: 8px 0 4px;
}

.landing-success-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .landing-outer {
    padding: 24px 16px 40px;
    align-items: flex-start;
  }

  .landing-wrap {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .landing-left {
    padding: 44px 32px;
    gap: 24px;
  }

  .landing-h1 {
    font-size: 2rem;
  }

  .landing-right {
    padding: 36px 24px 48px;
  }
}

@media (max-width: 480px) {
  .landing-left {
    padding: 32px 20px;
  }

  .landing-h1 {
    font-size: 1.65rem;
  }

  .landing-form-card {
    padding: 28px 20px 20px;
  }

  .landing-form-title {
    font-size: 1.15rem;
  }
}

/* ===================================================
   SUCCESS CARD ACTION BUTTONS (equal size pair)
   =================================================== */
.btn-action {
  flex: 1;
  min-width: 130px;
  padding: 13px 18px;
  font-size: 0.93rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.01em;
  text-align: center;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.15s, background 0.15s;
  border: 2px solid transparent;
}

.btn-action-outline {
  background: transparent;
  border-color: #4a7cf7;
  color: #4a7cf7;
}

.btn-action-outline:hover {
  background: rgba(74, 124, 247, 0.08);
  transform: translateY(-1px);
}

.btn-action-primary {
  background: linear-gradient(135deg, #4a7cf7 0%, #885af8 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(74, 124, 247, 0.32);
}

.btn-action-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(74, 124, 247, 0.4);
}
