/* =============================================
   GET HEALED WITHIN - Components & Pages CSS
   ============================================= */

/* ---- BOOKING MODAL / WIDGET ---- */
.booking-section { background: var(--cream); }
.booking-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.booking-info {
  background: var(--gradient-primary);
  padding: 3rem 2.5rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.booking-info h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.5rem; }
.booking-info p { color: rgba(255,255,255,0.82); font-size: 0.95rem; }
.booking-features-list { display: flex; flex-direction: column; gap: 0.85rem; }
.booking-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.booking-feature-item i { color: #f9c8e4; flex-shrink: 0; }
.booking-form { padding: 3rem 2.5rem; }
.booking-form h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.booking-form .lead { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 2rem; }

/* Required star */
.req-star { color: #e53935; margin-left: 0.15rem; }

/* Input with left icon */
.input-wrap { position: relative; }
.input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--purple);
  opacity: 0.55;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
}
.form-control.has-icon { padding-left: 2.4rem; }
select.form-control.has-icon { padding-left: 2.4rem; }

/* Character count */
.char-count-wrap {
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Time slot active state pulse */
.time-slot.active {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(98,25,158,0.3);
  transform: translateY(-1px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.time-slot {
  padding: 0.6rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
  background: var(--white);
}
.time-slot:hover { border-color: var(--purple); color: var(--purple); background: rgba(98,25,158,0.05); }
.time-slot.active { border-color: var(--purple); background: var(--purple); color: var(--white); }
.time-slot.disabled { opacity: 0.4; cursor: not-allowed; }

/* ---- LOGIN MODAL ---- */
.login-modal .modal-box { max-width: 420px; }
.login-modal-header { text-align: center; margin-bottom: 2rem; }
.login-modal-header .modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 auto 1rem;
}
.login-modal-header h3 { font-size: 1.5rem; }
.login-tabs {
  display: flex;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.login-tab {
  flex: 1;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}
.login-tab.active { background: var(--purple); color: var(--white); }
.login-divider { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin: 1rem 0; position: relative; }
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--gray-200);
}
.login-divider::before { left: 0; }
.login-divider::after  { right: 0; }
.login-social-btn {
  width: 100%;
  padding: 0.7rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
  background: var(--white);
}
.login-social-btn:hover { border-color: var(--purple); color: var(--purple); background: rgba(98,25,158,0.04); }
.forgot-link { font-size: 0.8rem; color: var(--purple); float: right; margin-top: -0.75rem; margin-bottom: 0.5rem; }

/* ---- AI CHATBOT ---- */
.chatbot-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(98,25,158,0.4);
  border: none;
  transition: var(--transition);
  animation: pulse-glow 3s ease-in-out infinite;
}
.chatbot-toggle:hover { transform: scale(1.1); box-shadow: 0 8px 40px rgba(98,25,158,0.5); }
.chatbot-toggle .close-icon { display: none; }
.chatbot-toggle.open .chat-icon { display: none; }
.chatbot-toggle.open .close-icon { display: block; }

.chatbot-notification {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #e74c3c;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
}

.chatbot-window {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 360px;
  height: 500px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(98,25,158,0.1);
}
.chatbot-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.chatbot-header {
  background: var(--gradient-primary);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}
.chatbot-header-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.chatbot-header-info strong { display: block; font-size: 0.9rem; }
.chatbot-header-info span { font-size: 0.75rem; opacity: 0.85; }
.chatbot-header-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 2px rgba(46,204,113,0.3);
  display: inline-block;
  margin-right: 0.3rem;
}
.chatbot-clear { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; font-size: 0.8rem; transition: var(--transition); }
.chatbot-clear:hover { color: var(--white); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: var(--gray-100);
}
.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: var(--gray-400); border-radius: 2px; }

.chat-msg {
  max-width: 85%;
  animation: fadeInUp 0.3s ease;
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.55;
}
.chat-msg.bot .chat-bubble {
  background: var(--white);
  color: var(--text-body);
  border-radius: 4px var(--radius-md) var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.chat-msg.user .chat-bubble {
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-md) 4px var(--radius-md) var(--radius-md);
}

