/* General Page Style */

body {
    font-family: Arial, sans-serif;
    background: #f5f7fb;
    margin: 0;
    padding: 20px;
    color: #d56b6b;
}

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.filter-bar input,
.filter-bar select {
    padding: 8px;
    margin-right: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.filter-bar button {
    padding: 8px 15px;
    background: #6c63ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filter-bar button:hover {
    background: #554fd8;
}

/* Helper Cards */
.helper-card {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.helper-card:hover {
    transform: scale(1.02);
}

/* Name */
.helper-card strong {
    font-size: 18px;
    color: #2c2c54;
}

/* Fields */
.helper-card br {
    margin-bottom: 6px;
}

/* No Helpers Note */
.note {
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Navigation Links */
.nav {
    margin-top: 30px;
    text-align: center;
}

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #6c63ff;
    font-weight: bold;
}

.nav a:hover {
    text-decoration: underline;
}
/* 🌸 MAIN PAGE STYLING */

body {
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(to bottom, #fff6f9, #ffffff);
    margin: 0;
    padding: 0;
}

/* Title */
h1 {
    font-size: 34px;
    color: #b83280;
    margin-bottom: 10px;
}

/* Subtitle text */
p {
    font-size: 17px;
    line-height: 1.6;
    color: #444;
}

/* Links */
a {
    display: inline-block;
    margin: 12px 0;
    color: #7b2cbf;
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Title */
.title {
    color: #a13a6f;
    font-size: 36px;
    margin-bottom: 20px;
}

/* Links */
.link {
    display: inline-block;
    color: #6b2c5c;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
}

.link:hover {
    background-color: #fde2e4;
}

@media (max-width: 600px) {

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    p {
        font-size: 15px;
    }

    a {
        font-size: 15px;
    }
}


/* Ensure container never overflows */
.container,
.center,
.main {
  width: 100%;
  max-width: 900px;   /* ✅ Bigger, tablet-friendly */
  margin: 0 auto;
}
/* 🌸 Soft entrance animation */

.container {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.link {
  transition: background 0.2s, transform 0.1s;
}

.link:active {
  transform: scale(0.97);
}
/* ✅ FINAL Mobile Fix for Support + All Pages */

@media (max-width: 600px) {

  body {
    padding: 0;
    margin: 0;
  }


  h1, h2 {
    font-size: 22px;
    text-align: center;
  }

  p {
    font-size: 15px;
    text-align: center;
  }

  a {
    display: block;
    text-align: center;
    margin: 12px 0;
    font-size: 16px;
  }

}
/* 🌸 Postpartum Page Styling */

.postpartum h2 {
  color: #b83280;
  text-align: center;
  margin-bottom: 15px;
}

.postpartum h3 {
  text-align: center;
  margin-top: 25px;
  color: #555;
}

.soft-text {
  text-align: center;
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Support Cards */

.support-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}

.support-card {
  background: #fff6f9;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #7b2cbf;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Small note text */

.note-text {
  font-size: 14px;
  text-align: center;
  color: #777;
  margin-top: 20px;
}
.support-link {
  display: block;
  padding: 10px;
  border-radius: 8px;
}

.support-link:hover {
  background: #fde2e4;
}
/* Helper Listing Cards */

.helper-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 15px;
  margin: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-size: 14px;
  line-height: 1.5;
}

/* Name Highlight */
.helper-card strong {
  font-size: 16px;
  color: #b84c65;
}

/* Filter Box */
.filter-box {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Inputs */
.filter-box input,
.filter-box select,
.filter-box button {
  width: 100%;
  padding: 8px;
  margin: 6px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.filter-box button {
  background: #f4a7b9;
  color: white;
  border: none;
  font-weight: bold;
}
/* ===== Mother Care Page ===== */

.filter-box {
  background: rgba(255,255,255,0.8);
  padding: 16px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.filter-box label {
  display: block;
  font-weight: 500;
  margin-top: 10px;
}

.filter-box input,
.filter-box select {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.filter-box button {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: #e38aa5;
  color: white;
  font-weight: bold;
}

/* Helper cards */

.helper-card {
  background: white;
  padding: 14px;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-size: 14px;
}

.helper-card strong {
  font-size: 16px;
  color: #b04a6f;
}

/* Headings */

.container h2 {
  text-align: center;
  color: #b04a6f;
}

.container h3 {
  text-align: center;
  margin-bottom: 14px;
}
.login-form {
  margin-top: 20px;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.login-form button {
  width: 100%;
}
.verified {
  background: #e6f7ec;
  color: #1b7a3a;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 6px;
  margin-left: 6px;
  font-weight: 600;
}
.verified {
    background: #d4f8d4;
    color: #1b7f1b;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 6px;
    margin-left: 6px;
    font-weight: bold;
}
.coming-soon {
  text-align: center;
  padding: 30px 20px;
}

.coming-soon h2 {
  color: #b83280;
  margin-bottom: 15px;
}

.coming-soon .soft-text {
  font-size: 16px;
  color: #555;
  margin: 10px 0;
}

.coming-soon .note-text {
  margin: 15px 0;
  font-size: 14px;
  color: #777;
}
/* Top Navigation Bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

/* Left Title */
.nav-left {
  font-weight: bold;
  font-size: 16px;
  color: #8b3f5d;
}

/* Login / Logout Button */
.nav-btn {
  background: #c46a86;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
/* Mobile Responsive Nav */
@media (max-width: 600px) {

  .top-nav {
    padding: 8px 10px;
  }

  .nav-left {
    font-size: 14px;
  }

  .nav-btn {
    font-size: 12px;
    padding: 5px 10px;
  }

}
.top-nav {
  position: sticky;
  top: 0;
  background: #fff7f5;
  z-index: 1000;
}
.filter-box {
  margin-top: 10px;
}
.nav-right {
  display: flex;
  gap: 8px;
}
.beta-badge {
  background: gold;
  color: black;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  font-weight: bold;
}
.whatsapp-btn {
  background: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  margin-top: 6px;
}
.legal-links {
  text-align: center;
  margin: 20px 0;
  font-size: 13px;
  color: #777;
}

.legal-links a {
  color: #888;
  margin: 0 6px;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}
.profile-card {
  max-width: 420px;
  margin: 60px auto;
  background: white;
  padding: 24px;
  border-radius: 20px;
  text-align: center;
}

.profile-card h2 {
  color: #9c4f6e;
}

.soft-text {
  color: #777;
  margin-bottom: 20px;
}

.profile-actions a {
  display: block;
  margin: 10px 0;
  color: #9c4f6e;
  text-decoration: none;
}
.soft-footer {
  margin-top: 24px;
  text-align: center;
}
.bottom-nav {
  background: rgba(255, 255, 255, 0.9);
}
.nav-item {
  font-size: 17px;
  opacity: 0.6;
}

.nav-item.active {
  opacity: 1;
}
@media (max-width: 480px) {
  .container {
    margin-top: 12vh;
  }
}
body {
  padding-bottom: 120px;
}
@media (max-width: 420px) {
  .bottom-nav{
    padding: 8px 14px;
  }
}
.container {
  width: 100%;
  max-width: 350px;
  padding: 24px;
  margin: 40px auto;
  border-radius: 20px;
  background: white;
}
.link {
  display: block;
  margin-top: 14px;
}
.nav-item {
  color: #777;
}

.nav-item .label {
  font-size: 11px;
}

.nav-item.active {
  color: #b05a7a;
}
.nav-item {
  font-size: 22px;
  color: #999;
  text-decoration: none;
}

.nav-item.active {
  color: #b45b8a;
}
.page {
  min-height: 100vh;
  padding-bottom: 180px; /* space for pill nav */
  box-sizing: border-box;
}
.bottom-nav {
  backdrop-filter: blur(10px);
}
.nav-item.active {
  background: #fde4ec;
  border-radius: 50%;
}
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom) + 28px);
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 16px;
  display: flex;
  gap: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  z-index: 1000;
}
/* Buttons */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #b83280;
    color: white !important;
    border-radius: 8px;
    font-size: 15px;
}

.btn:hover {
    background: #9d2a6f;
}
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #fde2e4, #fff1f2);
    margin: 0;
    padding: 0;
}

.top-back {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
}

.live-inline {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dff3df;
    color: #3f7c4b;
    font-size: 11px;
    font-weight: 600;
}

.soon-inline {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f7dbe5;
    color: #b04f7b;
    font-size: 11px;
    font-weight: 600;
}

.disabled-card {
    opacity: 0.75;
    cursor: default;
}

.disabled-card:hover {
    transform: none;
}
