/* Modern CSS styling with smooth botanical animations and responsive layout. */

* {
  box-sizing: border-box;
}

:root {
  --green-dark: #094d29;
  --green-main: #0f7a3f;
  --green-light: #16a34a;
  --green-soft: #ecfdf5;
  --yellow-accent: #facc15;
  --yellow-soft: #fef9c3;
  --bg-page: #f0f7f2;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #d1fae5;
  --shadow: 0 8px 24px rgba(9, 77, 41, 0.08);
  --radius: 14px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background:
    radial-gradient(circle at 12% 15%, rgba(16, 185, 129, 0.22) 0%, transparent 38%),
    radial-gradient(circle at 88% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(250, 204, 21, 0.12) 0%, transparent 45%),
    linear-gradient(160deg, #06281b 0%, #0b3b27 45%, #071e26 100%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
}

a {
  color: var(--green-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-dark);
}

/* Space-Age Header */
.sc-header {
  background: linear-gradient(135deg, rgba(6, 40, 27, 0.92) 0%, rgba(15, 122, 63, 0.88) 60%, rgba(14, 116, 144, 0.85) 100%);
  backdrop-filter: blur(14px);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(52, 211, 153, 0.35);
  position: sticky;
  top: 0;
  z-index: 50;
}

.sc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.sc-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sc-brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.sc-brand-sub {
  font-size: 12px;
  color: #bbf7d0;
}

/* Ticker */
.sc-ticker {
  background: #06381d;
  color: #fef08a;
  font-size: 13px;
  padding: 6px 0;
  overflow: hidden;
  border-top: 1px solid rgba(250, 204, 21, 0.25);
}

.sc-ticker-track {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: tickerScroll 28s linear infinite;
}

.sc-ticker:hover .sc-ticker-track {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Main Grid */
.sc-container {
  max-width: 1260px;
  margin: 22px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 215px 1fr 260px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 980px) {
  .sc-container {
    grid-template-columns: 1fr;
  }
}

/* Glassmorphic Space-Age Cards */
.sc-card {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.7);
  box-shadow: 0 12px 32px rgba(2, 24, 15, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 20px;
  margin-bottom: 18px;
}

.sc-card-title {
  margin: 0 0 12px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sc-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sc-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.sc-nav a img {
  flex: 0 0 24px;
  width: 24px !important;
  height: 24px !important;
  display: block;
  object-fit: contain;
}

.sc-nav a:hover {
  background: var(--green-soft);
  color: var(--green-main);
  transform: translateX(3px);
}

.sc-nav a.active {
  background: linear-gradient(135deg, var(--green-main), var(--green-light));
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
}

.sc-nav-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 0;
}

/* Tactile 3D Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.15s ease;
  position: relative;
  text-decoration: none;
  letter-spacing: 0.1px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(2px);
}

.btn-primary, .btn-3d-green {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border-color: rgba(20, 83, 45, 0.35);
  box-shadow: 0 3px 0 #15803d, 0 5px 12px rgba(21, 128, 61, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:active, .btn-3d-green:active {
  box-shadow: 0 1px 0 #15803d, 0 2px 6px rgba(21, 128, 61, 0.2);
}

.btn-water, .btn-3d-blue {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  color: #ffffff;
  border-color: rgba(7, 89, 133, 0.35);
  box-shadow: 0 3px 0 #0369a1, 0 5px 12px rgba(2, 132, 199, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-water:active, .btn-3d-blue:active {
  box-shadow: 0 1px 0 #0369a1, 0 2px 6px rgba(2, 132, 199, 0.2);
}

.btn-fert, .btn-3d-gold {
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
  color: #422006;
  border-color: rgba(161, 98, 7, 0.35);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
  box-shadow: 0 3px 0 #ca8a04, 0 5px 12px rgba(234, 179, 8, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-fert:active, .btn-3d-gold:active {
  box-shadow: 0 1px 0 #ca8a04, 0 2px 6px rgba(234, 179, 8, 0.2);
}

.btn-love, .btn-3d-pink {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
  color: #ffffff;
  border-color: rgba(157, 23, 77, 0.35);
  box-shadow: 0 3px 0 #be185d, 0 5px 12px rgba(219, 39, 119, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-love:active, .btn-3d-pink:active {
  box-shadow: 0 1px 0 #be185d, 0 2px 6px rgba(219, 39, 119, 0.2);
}

.btn-danger {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  color: #ffffff;
  border-color: rgba(127, 29, 29, 0.35);
  box-shadow: 0 3px 0 #b91c1c, 0 5px 12px rgba(220, 38, 38, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-danger:active {
  box-shadow: 0 1px 0 #b91c1c;
}

.btn-neutral {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: #334155;
  border: 1.5px solid #cbd5e1;
  text-shadow: none;
  box-shadow: 0 2px 0 #cbd5e1;
}

.btn-sm {
  padding: 6px 12px;
  min-height: 32px;
  font-size: 12px;
  border-radius: 9px;
}

/* 3D Care Pod & Pill Selectors */
.care-pod-3d {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06), inset 0 2px 0 rgba(255, 255, 255, 0.9);
}

.care-pod-water { border-color: #bae6fd; background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%); }
.care-pod-fert  { border-color: #fde68a; background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%); }
.care-pod-light { border-color: #bbf7d0; background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%); }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 8px;
}

.pill-opt input {
  display: none;
}

.pill-opt span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 100%;
  text-align: center;
  padding: 6px 4px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  background: #ffffff;
  color: #334155;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 3px 0 #cbd5e1;
  transition: all 0.15s ease;
}

.pill-opt input:checked + span {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  border-color: #15803d;
  box-shadow: 0 3px 0 #0b4f26;
  transform: translateY(-1px);
}

.pill-opt.water input:checked + span {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  border-color: #0284c7;
  box-shadow: 0 3px 0 #075985;
}

.pill-opt.fert input:checked + span {
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  border-color: #d97706;
  box-shadow: 0 3px 0 #92400e;
}

.sc-input, .sc-select, .sc-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #ffffff;
}

.sc-input:focus, .sc-select:focus, .sc-textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

/* Tables */
.sc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sc-table th {
  background: var(--green-soft);
  color: var(--green-dark);
  text-align: left;
  padding: 10px 8px;
  font-weight: 700;
  border-bottom: 2px solid #a7f3d0;
}

.sc-table td {
  padding: 9px 8px;
  border-bottom: 1px solid #f1f5f9;
}

.sc-table tr:hover td {
  background: #f8fafc;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.badge-happy { background: #dcfce7; color: #166534; }
.badge-sad { background: #fef3c7; color: #92400e; }
.badge-angry { background: #fee2e2; color: #991b1b; }
.badge-dead { background: #e2e8f0; color: #475569; }
.badge-flolira { background: #fef08a; color: #854d0e; font-size: 12px; padding: 4px 12px; }

/* Progress Bars */
.stat-bar-wrap {
  margin-bottom: 10px;
}

.stat-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stat-bar-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated Flower Stage */
.flower-stage {
  position: relative;
  border-radius: 16px;
  padding: 36px 20px 28px;
  text-align: center;
  overflow: hidden;
  border: 2px solid #bbf7d0;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
}

.flower-stage.place-gölge {
  background: linear-gradient(180deg, #475569 0%, #94a3b8 65%, #cbd5e1 100%);
  color: #f8fafc;
}

.flower-stage.place-pencere {
  background: linear-gradient(180deg, #bae6fd 0%, #e0f2fe 65%, #f0fdf4 100%);
}

.flower-stage.place-güneş {
  background: linear-gradient(180deg, #38bdf8 0%, #fef08a 70%, #dcfce7 100%);
}

.flower-svg-wrap {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.12));
  transition: transform 0.35s ease;
}

.flower-svg-wrap.mood-boynunu {
  transform: rotate(-4deg);
}

.sun-orb {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 20%, #facc15 100%);
  box-shadow: 0 0 28px rgba(250, 204, 21, 0.7);
}

/* Clean subtle care ripple & droplet effects (no constant swaying) */
.particle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.care-ripple {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  border: 2.5px solid rgba(22, 163, 74, 0.65);
  animation: careRipple 0.9s ease-out forwards;
}

.care-ripple.water { border-color: rgba(14, 165, 233, 0.75); }
.care-ripple.fert  { border-color: rgba(245, 158, 11, 0.75); }
.care-ripple.love  { border-color: rgba(236, 72, 153, 0.75); }

@keyframes careRipple {
  0%   { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(7.5); opacity: 0; }
}

.clean-drop {
  position: absolute;
  width: 7px;
  height: 11px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: rgba(56, 189, 248, 0.85);
  animation: cleanDropFall 0.85s ease-in forwards;
}

@keyframes cleanDropFall {
  0%   { transform: translateY(-10px); opacity: 0.95; }
  100% { transform: translateY(155px); opacity: 0; }
}

.clean-spark {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: cleanSparkRise 1s ease-out forwards;
}

@keyframes cleanSparkRise {
  0%   { transform: translateY(0) scale(0.6); opacity: 0.95; }
  100% { transform: translateY(-110px) scale(1.2); opacity: 0; }
}

.place-btn {
  padding: 6px 10px;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 0 #cbd5e1, 0 6px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.15s ease;
}

.place-btn:hover {
  transform: translateY(-1px);
}

.place-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #cbd5e1;
}

.place-btn.active {
  border-color: var(--green-main);
  background: linear-gradient(180deg, #fef9c3 0%, #fde047 100%);
  box-shadow: 0 4px 0 #ca8a04, 0 6px 14px rgba(22, 163, 74, 0.25);
}

.sc-footer {
  text-align: center;
  padding: 22px;
  font-size: 12px;
  color: #a7f3d0;
}

.sc-footer a {
  color: #fde047;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}

.social-pill:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.notice-box {
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  animation: fadeIn 0.3s ease;
}

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

/* Admin Tabs, Filter Toolbars & Scrollable Viewports */
.sc-admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sc-admin-stat-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  padding: 11px 8px;
  text-align: center;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sc-admin-stat-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.sc-admin-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 8px;
  margin-top: 14px;
}

.sc-admin-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 0 #e2e8f0;
  transition: all 0.15s ease;
}

.sc-admin-tab-full {
  grid-column: 1 / -1;
  justify-content: center;
  padding: 8px 14px;
  background: #f8fafc;
}

.sc-admin-tab:hover {
  background: #f0fdf4;
  border-color: #16a34a;
  color: #14532d;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(22, 163, 74, 0.14);
}

.sc-admin-tab.active {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #ffffff;
  border-color: #15803d;
  box-shadow: 0 3px 0 #0b4f26, 0 5px 12px rgba(22, 163, 74, 0.22);
}

.sc-tab-count {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.sc-admin-tab.active .sc-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.sc-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
  align-items: end;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.sc-filter-bar label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 3px;
}

.sc-scroll-box {
  max-height: 520px;
  overflow-y: auto;
  padding: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 2px 6px rgba(15, 23, 42, 0.04);
}

.sc-scroll-box::-webkit-scrollbar {
  width: 8px;
}

.sc-scroll-box::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 8px;
}

.sc-scroll-box::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 8px;
}

.sc-scroll-box::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Responsive Layout & Mobile Adaptations */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.sc-main-col, .sc-left-aside, .sc-right-aside, .sc-card {
  min-width: 0;
}

.sc-mobile-toggle {
  display: none;
}

.sc-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sc-stages-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  margin-top: 10px;
}

.sc-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sc-flower-inputs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.sc-filter-wide {
  grid-column: span 2;
}

@media (max-width: 980px) {
  .sc-mobile-toggle {
    display: inline-flex;
  }
  .sc-container {
    margin: 14px auto;
    padding: 0 10px;
    gap: 14px;
  }
  .sc-main-col {
    order: 1;
  }
  .sc-right-aside {
    order: 2;
  }
  .sc-left-aside {
    order: 0;
    display: none;
  }
  .sc-left-aside.open {
    display: block;
    animation: fadeIn 0.2s ease;
  }
}

@media (max-width: 680px) {
  .sc-stages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sc-flower-inputs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sc-filter-bar {
    grid-template-columns: 1fr;
  }
  .sc-filter-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .sc-header-inner {
    padding: 10px 12px;
    gap: 10px;
  }
  .sc-brand img {
    width: 38px;
    height: 38px;
  }
  .sc-brand-title {
    font-size: 17px;
  }
  .sc-brand-sub {
    font-size: 11px;
  }
  .sc-card {
    padding: 14px;
    border-radius: 14px;
  }
  .sc-form-2col {
    grid-template-columns: 1fr;
  }
  .sc-admin-tabs {
    grid-template-columns: 1fr;
  }
  .sc-admin-stat-link {
    padding: 9px 4px;
    font-size: 12px;
  }
}

@media (max-width: 460px) {
  .pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flower-stage {
    min-height: 360px;
    padding: 20px 10px;
  }
  .sc-hero-rig {
    max-width: 100%;
    height: auto !important;
  }
  .sc-flower-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sc-stages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Chat Bubbles for Messages */
.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 440px;
  overflow-y: auto;
  padding: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
}

.chat-bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.chat-bubble-me {
  align-self: flex-end;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border: 1px solid #86efac;
  color: #14532d;
}

.chat-bubble-them {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.flower-stage.bg-balcony {
  background: linear-gradient(180deg, #7dd3fc 0%, #fef9c3 62%, #d9f99d 100%);
  border-color: #fde047;
}

.flower-stage.bg-night {
  background: radial-gradient(circle at 80% 18%, #fef08a 0%, #312e81 18%, #0f172a 70%, #1e293b 100%);
  border-color: #6366f1;
  color: #f8fafc;
}

.pagination-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 14px 0;
}