.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.quick-reply-btn {
  padding: 0.4rem 0.8rem;
  border: 1.5px solid rgba(98,25,158,0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--purple);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}
.quick-reply-btn:hover { background: var(--purple); color: var(--white); border-color: var(--purple); }

.typing-indicator { display: flex; gap: 5px; align-items: center; padding: 0.5rem 0; }
.typing-dot {
  width: 8px; height: 8px;
  background: var(--gray-400);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

.chatbot-input-area {
  padding: 0.875rem 1rem;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  gap: 0.5rem;
}
.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
  resize: none;
}
.chatbot-input:focus { border-color: var(--purple); }
.chatbot-send {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.chatbot-send:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(98,25,158,0.35); }

/* ---- ABOUT PAGE ---- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  background: var(--cream);
}
.about-photo-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Decorative accent behind the photo */
.about-photo-wrap::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: 18px;
  bottom: 18px;
  border-radius: var(--radius-xl);
  background: var(--gradient-soft);
  border: 2px solid rgba(176,77,137,0.18);
  z-index: 0;
}
.about-photo-main {
  position: relative;
  z-index: 1;
}
.about-photo-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  min-height: 520px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.about-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-photo-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(98,25,158,0.08);
}
.about-photo-badge i { font-size: 1.5rem; color: var(--purple); margin-bottom: 0.4rem; display: block; }
.about-photo-badge span { font-size: 0.75rem; font-weight: 700; color: var(--text-dark); display: block; }

.about-credentials { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.credential-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(98,25,158,0.08);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple);
}
.credential-tag i { font-size: 0.7rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(98,25,158,0.06);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.value-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ---- COURSES PAGE ---- */
.courses-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--purple); color: var(--purple); background: rgba(98,25,158,0.06); }

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(98,25,158,0.06);
  position: relative;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}
.course-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.course-card:hover .course-card-img img { transform: scale(1.05); }
.course-card-img-placeholder { flex-direction: column; gap: 0.5rem; color: var(--purple); opacity: 0.3; }
.course-card-img-placeholder i { font-size: 2.5rem; }
.course-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-card-level {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}
.course-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.course-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; flex: 1; }
.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.course-meta span { display: flex; align-items: center; gap: 0.3rem; }
.course-meta i { color: var(--purple); }
.course-card-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.course-price { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--purple); }
.course-price .original { text-decoration: line-through; color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-body); font-weight: 400; margin-left: 0.4rem; }

/* ---- COACHING PAGE ---- */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.package-card.featured {
  border-color: var(--purple);
  box-shadow: 0 10px 50px rgba(98,25,158,0.2);
  transform: translateY(-8px);
}
.package-card:hover { box-shadow: var(--shadow-lg); }
.package-header {
  padding: 2rem 1.75rem 1.5rem;
  background: var(--gray-100);
  position: relative;
}
.package-card.featured .package-header { background: var(--gradient-primary); color: var(--white); }
.package-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.package-card.featured .package-popular { background: var(--pink); }
.package-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.package-card.featured .package-name { color: var(--white); }
.package-price-wrap { margin: 0.75rem 0 0.5rem; }
.package-price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
}
.package-card.featured .package-price { color: var(--white); }
.package-price-period { font-size: 0.875rem; color: var(--text-muted); }
.package-card.featured .package-price-period { color: rgba(255,255,255,0.8); }
.package-desc { font-size: 0.875rem; color: var(--text-muted); }
.package-card.featured .package-desc { color: rgba(255,255,255,0.85); }
.package-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.package-features { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.package-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-body);
}
.package-feature i { color: var(--purple); flex-shrink: 0; margin-top: 3px; }
.package-feature.disabled { color: var(--text-muted); }
.package-feature.disabled i { color: var(--gray-400); }
.package-body .btn { margin-top: 2rem; width: 100%; justify-content: center; }

