** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
/* ============================================
   BASE CARD STYLES
   ============================================ */

.maps-card {
  border: 2px dashed #d9dde8;
  border-radius: 12px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  margin: 24px 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol";
}

.maps-card .maps-card-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 20px;
  color: #1f3a93;
}

.maps-card .maps-card-subtitle {
  margin: 0 0 16px;
  color: #475467;
  font-size: 14px;
}

/* ============================================
   MEMBER SINCE BADGE
   ============================================ */

.maps-member-since-star-badge {
  position: relative;
  width: 200px;
  height: 200px;
  background-color: #002e5b;
  border-radius: 50%;
  margin: 0 auto 1.5em;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: badgePop 0.6s ease-out both;
}

.maps-member-since-star-badge .maps-logo-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.maps-member-since-star-badge .since-label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin-bottom: 6px;
}

.maps-member-since-star-badge .since-date {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes badgePop {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { opacity: 1; transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ============================================
   DONATION DASHBOARD
   ============================================ */

.maps-donation-dashboard {
  position: relative;
}

.maps-donation-dashboard .dashboard-title {
  margin: 0 0 4px;
  line-height: 1.2;
}

.maps-donation-dashboard .dashboard-subtitle {
  margin: 0 0 16px;
  color: #666;
  font-size: 14px;
}

.donation-details {
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.donation-row {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.donation-row:last-child {
  border-bottom: none;
}

.donation-row .label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.donation-row .value {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.donation-row .value.status-active {
  color: #059669;
}

.donation-row .value.highlight {
  font-size: 24px;
  color: #3b5a8b;
}

@media (min-width: 640px) {
  .donation-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
  }
  
  .donation-row .label {
    margin-bottom: 0;
    font-size: 13px;
  }
  
  .donation-row .value {
    text-align: right;
  }
}

.dashboard-actions {
  margin-top: 16px;
}

.classy-manage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #3b5a8b;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
  box-sizing: border-box;
}

.classy-manage-btn:hover {
  background: #2d4670;
  color: white;
  text-decoration: none;
}

.classy-manage-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .classy-manage-btn {
    width: auto;
  }
}

.manage-note {
  margin: 10px 0 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.no-recurring-cta {
  margin-top: 8px;
  padding: 16px;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
  text-align: center;
}

.no-recurring-cta p {
  margin: 0 0 14px 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.start-recurring-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: #0a2c65;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.start-recurring-btn:hover {
  background: #081f4a;
  color: white;
  text-decoration: none;
}

.start-recurring-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .start-recurring-btn {
    width: auto;
  }
}

.dashboard-notice {
  margin-top: 12px;
  padding: 10px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  color: #92400e;
  font-size: 13px;
}

.dashboard-debug {
  margin-top: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  padding: 10px;
  overflow: auto;
  font-family: monospace;
  font-size: 12px;
}

/* ============================================
   DONATION HISTORY TABLE
   ============================================ */

.maps-donations-card .maps-card-subtitle {
  margin-bottom: 16px;
}

.sf-donations-table {
  width: 100%;
  border-collapse: collapse;
}

.sf-donations-table thead {
  display: none;
}

.sf-donations-table tbody tr {
  display: block;
  margin-bottom: 16px;
  padding: 16px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.sf-donations-table tbody tr:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sf-donations-table tbody tr:last-child {
  margin-bottom: 0;
}

.sf-donations-table tbody td {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #f3f4f6;
}

.sf-donations-table tbody td:last-child {
  border-bottom: none;
}

.sf-donations-table tbody td::before {
  content: attr(data-label);
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.sf-donations-table tbody td.amount {
  font-weight: 700;
  color: #3b5a8b;
  font-size: 18px;
}

@media (min-width: 768px) {
  .sf-donations-table thead {
    display: table-header-group;
  }
  
  .sf-donations-table thead th {
    background: #f9fafb;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e5e7eb;
  }
  
  .sf-donations-table tbody tr {
    display: table-row;
    margin-bottom: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .sf-donations-table tbody tr:hover {
    background: #f9fafb;
    box-shadow: none;
  }
  
  .sf-donations-table tbody td {
    display: table-cell;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .sf-donations-table tbody td::before {
    content: none;
  }
  
  .sf-donations-table tbody td.amount {
    text-align: right;
    font-size: 16px;
  }
}

.sf-donations-table tbody tr.empty-state td {
  text-align: center;
  color: #6b7280;
  font-style: italic;
  padding: 24px;
}