/* ========================================
   HEN SUBSCRIPTION APP - NEW DESIGN STYLES
   ======================================== */

/* ========================================
   1. RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: linear-gradient(to bottom, #ecfdf5, #dbeafe);
  background-attachment: fixed;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   2. BASE LAYOUT
   ======================================== */

.app-container {
  padding-bottom: 5rem;
}

.main-content {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 1.5rem;
  max-width: 448px;
  margin: 0 auto;
}

/* ========================================
   3. LOGIN/SIGNUP PAGE STYLES
   ======================================== */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #fed7aa, #fce7f3, #e9d5ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-container {
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
}

.login-card-new {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  border: 2px solid #e9d5ff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  width: 100%;
}

.login-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-circle-new {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #fde68a, #fb923c, #f9a8d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 4px solid #fed7aa;
  font-size: 3rem;
}

.logo-emoji {
  font-size: 2.5rem;
}

.login-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: #6b7280;
  font-size: 0.9375rem;
}

.gradient-text {
  background: linear-gradient(to right, #ea580c, #db2777, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Styles */
.login-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  border: 2px solid #e9d5ff;
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}

.form-input:focus {
  border-color: #a855f7;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: #a855f7;
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-control {
  border: 2px solid #e5e7eb !important;
  border-radius: 0.75rem !important;
  padding: 0.625rem 0.875rem !important;
  font-size: 1rem !important;
}

.form-control:focus {
  border-color: #a855f7 !important;
  box-shadow: none !important;
}

.form-link {
  color: #a855f7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-link:hover {
  color: #9333ea;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7c3aed;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.back-btn:hover {
  color: #6d28d9;
}

.back-btn-new {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #7c3aed;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.info-box {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 2px solid #bbf7d0;
  padding: 1rem;
  border-radius: 0.75rem;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid #ef4444;
}

.alert-error-new {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid #ef4444;
}

/* ========================================
   4. BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gradient {
  background: linear-gradient(to right, #ec4899, #f43f5e, #f97316);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
}

.btn-gradient:hover {
  background: linear-gradient(to right, #db2777, #e11d48, #ea6c10);
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-full {
  width: 100%;
  display: block;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-outline-blue {
  background: white;
  color: #3b82f6;
  border: 2px solid #3b82f6;
}

.btn-outline-blue:hover {
  background: #3b82f6;
  color: white;
}

.btn-outline-green {
  background: white;
  color: #10b981;
  border: 2px solid #10b981;
}

.btn-outline-green:hover {
  background: #10b981;
  color: white;
}

.btn-outline-purple {
  background: transparent;
  border: 2px solid #c084fc;
  color: #7c3aed;
  border-radius: 8px;
  padding: 0.625rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-outline-purple:hover {
  background: #a855f7;
  color: white;
}

.btn-outline-red {
  background: transparent;
  border: 2px solid #fca5a5;
  color: #dc2626;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.btn-outline-red:hover {
  background: #ef4444;
  color: white;
}

.btn-green {
  background: linear-gradient(to right, #16a34a, #059669);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.btn-back:hover {
  color: #1f2937;
}

.btn-indigo {
  background: #6366f1;
  color: white;
}

/* ========================================
   5. CARDS
   ======================================== */

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-new {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-body {
  padding: 1.5rem;
}

.card-content {
  padding: 1.5rem;
}

/* Card Color Variants */
.card-green {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 1px solid #bbf7d0;
}

.card-green-gradient {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 2px solid #10b981;
}

.card-amber {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
}

.card-amber-gradient {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.card-blue {
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border: 1px solid #bfdbfe;
}

.card-blue-gradient {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.card-purple {
  background: linear-gradient(135deg, #faf5ff, #fdf4ff);
  border: 1px solid #e9d5ff;
}

.card-purple-gradient {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.card-orange {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
}

.card-pink {
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  border: 1px solid #f9a8d4;
}

.card-hen {
  background: linear-gradient(135deg, #fef9c3, #ffedd5, #fce7f3);
  border: 2px solid #fb923c;
}

.card-emerald {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5, #ccfbf1);
  border: 2px solid #2dd4bf;
}

.card-red {
  background: linear-gradient(135deg, #fecaca, #fca5a5);
  border: 2px solid #ef4444;
}

.card-cyan {
  background: linear-gradient(135deg, #cffafe, #a5f3fc);
  border: 2px solid #06b6d4;
}

.card-indigo {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  border: 2px solid #6366f1;
}

.card-teal {
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  border: 2px solid #99f6e4;
}

.card-teal-gradient {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.card-gray {
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
}

/* ========================================
   6. TYPOGRAPHY & UTILITIES
   ======================================== */

h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* Text Colors */
.text-gray { color: #6b7280; }
.text-gray-dark { color: #1f2937; }
.text-blue { color: #3b82f6; }
.text-blue-light { color: #60a5fa; }
.text-blue-dark { color: #1e3a8a; }
.text-indigo { color: #6366f1; }
.text-indigo-light { color: #818cf8; }
.text-purple { color: #a855f7; }
.text-green { color: #10b981; }
.text-amber { color: #f59e0b; }
.text-amber-dark { color: #d97706; }
.text-orange { color: #f97316; }
.text-red { color: #ef4444; }
.text-cyan { color: #06b6d4; }
.text-cyan-dark { color: #0e7490; }

/* Text Sizes */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }

/* Text Alignment */
.text-center { text-align: center; }
.border-top { border-top: 1px solid #e5e7eb; }

/* Flex utilities */
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-start { display: flex; align-items: flex-start; gap: 0.75rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.col-span-2 { grid-column: span 2; }

/* ========================================
   7. PHONE INPUT
   ======================================== */

.phone-input-group {
  display: flex;
  align-items: center;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f9fafb;
  transition: border-color 0.2s;
}

.phone-input-group:focus-within {
  border-color: #f97316;
  background: #fff;
}

.phone-prefix-select {
  padding: 0 0.5rem;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border: none;
  border-right: 2px solid #e5e7eb;
  font-size: 0.875rem;
  height: 2.85rem;
  width: 90px;
  cursor: pointer;
  outline: none;
}

.phone-input-group .form-control {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  flex: 1;
  box-shadow: none !important;
}

.phone-group {
  display: flex;
  border: 2px solid #e9d5ff;
  border-radius: 8px;
  overflow: hidden;
}

.phone-prefix {
  border: none;
  background: #f3f4f6;
  border-right: 2px solid #e9d5ff;
  padding: 0.625rem 0.5rem;
  font-weight: 600;
  color: #374151;
  outline: none;
  width: 95px;
}

.phone-num {
  flex: 1;
  border: none;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  outline: none;
}

/* ========================================
   8. BOTTOM NAVIGATION
   ======================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.07);
  z-index: 50;
}

.bottom-nav-new {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  z-index: 50;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.07);
}

.bottom-nav-new .nav-inner {
  max-width: 448px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: #9ca3af;
  transition: all 0.3s ease;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
}

.nav-item-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #6b7280;
}

.nav-item.active {
  color: #16a34a;
}

.nav-item-new.active {
  color: #16a34a;
}

.nav-item-new.active .nav-icon-wrap {
  background: #dcfce7;
}

.nav-item-new .nav-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav-icon {
  font-size: 1.5rem;
}

.nav-label {
  font-size: 0.6875rem;
  font-weight: 600;
}

/* ========================================
   9. HOME PAGE COMPONENTS
   ======================================== */

.welcome-header {
  margin-bottom: 1.5rem;
}

.greeting {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.greeting-subtitle {
  color: #6b7280;
  font-size: 0.9375rem;
}

.hero-card {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.hero-content h2 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.subscription-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.subscription-status {
  background: #10b981;
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.subscription-details {
  display: grid;
  gap: 0.75rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  color: #6b7280;
  font-size: 0.9375rem;
}

.detail-value {
  color: #1f2937;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Quick Stats Grid */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-card .card-content {
  text-align: center;
  padding: 1.25rem;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
}

.action-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

/* Background Colors for Action Icons */
.bg-amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.bg-blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.bg-green { background: linear-gradient(135deg, #34d399, #10b981); }
.bg-cyan { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
.bg-purple { background: linear-gradient(135deg, #c084fc, #a855f7); }
.bg-indigo { background: linear-gradient(135deg, #818cf8, #6366f1); }
.bg-red { background: linear-gradient(135deg, #f87171, #ef4444); }
.bg-gray { background: linear-gradient(135deg, #9ca3af, #6b7280); }

/* ========================================
   10. HEN CARDS
   ======================================== */

.hen-card-header {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.hen-card-body {
  border-top: 2px solid #fb923c;
  background: rgba(255, 255, 255, 0.6);
  padding: 1rem;
}

.hen-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #fed7aa;
  font-size: 0.875rem;
}

.delivery-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to right, #dcfce7, #d1fae5);
  border-radius: 8px;
  border: 2px solid #86efac;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.hens-grid {
  display: grid;
  gap: 1rem;
}

.hen-card {
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hen-card-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hen-card-info {
  flex: 1;
}

.hen-card-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.hen-card-info p {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.hen-card-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.hen-card-stat {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* MY HEN PAGE */
.hen-profile {
  text-align: center;
}

.hen-avatar {
  width: 6rem;
  height: 6rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hen-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.hen-breed {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.hen-age {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.hen-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.hen-stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.25rem;
}

.hen-info-grid {
  display: grid;
  gap: 1rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-content p {
  font-size: 0.875rem;
  margin: 0;
}

/* ========================================
   11. ORDERS PAGE
   ======================================== */

.order-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.order-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
}

.order-tab.active {
  background: white;
  color: #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-card {
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-hen-box {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin: 0.75rem 0;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.order-number {
  font-weight: 700;
  color: #1f2937;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.order-date {
  color: #6b7280;
  font-size: 0.8125rem;
}

.order-badge {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-upcoming {
  background: #dbeafe;
  color: #1e3a8a;
}

.badge-delivered {
  background: #d1fae5;
  color: #065f46;
}

.badge-green {
  background: #dcfce7;
  color: #166534;
}

.badge-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.order-items {
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.item-icon {
  font-size: 2rem;
}

.item-details {
  flex: 1;
}

.item-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9375rem;
}

.item-hen {
  color: #6b7280;
  font-size: 0.8125rem;
}

.item-quantity {
  font-weight: 700;
  color: #6b7280;
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.order-total {
  color: #6b7280;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}

.order-total-amount {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.125rem;
}

.track-button {
  padding: 0.625rem 1.25rem;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.track-button:hover {
  background: #2563eb;
}

/* ========================================
   12. IMPACT PAGE
   ======================================== */

.impact-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.impact-hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.impact-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.impact-hero p {
  color: #6b7280;
  font-size: 1rem;
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.impact-stat-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.impact-stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.impact-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.impact-stat-label {
  color: #6b7280;
  font-size: 0.875rem;
}

.progress-item {
  margin-bottom: 1.25rem;
}

.progress-item:last-child {
  margin-bottom: 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-label {
  color: #374151;
  font-weight: 600;
  font-size: 0.9375rem;
}

.progress-value {
  font-weight: 700;
  font-size: 0.9375rem;
}

.progress-bar {
  height: 0.75rem;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.progress-fill-green { background: linear-gradient(90deg, #10b981, #059669); }
.progress-fill-blue { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.progress-fill-amber { background: linear-gradient(90deg, #f59e0b, #d97706); }

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.achievement-card {
  background: white;
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.achievement-card.locked {
  opacity: 0.4;
}

.achievement-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.achievement-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

/* ========================================
   13. PROFILE PAGE
   ======================================== */

.profile-header {
  text-align: center;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.profile-email {
  color: #6b7280;
  font-size: 0.9375rem;
}

.menu-section {
  margin-bottom: 2rem;
}

.menu-section h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.menu-list {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: left;
  text-decoration: none;
  color: #1f2937;
}

.menu-item + .menu-item {
  border-top: 1px solid #f3f4f6;
}

.menu-item:hover {
  background: #f9fafb;
}

.menu-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.875rem;
  font-size: 1.125rem;
}

.menu-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.menu-item-content {
  flex: 1;
}

.menu-item-title {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9375rem;
  margin-bottom: 0.125rem;
}

.menu-item-subtitle {
  color: #6b7280;
  font-size: 0.8125rem;
}

.menu-item-arrow {
  color: #d1d5db;
  font-size: 1.5rem;
}

/* ========================================
   14. NOTIFICATIONS PAGE
   ======================================== */

.notif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  font-size: 0.875rem;
}

.notif-row + .notif-row {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.notif-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.125rem;
}

.notif-sub {
  color: #6b7280;
  font-size: 0.8rem;
}

.toggle-checkbox {
  width: 2.5rem;
  height: 1.25rem;
  appearance: none;
  background: #d1d5db;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-checkbox:checked {
  background: #16a34a;
}

.toggle-checkbox::after {
  content: '';
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: white;
  border-radius: 50%;
  top: 0.125rem;
  left: 0.125rem;
  transition: left 0.2s;
}

.toggle-checkbox:checked::after {
  left: 1.25rem;
}

/* ========================================
   15. FAQ / SUPPORT
   ======================================== */

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.faq-answer {
  padding: 0.75rem 1rem;
  background: #f9fafb;
  font-size: 0.875rem;
  color: #6b7280;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   16. STEP CHAIN (BIO-ENHANCER)
   ======================================== */

.step-arrow {
  text-align: center;
  color: #818cf8;
  font-size: 1.5rem;
  margin: 0.25rem 0;
}

.step-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   17. FARM CARDS
   ======================================== */

.farm-contact {
  font-size: 0.8125rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

/* ========================================
   18. STATS BOX
   ======================================== */

.stat-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ========================================
   19. DIVIDER
   ======================================== */

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.divider-text {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   20. ICON CIRCLES
   ======================================== */

.icon-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.icon-circle-green {
  background: linear-gradient(135deg, #4ade80, #10b981);
}

.icon-circle-blue {
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
}

.icon-circle-purple {
  background: linear-gradient(135deg, #c084fc, #ec4899);
}

.icon-circle-orange {
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

/* ========================================
   21. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 480px) {
  .quick-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   22. ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.4s ease;
}
