/* ==========================================================================
   المستشار الزراعي الذكي — Mobile-First Native App UI (60 / 30 / 10 Palette)
   ========================================================================== */

:root {
  /* 60% Neutral Surfaces */
  --bg-canvas: #F6F7F5;
  --bg-card: #FFFFFF;
  --border-card: #DCE3E0;
  --bg-subtle: #EEF2F0;

  /* 30% Petroleum Navy & Agricultural Green */
  --navy-primary: #0F1E26;
  --navy-secondary: #162933;
  --green-primary: #236454;
  --green-active: #2E806B;
  --green-tint: rgba(35, 100, 84, 0.10);

  /* 10% Accents & Semantic Alerts */
  --amber-accent: #DF7A35;
  --amber-tint: rgba(223, 122, 53, 0.12);
  --danger-red: #C93B2B;
  --danger-tint: rgba(201, 59, 43, 0.10);

  /* Typography Colors */
  --text-dark: #182024;
  --text-muted: #56656C;
  --text-light: #EDF1F2;
  --text-light-muted: #9EB0B8;

  /* Elevations & Radii */
  --radius-card: 20px;
  --radius-tile: 14px;
  --radius-pill: 999px;
  --shadow-soft: 0 8px 24px rgba(15, 30, 38, 0.06);
  --shadow-hero: 0 12px 28px rgba(15, 30, 38, 0.10);
  --shadow-sheet: 0 -10px 32px rgba(15, 30, 38, 0.18);

  /* Strict Layout Metrics */
  --topbar-h: 58px;
  --bottomnav-h: 66px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: #E7ECEA;
  color: var(--text-dark);
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   App Shell (Max 480px Centered on Desktop, 100% on Mobile 360px-430px)
   ========================================================================== */
.app-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  background-color: var(--bg-canvas);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(15, 30, 38, 0.08);
}

/* ==========================================================================
   1. Splash Screen (Full-Viewport Centered, 1.5s Progress)
   ========================================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  z-index: 200;
  background-color: var(--navy-primary);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px calc(36px + env(safe-area-inset-bottom, 0px));
  transition: opacity 0.36s ease, visibility 0.36s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-center {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.splash-logo-anim {
  animation: splashLogoIn 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes splashLogoIn {
  from {
    opacity: 0;
    transform: scale(0.76);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.splash-title {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 0.1px;
}

.splash-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-light-muted);
  max-width: 280px;
}

.splash-loader-wrap {
  width: 100%;
  max-width: 220px;
}

.splash-progress-track {
  width: 100%;
  height: 4px;
  border-radius: var(--radius-pill);
  background-color: rgba(237, 241, 242, 0.14);
  overflow: hidden;
}

.splash-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--green-active), var(--amber-accent));
  animation: splashFill 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes splashFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ==========================================================================
   2. Swipeable Onboarding Carousel (100% Centered Full-Screen)
   ========================================================================== */
@keyframes fadeOnly {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.onboarding-overlay {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  z-index: 150;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  animation: fadeOnly 240ms ease forwards;
}

.onboarding-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  flex-shrink: 0;
}

.onboarding-step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.onboarding-skip-btn {
  border: none;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.onboarding-viewport {
  flex: 1;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  touch-action: pan-y;
}

.onboarding-track {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.onboarding-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  padding: 12px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.onboarding-art {
  margin-bottom: 4px;
}

.onboarding-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.onboarding-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 330px;
}

.onboarding-footer {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.onboarding-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.ob-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--border-card);
  transition: width 0.24s ease, background-color 0.24s ease;
}

.ob-dot.active {
  width: 24px;
  background-color: var(--green-primary);
}

/* ==========================================================================
   Strict Typography Scale
   ========================================================================== */
.app-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-light);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.body-text {
  margin: 0;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.6;
}

.muted-text {
  color: var(--text-muted);
}

.sub-label,
.badge {
  font-size: 11.5px;
  font-weight: 500;
}