/* ---- CHALLENGE PAGE ---- */
.challenge-hero {
  background: var(--gradient-hero);
  padding: 6rem 0;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.challenge-hero h1 { color: var(--white); }
.challenge-hero p { color: rgba(255,255,255,0.85); }
.challenge-countdown {
  display: inline-flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.countdown-unit { text-align: center; }
.countdown-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.countdown-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.week-accordion { display: flex; flex-direction: column; gap: 1rem; }
.week-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(98,25,158,0.06);
}
.week-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.week-header:hover { background: var(--gray-100); }
.week-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.week-title { font-family: var(--font-heading); font-size: 1.05rem; color: var(--text-dark); flex: 1; }
.week-toggle { color: var(--purple); transition: var(--transition); }
.week-item.open .week-toggle { transform: rotate(180deg); }
.week-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.week-item.open .week-body { max-height: 500px; padding: 1.25rem 1.5rem 1.5rem; }
.week-days { display: flex; flex-direction: column; gap: 0.5rem; }
.day-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.day-item:hover { background: var(--gray-100); }
.day-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(98,25,158,0.1);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.day-title { flex: 1; color: var(--text-body); }
.day-icon { color: var(--pink); font-size: 0.8rem; }

/* ---- BLOG PAGE ---- */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.blog-search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.blog-search-bar input {
  flex: 1;
  padding: 0.8rem 1.25rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.blog-search-bar input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(98,25,158,0.1); }
.blog-categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.blog-featured-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
  transition: var(--transition);
}
.blog-featured-card:hover { box-shadow: var(--shadow-lg); }
.blog-featured-img {
  aspect-ratio: 4/3;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(98,25,158,0.06);
}
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gradient-soft); border-bottom-color: rgba(98,25,158,0.12); }
.sidebar-post {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
  transition: var(--transition);
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post:hover { padding-left: 4px; }
.sidebar-post-img {
  width: 60px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gradient-soft);
}
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; margin-bottom: 0.25rem; }
.sidebar-post-date { font-size: 0.75rem; color: var(--text-muted); }

