/* ======= Volunteer Module Styles ======= */

/* ----- Hero ----- */
.volunteer-hero {
  background: linear-gradient(135deg, #DBF2FA 0%, #f0faff 60%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.volunteer-hero .subtitle {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--orange-color);
  color: var(--orange-color);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.volunteer-hero h1 {
  color: #014198;
}
.volunteer-hero-photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Quote tag ----- */
.volunteer-tag {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--orange-color);
  color: #014198;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ----- Persona cards (ใครมาเป็นจิตอาสาได้) ----- */
.persona-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.persona-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: var(--orange-color);
}
.persona-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #DBF2FA 0%, #ffe7d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.persona-icon i {
  font-size: 2.4rem;
  color: var(--orange-color);
}

/* ----- Role cards (ทำอะไรได้บ้าง) ----- */
.role-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 24px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--orange-color);
}
.role-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 122, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.role-icon i {
  font-size: 1.6rem;
  color: var(--orange-color);
}

/* ----- Impact stats ----- */
.impact-stat {
  padding: 16px 8px;
}
.impact-number {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -1px;
}
.impact-label {
  font-size: 1.05rem;
  opacity: 0.85;
}
@media (max-width: 575.98px) {
  .impact-number {
    font-size: 2rem;
  }
  .impact-label {
    font-size: 0.9rem;
  }
}

/* ----- Benefit items (สิ่งที่จะได้รับ) ----- */
.benefit-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: 14px;
  transition: background-color 0.25s ease;
}
.benefit-item i {
  font-size: 2.6rem;
  color: var(--orange-color);
}
.benefit-item:hover {
  background-color: #fff8f2;
}

/* ----- Volunteer pending card (รออนุมัติ) ----- */
.volunteer-pending-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #ffd699;
  padding: 18px 28px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.12);
  max-width: 100%;
}
.volunteer-pending-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff5e6 0%, #ffe0b3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.volunteer-pending-icon i {
  font-size: 1.6rem;
  color: #b36b00;
}
.volunteer-pending-title {
  color: #b36b00;
  font-size: 1.15rem;
  line-height: 1.3;
}
.volunteer-pending-desc {
  color: #606060;
  font-size: 0.95rem;
  margin-top: 2px;
}
@media (max-width: 575.98px) {
  .volunteer-pending-card {
    padding: 14px 18px;
    gap: 12px;
    border-radius: 14px;
  }
  .volunteer-pending-icon {
    width: 44px;
    height: 44px;
  }
  .volunteer-pending-icon i {
    font-size: 1.3rem;
  }
  .volunteer-pending-title {
    font-size: 1rem;
  }
  .volunteer-pending-desc {
    font-size: 0.85rem;
  }
}

/* ----- Cancel link (ใน pending card) ----- */
.volunteer-pending-card .volunteer-cancel-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: #909090;
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.volunteer-pending-card .volunteer-cancel-btn:hover {
  color: #d9534f;
  border-bottom-color: #d9534f;
}

/* ----- Final CTA block ----- */
.cta-block {
  background: #fff;
  padding: 48px 32px;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
@media (max-width: 575.98px) {
  .cta-block {
    padding: 32px 20px;
  }
}

/* ----- Smooth scroll สำหรับ anchor links ----- */
html {
  scroll-behavior: smooth;
}