/* ==========================================================================
   Top App Bar (Fixed 58px, #0F1E26)
   ========================================================================== */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  width: 100%;
  background-color: var(--navy-primary);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid rgba(237, 241, 242, 0.06);
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.brand-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.header-guide-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(237, 241, 242, 0.16);
  background-color: var(--navy-secondary);
  color: var(--text-light-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  max-width: 102px;
  padding: 0 8px;
  border: 1px solid rgba(46, 128, 107, 0.45);
  border-radius: var(--radius-pill);
  background-color: var(--navy-secondary);
  color: var(--text-light);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.location-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-pill svg {
  color: var(--amber-accent);
  flex-shrink: 0;
}

/* Tactile Active Feedback Across Interactive Elements */
button:active,
.visual-choice-card:active .choice-card-inner,
.seg-pill:active span,
.op-type-pill:active .op-pill-box,
.gov-card-btn:active,
.quick-chip:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Views Container & Smooth Screen Transitions
   ========================================================================== */
.views-container {
  flex: 1;
  width: 100%;
  padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 12px) + 16px);
}

.view-screen {
  display: none;
  width: 100%;
}

.view-screen.active {
  display: block;
  animation: viewEnter 260ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

/* ==========================================================================
   Screen 1: Dark-to-Light Hero Weather & Floating Card
   ========================================================================== */
.hero-backdrop {
  background: linear-gradient(180deg, var(--navy-primary) 0%, var(--navy-secondary) 100%);
  color: var(--text-light);
  padding: 12px 16px 46px;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
}

.hero-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hero-location-meta {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--amber-accent);
  margin-bottom: 2px;
}

.hero-region {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-light);
}

.hero-condition {
  margin: 3px 0 0;
  font-size: 12.5px;
  font-weight: 500;
  color: #B4D8CE;
}

.hero-action-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(237, 241, 242, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-light);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.screen-body {
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 15px;
  box-shadow: var(--shadow-soft);
}

.weather-card {
  margin-top: -32px;
  box-shadow: var(--shadow-hero);
  padding: 14px 10px;
}

.weather-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.weather-metric {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 3px;
  border-radius: 14px;
  background-color: var(--bg-canvas);
}

.metric-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.icon-sun {
  background-color: var(--amber-tint);
  color: var(--amber-accent);
}

.icon-humidity {
  background-color: var(--green-tint);
  color: var(--green-primary);
}

.icon-wind {
  background-color: rgba(15, 30, 38, 0.08);
  color: var(--navy-primary);
}

.icon-frost {
  background-color: var(--danger-tint);
  color: var(--danger-red);
}

.metric-label {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

.metric-value {
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   Empty State Card
   ========================================================================== */
.empty-state-card {
  text-align: center;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.empty-illustration {
  margin-bottom: 2px;
}

/* ==========================================================================
   Active Crop Dashboard, PHI Banner & Alerts
   ========================================================================== */
.dashboard-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phi-banner {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.phi-banner.phi-safe {
  background-color: rgba(35, 100, 84, 0.11);
  border-color: rgba(35, 100, 84, 0.28);
  color: var(--green-primary);
}

.phi-banner.phi-danger {
  background-color: rgba(201, 59, 43, 0.12);
  border-color: rgba(201, 59, 43, 0.35);
  color: var(--danger-red);
}

.phi-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.phi-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.phi-title {
  font-size: 14px;
  font-weight: 800;
}

.phi-sub {
  font-size: 11.5px;
  color: var(--text-dark);
  opacity: 0.85;
}

.crop-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.crop-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.crop-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-tile);
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.crop-title-meta {
  min-width: 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 3px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.badge-neutral {
  background-color: var(--bg-subtle);
  color: var(--text-dark);
}

.badge-green {
  background-color: var(--green-tint);
  color: var(--green-primary);
}

.badge-amber {
  background-color: var(--amber-tint);
  color: var(--amber-accent);
}

.badge-red {
  background-color: var(--danger-tint);
  color: var(--danger-red);
}

.crop-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn-soft {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.icon-btn-soft:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.icon-btn-danger {
  color: var(--danger-red);
  border-color: rgba(201, 59, 43, 0.25);
  background-color: rgba(201, 59, 43, 0.05);
}

.crop-stage-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--navy-primary);
  color: var(--text-light);
  border-radius: 15px;
  padding: 11px 14px;
  margin-bottom: 10px;
}

.stage-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.stage-stat-wide {
  flex: 1;
}

.stage-stat .sub-label {
  color: var(--text-light-muted);
}

.stage-stat-val {
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.25;
}

.stage-stat-wide .stage-stat-val {
  font-size: 14px;
  color: var(--amber-accent);
}

.stage-divider {
  width: 1px;
  height: 30px;
  background-color: rgba(237, 241, 242, 0.14);
}

.field-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.recommendations-box {
  background-color: var(--bg-canvas);
  border-radius: 14px;
  padding: 11px 12px;
  border: 1px solid var(--border-card);
}

.section-mini-title {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--green-primary);
}

.advice-list {
  margin: 0;
  padding: 0 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--text-dark);
}

/* Proactive Alerts */
.card-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.header-with-icon {
  display: flex;
  align-items: center;
  gap: 7px;
}

.alerts-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alert-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 14px;
  background-color: var(--bg-canvas);
  border-right: 3.5px solid var(--green-primary);
}