/* ---- ADMIN DASHBOARD ---- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--text-dark);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 0.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1rem;
}
.admin-sidebar-logo span { font-family: var(--font-heading); color: var(--white); font-size: 1.05rem; }
.admin-sidebar-logo small { display: block; font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; }
.admin-nav-section { padding: 0.75rem 1.5rem 0.25rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  cursor: pointer;
  border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); border-left-color: var(--purple-light); }
.admin-nav-link i { width: 18px; text-align: center; font-size: 0.9rem; }
.admin-main { background: var(--gray-100); padding: 2rem; overflow-y: auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-header h2 { font-size: 1.5rem; color: var(--text-dark); }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.admin-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  flex-shrink: 0;
}
.admin-stat-value { font-size: 1.6rem; font-weight: 700; color: var(--text-dark); line-height: 1; }
.admin-stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
.admin-stat-change { font-size: 0.75rem; margin-top: 0.25rem; }
.admin-stat-change.up { color: #1a7a4a; }
.admin-stat-change.down { color: #c0392b; }
.admin-table-wrap { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-100); }
.status-pill {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}
.status-pill.confirmed { background: #e6f9f0; color: #1a7a4a; }
.status-pill.pending   { background: #fff8e1; color: #a67c00; }
.status-pill.cancelled { background: #ffeaea; color: #c0392b; }
.status-pill.active    { background: rgba(98,25,158,0.1); color: var(--purple); }
.admin-content-tab { display: none; }
.admin-content-tab.active { display: block; }
.admin-panel-wrap { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-sm); }

/* ---- RESPONSIVE COMPONENTS ---- */
@media (max-width: 1024px) {
  .booking-inner { grid-template-columns: 1fr; }
  .booking-info { padding: 2rem; }
  .packages-grid { grid-template-columns: 1fr; }
  .package-card.featured { transform: none; }
  .blog-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photo-wrap::before { display: none; }
  .about-photo-main { min-height: 340px; aspect-ratio: 4/3; }
  .about-photo-badge { right: 0; bottom: -14px; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .blog-featured-card { grid-template-columns: 1fr; }
  .chatbot-window { width: calc(100vw - 2rem); right: 1rem; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .admin-stats { grid-template-columns: 1fr; }
  .time-slots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   AUTH MODAL — Sign In / Register / Forgot / Reset
   ============================================= */

/* Wider modal box for the register form */
.auth-modal-box {
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Panel visibility */
.auth-panel { display: block; }

/* Input wrapper with icon */
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--purple);
  opacity: 0.5;
  font-size: 0.82rem;
  pointer-events: none;
  z-index: 1;
}
.form-control.auth-has-icon {
  padding-left: 2.4rem;
  padding-right: 2.75rem;
}
select.form-control.auth-has-icon {
  padding-left: 2.4rem;
}

/* Show/hide password eye button */
.auth-eye-btn {
  position: absolute;
  right: 0.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
  z-index: 2;
}
.auth-eye-btn:hover { color: var(--purple); }

/* Password strength meter */
.password-strength-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.password-strength-track {
  flex: 1;
  height: 5px;
  background: var(--gray-200);
  border-radius: 99px;
  overflow: hidden;
}
.password-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: #e0e0e0;
  transition: width 0.3s ease, background 0.3s ease;
}
.password-strength-label {
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 65px;
  text-align: right;
}

/* Error & success inline banners */
.auth-error,
.auth-success {
  display: none;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  animation: authMsgSlide 0.3s ease;
  line-height: 1.5;
}
@keyframes authMsgSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.auth-error {
  background: #fff5f5;
  border: 1.5px solid #ffcdd2;
  color: #c62828;
}
.auth-error i   { color: #e53935; margin-top: 0.1rem; flex-shrink: 0; }
.auth-success {
  background: #f1f8f1;
  border: 1.5px solid #a5d6a7;
  color: #2e7d32;
}
.auth-success i { color: #43a047; margin-top: 0.1rem; flex-shrink: 0; }

/* Submit button */
.auth-submit-btn {
  justify-content: center;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* Subtle text links (forgot / switch tab) */
.auth-text-btn {
  background: none;
  border: none;
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.auth-text-btn:hover { opacity: 0.75; }

/* Switch tab helper text */
.auth-switch-text {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Login tabs as buttons */
.login-tabs {
  display: flex;
  gap: 0;
  border-radius: 10px;
  background: var(--gray-100);
  padding: 0.25rem;
  margin-bottom: 1.5rem;
}
.login-tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  text-align: center;
}
.login-tab.active {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 1px 6px rgba(98,25,158,0.12);
}

/* Logged-in nav button */
.btn-login.logged-in {
  background: var(--gradient-primary);
  color: #fff !important;
  border-color: transparent;
}
.btn-login.logged-in:hover { opacity: 0.9; }

/* Account dropdown menu */
.account-dropdown {
  position: fixed;
  z-index: 9999;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(98,25,158,0.18);
  border: 1px solid rgba(98,25,158,0.1);
  min-width: 240px;
  padding: 0.5rem 0;
  animation: dropdownFade 0.2s ease;
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.account-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem 0.5rem;
}
.account-avatar {
  font-size: 2rem;
  color: var(--purple);
  line-height: 1;
}
.account-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-heading);
}
.account-email {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.account-menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-body);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  text-align: left;
}
.account-menu-item:hover { background: rgba(98,25,158,0.06); color: var(--purple); }
.account-menu-item i { width: 16px; color: var(--purple); opacity: 0.75; }
.account-menu-item.danger { color: #c62828; }
.account-menu-item.danger:hover { background: #fff5f5; color: #c62828; }
.account-menu-item.danger i { color: #e53935; }

@media (max-width: 600px) {
  .auth-modal-box { max-height: 100vh; border-radius: 18px 18px 0 0; }
}
