:root {
  /* Color Palette based on reference image */
  --bg-dark: #0A0A09;
  --bg-gradient-top: #1A1A17; 
  --bg-gradient-bottom: #0A0A09;
  
  --primary: #94A083; /* Desaturated light olive */
  --primary-hover: #7F8A6F;
  --secondary: #E3E2DE; /* Off-white for text */
  --accent: #5D6354; 
  --text-main: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.6);
  
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(20, 20, 18, 0.75);
  
  /* Buttons */
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-border: rgba(255, 255, 255, 0.12);
  --btn-hover: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  background-image: linear-gradient(rgba(10, 10, 9, 0.8), rgba(10, 10, 9, 0.92)), url('../images/reunion_bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* App Wrapper covers full screen on all devices */
.app-wrapper {
  width: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Header Navigation Styling - Transparent Gradient Overlay as requested */
.app-header {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(to bottom, rgba(10, 10, 9, 0.9) 0%, rgba(10, 10, 9, 0.15) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-logo {
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.header-logo:hover {
  opacity: 0.85;
}

/* Sidebar Drawer Menu */
.nav-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: rgba(15, 15, 13, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 1px solid var(--card-border);
  z-index: 1000;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.6);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  transition: all 0.2s ease;
}

.drawer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  transform: translateX(4px);
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
}

.glass-btn {
  background: var(--btn-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--btn-border);
  color: var(--text-main);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.glass-btn:hover {
  background: var(--btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.glass-btn-primary {
  background: rgba(148, 160, 131, 0.2);
  border: 1px solid rgba(148, 160, 131, 0.5);
  color: #E3E2DE;
}

.glass-btn-primary:hover {
  background: rgba(148, 160, 131, 0.3);
  border: 1px solid rgba(148, 160, 131, 0.7);
}

/* Page Container (Centered Form layouts on Desktop) */
.page-container {
  min-height: 100vh;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.form-wrapper-card {
  width: 100%;
  max-width: 520px;
  padding: 36px;
  margin-top: 20px;
}

/* Typography */
.title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(135deg, #FFF 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.form-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-input, .form-select {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 16px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color 0.3s ease, background 0.3s ease;
  width: 100%;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.55);
}

.form-select option {
  background: var(--bg-dark);
  color: var(--text-main);
}

/* Icon Buttons */
.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--card-border);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

/* Home CSS */
.home-container {
  height: calc(100vh - 81px); /* Subtract header height */
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.home-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/reunion_bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.home-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 9, 0.2) 0%,
    rgba(10, 10, 9, 0.6) 60%,
    rgba(10, 10, 9, 0.95) 100%
  );
  z-index: 1;
}

.home-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}

.logo-placeholder {
  margin-bottom: 20px;
}

.logo-icon {
  width: 64px;
  height: 64px;
  color: var(--secondary);
  opacity: 0.9;
}

.home-content .title {
  font-size: 3.5rem;
}

@media (max-width: 600px) {
  .home-content .title {
    font-size: 2.8rem;
  }
}

.action-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.action-buttons .glass-btn {
  min-width: 220px;
}

@media (max-width: 500px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }
  .action-buttons .glass-btn {
    width: 100%;
  }
}

/* Tabs & View Switchers */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  border-bottom: 1px solid var(--card-border);
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  padding-bottom: 8px;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 8px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  font-family: var(--font-main);
}

