/* ==========================================================================
   MWF FEMINISM — NATIONWIDE CHAPTER & AMBASSADOR LOCATOR (PHASE 2)
   ========================================================================== */

.mwf-chapter-section {
  padding: 110px 0;
  background: linear-gradient(180deg, #FAF5F8 0%, #FFFFFF 100%);
  position: relative;
}

.mwf-chapter-search-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(32, 8, 46, 0.08);
  border: 1px solid var(--mwf-border-soft, #EDE3EC);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.mwf-chapter-search-input {
  flex: 1;
  min-width: 260px;
  border: none;
  font-size: 15px;
  color: var(--mwf-primary-dark, #20082E);
  outline: none;
  padding: 8px 12px;
}

.mwf-chapter-search-input::placeholder {
  color: #9A8A9E;
}

.mwf-chapter-search-btn {
  padding: 12px 24px;
  background: var(--mwf-magenta, #D8267E);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mwf-chapter-search-btn:hover {
  background: #A0155B;
}

.mwf-ambassador-cta-btn {
  padding: 12px 24px;
  background: #20082E;
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mwf-ambassador-cta-btn:hover {
  background: var(--mwf-orchid, #7F226B);
}

/* Chapter Card */
.mwf-chapter-card {
  background: #ffffff;
  border: 1px solid var(--mwf-border-soft, #EDE3EC);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(32, 8, 46, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mwf-chapter-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(32, 8, 46, 0.1);
  border-color: var(--mwf-magenta, #D8267E);
}

.mwf-chapter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.mwf-chapter-district {
  font-size: 18px;
  font-weight: 800;
  color: var(--mwf-primary-dark, #20082E);
}

.mwf-chapter-badge {
  font-size: 11px;
  font-weight: 800;
  background: #EAFBF0;
  color: #15803d;
  padding: 4px 10px;
  border-radius: 15px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.mwf-chapter-address {
  font-size: 13px;
  color: #55445B;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.mwf-chapter-coordinator {
  padding: 12px 16px;
  background: #FAF5F8;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 13px;
}

.mwf-chapter-coordinator span {
  display: block;
  font-weight: 700;
  color: var(--mwf-primary-dark, #20082E);
}

.mwf-chapter-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--mwf-border-soft, #EDE3EC);
  padding-top: 14px;
  font-size: 12px;
  color: #6B5E70;
  font-weight: 600;
}

.mwf-chapter-call-btn {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  background: #FAF3F8;
  color: var(--mwf-magenta, #D8267E);
  border: 1px solid rgba(216, 38, 126, 0.25);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.mwf-chapter-call-btn:hover {
  background: var(--mwf-magenta, #D8267E);
  color: #ffffff;
}

/* Ambassador Modal */
.mwf-ambassador-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 2, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mwf-ambassador-modal.is-open {
  display: flex;
  opacity: 1;
}

.mwf-ambassador-modal-dialog {
  background: #ffffff;
  border-radius: 24px;
  width: 680px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: mwfModalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