.alert-item.severity-high {
  background-color: rgba(201, 59, 43, 0.06);
  border-right-color: var(--danger-red);
}

.alert-item.severity-medium {
  background-color: rgba(223, 122, 53, 0.08);
  border-right-color: var(--amber-accent);
}

.alert-item-body {
  min-width: 0;
  flex: 1;
}

.alert-item-title {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.alert-item-desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.msg-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.share-consult-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(35, 100, 84, 0.28);
  background-color: #FFFFFF;
  color: var(--green-primary);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.share-consult-btn:hover {
  background-color: var(--green-tint);
}

.msg-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.msg-audio-btn:hover {
  border-color: var(--amber-accent);
  color: var(--amber-accent);
}

.msg-audio-btn.speaking {
  background-color: var(--amber-tint);
  border-color: var(--amber-accent);
  color: var(--amber-accent);
}

/* ==========================================================================
   Buttons System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  min-height: 48px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  background-color: var(--green-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(35, 100, 84, 0.22);
}

.btn-primary:hover {
  background-color: var(--green-active);
}

.btn-neutral {
  background-color: var(--bg-subtle);
  color: var(--text-dark);
}

.btn-danger {
  background-color: var(--danger-red);
  color: #FFFFFF;
}

.btn-outline-sm {
  min-height: 34px;
  height: 34px;
  padding: 0 11px;
  border-radius: 11px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-card);
  color: var(--text-dark);
  font-size: 12px;
}

/* ==========================================================================
   Screen 2: Smart Advisor Chat
   ========================================================================== */
.chat-layout {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - var(--topbar-h) - var(--bottomnav-h) - env(safe-area-inset-bottom, 0px));
  min-height: 420px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-welcome-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background-color: var(--green-tint);
  color: var(--green-primary);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.msg-bubble {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  word-wrap: break-word;
  animation: viewEnter 220ms ease forwards;
}

.msg-user {
  align-self: flex-start;
  background-color: var(--navy-primary);
  color: var(--text-light);
  border-bottom-right-radius: 5px;
}

.msg-ai {
  align-self: flex-end;
  background-color: var(--bg-card);
  color: var(--text-dark);
  border: 1px solid var(--border-card);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg-ai.msg-error {
  border-color: rgba(201, 59, 43, 0.35);
  background-color: rgba(201, 59, 43, 0.05);
  color: var(--danger-red);
  font-weight: 700;
}

.msg-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 210px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.msg-attached-img {
  display: block;
  width: 100%;
  height: auto;
}

.img-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 38, 0.68);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  color: #FFFFFF;
  transition: opacity 0.3s ease;
}

.img-upload-overlay.upload-done {
  background: rgba(35, 100, 84, 0.72);
}

.upload-percent-text {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
}

.upload-progress-track {
  width: 80%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  width: 0%;
  background: #4AD295;
  border-radius: 999px;
  transition: width 0.12s linear;
}

.msg-ai h4 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green-primary);
}

.msg-ai p {
  margin: 0 0 6px;
}

.msg-ai p:last-child {
  margin-bottom: 0;
}

.msg-ai ul {
  margin: 4px 0 6px;
  padding: 0 16px 0 0;
}

.typing-bubble {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-primary);
  animation: dotPulse 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 80%, 100% {
    transform: scale(0.65);
    opacity: 0.45;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.chat-dock {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-card);
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dialect-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 11px;
  background-color: var(--amber-tint);
  color: var(--text-dark);
  font-size: 11.5px;
  font-weight: 700;
}

.dialect-banner svg {
  color: var(--amber-accent);
  flex-shrink: 0;
}