.tab-btn.active {
  color: var(--text-main);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.view-toggles-container {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
  width: 100%;
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.toggle-btn.active {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

/* Security Verification Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-verified {
  background: rgba(76, 217, 100, 0.15);
  color: #4cd964;
  border: 1px solid rgba(76, 217, 100, 0.3);
}

.badge-unverified {
  background: rgba(255, 149, 0, 0.15);
  color: #ff9500;
  border: 1px solid rgba(255, 149, 0, 0.3);
}

.badge-container-absolute {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
}

.security-banner {
  background: rgba(255, 149, 0, 0.07);
  border: 1px solid rgba(255, 149, 0, 0.2);
  color: #ff9500;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

/* Find CSS */
.find-page {
  height: calc(100vh - 81px); 
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0;
  position: relative;
}

.find-header {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Search bar */
.location-search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  padding: 6px 6px 6px 16px;
  border-radius: 30px;
  width: 100%;
  max-width: 450px;
  backdrop-filter: blur(8px);
}

.location-search-input {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: var(--font-main);
  width: 100%;
  outline: none;
}

.location-search-input::placeholder {
  color: var(--text-muted);
}

.gps-btn {
  background: var(--primary);
  border: none;
  color: var(--bg-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.gps-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.cards-container {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
  width: 100%;
}

/* Tinder Cards */
.person-card {
  position: absolute;
  width: 90%;
  max-width: 380px;
  height: 52vh;
  min-height: 420px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  cursor: grab;
  background: var(--bg-gradient-top);
  border: 1px solid var(--card-border);
  touch-action: none;
  transition: transform 0.15s ease-out;
}

.card-image {
  flex-grow: 1;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-info {
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.3) 100%);
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
}

.card-header h2 {
  font-size: 1.6rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 9, 0.98);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-top: 1px solid var(--card-border);
  padding: 0 16px;
  gap: 12px;
}

/* Wider Button updates for explicit text labels */
.action-btn {
  flex-grow: 1;
  max-width: 165px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-main);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.action-btn.nope {
  background: #1C1C1E;
  color: #ff4b4b;
  border: 1px solid rgba(255, 75, 75, 0.3);
}

.action-btn.nope:hover {
  background: rgba(255, 75, 75, 0.1);
  transform: translateY(-2px);
}

.action-btn.yep {
  background: #1C1C1E;
  color: #4cd964;
  border: 1px solid rgba(76, 217, 100, 0.3);
}

.action-btn.yep:hover {
  background: rgba(76, 217, 100, 0.1);
  transform: translateY(-2px);
}

/* Labelled info button */
.more-info-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.more-info-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
}

/* Grid View (Online Store Layout) CSS */
.persons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

@media (max-width: 600px) {
  .persons-grid {
    grid-template-columns: 1fr 1fr; /* 2 side-by-side on mobile as requested */
    gap: 12px;
    padding: 0 12px 40px;
  }
}

.grid-person-card {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(20, 20, 18, 0.4);
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.grid-person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
  border-color: var(--primary);
}

.grid-card-image {
  height: 60%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.grid-card-info {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10, 10, 9, 0) 0%, rgba(10, 10, 9, 0.95) 100%);
}

.grid-card-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.grid-card-details {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.grid-card-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.8rem;
  border-radius: 12px;
  margin-top: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  font-family: var(--font-main);
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.grid-card-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--primary);
}

/* Detailed expanded view - Full Screen Split Layout on Desktop */
.person-card-expanded {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  display: none; 
  flex-direction: row; 
  overflow: hidden;
  background: var(--bg-dark);
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.expanded-image {
  width: 45vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.expanded-content {
  width: 55vw;
  height: 100vh;
  padding: 60px 48px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Responsive collapse on mobile */
@media (max-width: 850px) {
  .person-card-expanded {
    flex-direction: column;
    overflow-y: auto;
  }
  .expanded-image {
    width: 100%;
    height: 45vh;
  }
  .expanded-content {
    width: 100%;
    height: auto;
    padding: 30px 24px;
  }
}

.close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 210;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--card-border);
}

.info-block {
  margin-bottom: 24px;
  background: rgba(255,255,255,0.02);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

.info-block h3 {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-block p {
  color: var(--text-main);
  line-height: 1.6;
}

.expanded-actions {
  margin-top: 36px;
  margin-bottom: 20px;
}

.expanded-actions .glass-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

/* Found Capture Step */
.found-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 520px;
  height: 90vh;
  max-height: 800px;
  z-index: 300;
  background: var(--bg-dark);
  display: none; 
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
  border-radius: 28px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
  .found-overlay {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
}

.capture-box {
  width: 210px;
  height: 290px;
  border-radius: 20px;
  background: rgba(0,0,0,0.3);
  border: 2px dashed var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 30px;
  position: relative;
}

.capture-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swipe-feedback {
  position: absolute;
  top: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  border: 4px solid;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.swipe-feedback.no {
  right: 20px;
  color: #ff4b4b;
  border-color: #ff4b4b;
  transform: rotate(15deg);
}

.swipe-feedback.yes {
  left: 20px;
  color: #4cd964;
  border-color: #4cd964;
  transform: rotate(-15deg);
}

/* Donation Centers CSS */
.centers-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.centers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
  margin-top: 30px;
  width: 100%;
}

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

.center-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  background: var(--glass-bg);
  position: relative;
}

.center-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.center-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.center-info-row.map-link {
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
}

.center-info-row.map-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.needs-section {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
}

.needs-section h3, .pledges-section h3 {
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.stock-bar-container {
  margin-bottom: 16px;
}

.stock-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

.stock-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.stock-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.3s;
}

.pledges-section {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.pledges-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 160px;
  overflow-y: auto;
  margin-top: 6px;
}

.pledge-item {
  font-size: 0.85rem;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--card-border);
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pledge-donor {
  font-weight: 500;
}

.pledge-meta {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: right;
}

/* Animations & Loaders */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
}

.pulse-anim {
  animation: pulse 1.5s infinite;
}

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

.photo-preview-container {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  border: 2px dashed var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin: 0 auto 30px;
}

.photo-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