.image-preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-card);
}

.preview-thumb-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.preview-thumb-wrap img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 9px;
}

.preview-meta {
  display: flex;
  flex-direction: column;
}

.remove-thumb-btn {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: var(--danger-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quick-chips-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.quick-chips-scroll::-webkit-scrollbar {
  display: none;
}

.quick-chip {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.quick-chip:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.chat-input-bar {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.chat-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

#chatTextInput {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  max-height: 92px;
  padding: 8px 12px;
  border-radius: 13px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.45;
  resize: none;
  outline: none;
}

#chatTextInput:focus {
  border-color: var(--green-primary);
  background-color: #FFFFFF;
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: none;
  background-color: var(--green-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.chat-send-btn svg {
  transform: scaleX(-1);
}

/* ==========================================================================
   3. Centered Voice Recording Modal
   ========================================================================== */
.voice-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 30, 38, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 120;
  animation: fadeOnly 200ms ease forwards;
}

.voice-modal-card {
  width: 90%;
  max-width: 400px;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15, 30, 38, 0.28);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.voice-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.voice-pulse-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--danger-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: micPulse 1.3s infinite;
}

@keyframes micPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 59, 43, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(201, 59, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 59, 43, 0);
  }
}

.voice-status-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.voice-transcript-box {
  width: 100%;
  min-height: 140px;
  max-height: 220px;
  overflow-y: auto;
  padding: 13px 14px;
  border-radius: 15px;
  border: 1.5px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  word-wrap: break-word;
}

.voice-placeholder {
  color: var(--text-muted);
  font-size: 14px;
}

.voice-modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.voice-stop-btn {
  flex: 1;
}

.voice-cancel-btn {
  min-width: 84px;
}

/* ==========================================================================
   Screen 3: Seasonal Agricultural Log
   ========================================================================== */
.log-top-bar {
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.log-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.summary-mini-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-num {
  font-size: clamp(16px, 4.5vw, 20px);
  font-weight: 800;
  color: var(--text-dark);
}

.text-green {
  color: var(--green-primary);
}

.text-red {
  color: var(--danger-red);
}

.timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.log-entry-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  box-shadow: var(--shadow-soft);
}

.log-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-pesticide {
  background-color: var(--danger-tint);
  color: var(--danger-red);
}

.cat-fertilizer {
  background-color: var(--green-tint);
  color: var(--green-primary);
}

.cat-irrigation {
  background-color: rgba(15, 30, 38, 0.08);
  color: var(--navy-primary);
}

.cat-field {
  background-color: var(--amber-tint);
  color: var(--amber-accent);
}

.log-entry-body {
  flex: 1;
  min-width: 0;
}

.log-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.log-entry-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}

.log-entry-detail {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.log-entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Bottom Navigation Bar (66px + safe-area-inset-bottom, Sliding Pill)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 45;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-card);
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 22px rgba(15, 30, 38, 0.06);
}

.bottom-nav-inner {
  position: relative;
  height: calc(var(--bottomnav-h) - 12px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.nav-active-pill {
  position: absolute;
  top: 2px;
  right: 0;
  width: calc(100% / 3);
  height: calc(100% - 4px);
  border-radius: 16px;
  background-color: var(--green-tint);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.nav-tab {
  position: relative;
  z-index: 1;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-tab.active {
  color: var(--green-primary);
}

.nav-tab.active .nav-icon {
  transform: scale(1.12);
}

.nav-label {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Custom Bottom Sheet Modals & In-App Pickers (ZERO Browser Popups)
   ========================================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(15, 30, 38, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.sheet-backdrop.visible {
  opacity: 1;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 480px;
  max-height: 90dvh;
  z-index: 70;
  background-color: var(--bg-card);
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  box-shadow: var(--shadow-sheet);
  display: flex;
  flex-direction: column;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
  padding-bottom: env(safe-area-inset-bottom, 12px);
}

.bottom-sheet.nested-sheet {
  z-index: 85;
}

.bottom-sheet.open {
  transform: translate(-50%, 0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background-color: var(--border-card);
  margin: 10px auto 4px;
  flex-shrink: 0;
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 12px;
  border-bottom: 1px solid var(--border-card);
  flex-shrink: 0;
}

.sheet-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: var(--bg-subtle);
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sheet-body {
  padding: 14px 16px 24px;
  overflow-y: auto;
  flex: 1;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-stack > * {
  flex-shrink: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.no-margin {
  margin: 0;
}

.form-control {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.form-control:focus {
  border-color: var(--green-primary);
  background-color: #FFFFFF;
}

/* Custom In-App Picker Trigger Button (Replaces Native Select & Date Inputs) */
.custom-picker-btn {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: right;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.custom-picker-btn span {
  flex: 1;
  min-width: 0;
  line-height: 1.4;
}

.custom-picker-btn svg {
  color: var(--green-primary);
  flex-shrink: 0;
}

/* Custom In-App Option List Items */
.option-select-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.option-choice-row {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: right;
  cursor: pointer;
  transition: all 0.16s ease;
}

.option-choice-row.selected {
  border-color: var(--green-primary);
  background-color: var(--green-tint);
  color: var(--green-primary);
}

.option-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-choice-row.selected .option-radio-dot {
  border-color: var(--green-primary);
  background-color: var(--green-primary);
  color: #FFFFFF;
}

/* Custom In-App Calendar Date Picker */
.quick-date-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cal-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 14px;
  background-color: var(--navy-primary);
  color: var(--text-light);
}

.cal-nav-bar .icon-btn-soft {
  background-color: var(--navy-secondary);
  border-color: rgba(237, 241, 242, 0.14);
  color: var(--text-light);
}

.cal-month-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-light);
}

.cal-weekdays-grid,
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}

.cal-weekdays-grid span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 0;
}

.cal-day-btn {
  height: 38px;
  border-radius: 11px;
  border: 1px solid transparent;
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.cal-day-btn.today {
  border-color: var(--amber-accent);
  color: var(--amber-accent);
}

.cal-day-btn.selected {
  background-color: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
}

.cal-day-btn.disabled-future {
  opacity: 0.3;
  pointer-events: none;
  background-color: transparent;
}

.cal-day-empty {
  height: 38px;
}

.cal-note {
  text-align: center;
  margin: 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Visual Crop Selection Cards */
.crop-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.visual-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1.5px solid var(--border-card);
  background-color: var(--bg-canvas);
  cursor: pointer;
  transition: all 0.18s ease;
}

.visual-choice-card input:checked + .choice-card-inner {
  border-color: var(--green-primary);
  background-color: var(--green-tint);
}

.choice-svg {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 30, 38, 0.06);
}

.quick-variety-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-pill-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-card);
  background-color: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.mini-pill-btn:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* Segmented Radio Pills */
.segmented-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.seg-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.seg-pill input:checked + span {
  background-color: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
}

/* Custom Salinity Toggle Switch */
.switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-card);
}

.switch-text {
  display: flex;
  flex-direction: column;
}

.custom-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background-color: #CBD5D1;
  cursor: pointer;
  transition: background-color 0.22s ease;
}

.switch-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  right: 3px;
  top: 3px;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease;
}

.custom-switch input:checked + .switch-slider {
  background-color: var(--amber-accent);
}

.custom-switch input:checked + .switch-slider::before {
  transform: translateX(-20px);
}

/* Governorate Selector Grid */
.divider-label {
  text-align: center;
  margin: 14px 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.gov-card-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: inherit;
  cursor: pointer;
  text-align: right;
  transition: all 0.18s ease;
}

.gov-card-btn.selected {
  border-color: var(--green-primary);
  background-color: var(--green-tint);
}

.gov-card-btn strong {
  font-size: 13.5px;
  font-weight: 800;
}

.gov-card-btn span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Operation Category Pills in Log Sheet */
.op-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.op-type-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.op-pill-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 13px;
  border: 1px solid var(--border-card);
  background-color: var(--bg-canvas);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.op-type-pill input:checked + .op-pill-box {
  border-color: var(--green-primary);
  background-color: var(--green-tint);
  color: var(--green-primary);
}

/* ==========================================================================
   Custom Floating Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  top: calc(var(--topbar-h) + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 452px;
  z-index: 160;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 14px;
  background-color: var(--navy-primary);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 30, 38, 0.24);
  animation: toastIn 240ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.toast-item.toast-success svg {
  color: #4AD295;
}

.toast-item.toast-warn svg {
  color: var(--amber-accent);
}

.toast-item.toast-error svg {
  color: #FF6B5B;
}

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