/* ==========================================================================
   UFarm Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Primary (Green) */
  --primary-50: #f0fdf4;
  --primary-100: #dcfce7;
  --primary-200: #bbf7d0;
  --primary-300: #86efac;
  --primary-400: #4ade80;
  --primary-500: #22c55e;
  --primary-600: #16a34a;
  --primary-700: #15803d;
  --primary-800: #166534;
  --primary-900: #14532d;

  /* Amber */
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;

  /* Red */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  /* Gray */
  --gray-50: #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Layout */
  --sidebar-width: 260px;
}

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.invisible {
  visibility: hidden;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, var(--amber-50) 0%, var(--gray-50) 50%, var(--primary-50) 100%);
  min-height: 100vh;
  color: var(--gray-900);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.app {
  display: flex;
  min-height: 100vh;
}

.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.main-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-700);
  letter-spacing: -0.025em;
}

.page-title-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-600);
}

.page-subtitle {
  color: var(--primary-600);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.125rem;
}

.main-content {
  padding: 1.5rem 2rem 2rem;
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.sidebar {
  width: var(--sidebar-width);
  background: white;
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
}

.sidebar-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-600);
  letter-spacing: -0.025em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.sidebar-nav {
  flex: 1;
  padding: 0.75rem;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.25rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.15s ease;
  cursor: pointer;
  margin-bottom: 2px;
}

.nav-item:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.nav-item.active {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.nav-item.active:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.nav-icon {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.nav-item.active .nav-icon {
  opacity: 1;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--gray-100);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}

.user-card:hover {
  background: var(--gray-100);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
}

.btn-destructive {
  color: var(--red-600);
}

.btn-destructive:hover {
  background: var(--red-50);
  color: var(--red-600);
}

/* --------------------------------------------------------------------------
   Stats Cards
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.green {
  background: var(--primary-100);
  color: var(--primary-600);
}

.stat-icon.amber {
  background: var(--amber-100);
  color: var(--amber-600);
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-weight: 500;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.stat-change.positive {
  background: var(--primary-100);
  color: var(--primary-700);
}

.stat-change.negative {
  background: var(--red-100);
  color: var(--red-600);
}

.stat-change.neutral {
  background: var(--gray-100);
  color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Filters
   -------------------------------------------------------------------------- */
.filters-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  position: relative;
}

.filter-select {
  appearance: none;
  padding: 0.5rem 2.25rem 0.5rem 0.875rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: white;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  min-width: 140px;
}

.filter-select:hover {
  border-color: var(--gray-400);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.filter-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gray-400);
}

.search-input {
  padding: 0.5rem 0.875rem 0.5rem 2.5rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: white;
  font-size: 0.875rem;
  width: 280px;
  transition: all 0.15s;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.search-group {
  position: relative;
}

.search-group .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
}

.filter-spacer {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Cards Grid
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Card Stack (grouped cycles)
   -------------------------------------------------------------------------- */
.card-stack {
  position: relative;
}

.stack-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--primary-600);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: opacity 0.2s ease;
}

.card-stack.open .stack-badge,
.card-stack:hover .stack-badge {
  opacity: 0;
}

.card-stack {
  cursor: pointer;
}

.card-stack.open,
.card-stack:hover {
  z-index: 100;
}

.crop-card.stacked {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.3s ease;
}

/* First card (top) is relative to establish container height */
.crop-card.stacked[data-index="0"] {
  position: relative;
  z-index: 5;
}

/* Cards behind - offset slightly to show edges */
.crop-card.stacked[data-index="1"] {
  transform: translate(6px, 6px);
  z-index: 4;
}

.crop-card.stacked[data-index="2"] {
  transform: translate(12px, 12px);
  z-index: 3;
}

.crop-card.stacked[data-index="3"] {
  transform: translate(18px, 18px);
  z-index: 2;
}

.crop-card.stacked[data-index="4"] {
  transform: translate(24px, 24px);
  z-index: 1;
}

/* Fan out on hover OR click - slide to the LEFT (default)
   Cards sorted desc (3,2,1), so fan older cards to the LEFT of latest
   Result: 1 → 2 → 3 (chronological, left to right) */
.card-stack.open .crop-card.stacked[data-index="0"],
.card-stack:hover .crop-card.stacked[data-index="0"] {
  transform: translateX(0);  /* Latest stays in place */
}

.card-stack.open .crop-card.stacked[data-index="1"],
.card-stack:hover .crop-card.stacked[data-index="1"] {
  transform: translateX(calc(-100% - 12px));  /* 2nd latest goes left */
}

.card-stack.open .crop-card.stacked[data-index="2"],
.card-stack:hover .crop-card.stacked[data-index="2"] {
  transform: translateX(calc(-200% - 24px));  /* 3rd latest goes further left */
}

.card-stack.open .crop-card.stacked[data-index="3"],
.card-stack:hover .crop-card.stacked[data-index="3"] {
  transform: translateX(calc(-300% - 36px));
}

.card-stack.open .crop-card.stacked[data-index="4"],
.card-stack:hover .crop-card.stacked[data-index="4"] {
  transform: translateX(calc(-400% - 48px));
}

/* Fan out on hover OR click - slide to the RIGHT (when near left edge)
   Older cards fan to the RIGHT of latest */
.card-stack.fan-left.open .crop-card.stacked[data-index="0"],
.card-stack.fan-left:hover .crop-card.stacked[data-index="0"] {
  transform: translateX(0);  /* Latest stays in place */
}

.card-stack.fan-left.open .crop-card.stacked[data-index="1"],
.card-stack.fan-left:hover .crop-card.stacked[data-index="1"] {
  transform: translateX(calc(100% + 12px));  /* 2nd latest goes right */
}

.card-stack.fan-left.open .crop-card.stacked[data-index="2"],
.card-stack.fan-left:hover .crop-card.stacked[data-index="2"] {
  transform: translateX(calc(200% + 24px));  /* 3rd latest goes further right */
}

.card-stack.fan-left.open .crop-card.stacked[data-index="3"],
.card-stack.fan-left:hover .crop-card.stacked[data-index="3"] {
  transform: translateX(calc(300% + 36px));
}

.card-stack.fan-left.open .crop-card.stacked[data-index="4"],
.card-stack.fan-left:hover .crop-card.stacked[data-index="4"] {
  transform: translateX(calc(400% + 48px));
}

/* Badge position for left-fanning stacks */
.card-stack.fan-left .stack-badge {
  right: auto;
  left: -8px;
}

/* Subtle border for cards behind */
.crop-card.stacked:not([data-index="0"]) {
  border-color: var(--gray-300);
}

/* --------------------------------------------------------------------------
   Crop Card
   -------------------------------------------------------------------------- */
.crop-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.2s ease;
}

.crop-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.crop-card-header {
  padding: 1.25rem 1.25rem 0;
}

.crop-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.crop-info {
  flex: 1;
}

.crop-name {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--gray-900);
  margin-bottom: 0.125rem;
}

.crop-farm {
  color: var(--primary-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.crop-card-body {
  padding: 0 1.25rem;
}

.crop-details {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.crop-detail {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.crop-detail-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-500);
  flex-shrink: 0;
}

.crop-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.metric {
  background: var(--gray-50);
  padding: 0.75rem;
  border-radius: var(--radius);
}

.metric-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
}

.metric-label {
  font-size: 0.6875rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.metric.highlight {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
}

.metric.highlight .metric-value {
  color: var(--primary-700);
}

.crop-card-footer {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.crop-card-footer .btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.badge-success {
  background: var(--primary-100);
  color: var(--primary-700);
}

.badge-success .badge-dot {
  background: var(--primary-500);
}

.badge-warning {
  background: var(--amber-100);
  color: var(--amber-600);
}

.badge-warning .badge-dot {
  background: var(--amber-500);
}

.badge-neutral {
  background: var(--gray-100);
  color: var(--gray-600);
}

.badge-neutral .badge-dot {
  background: var(--gray-400);
}

/* --------------------------------------------------------------------------
   Loading & Empty States
   -------------------------------------------------------------------------- */
.loading-state,
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--gray-300);
}

.empty-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.empty-text {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .main {
    margin-left: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .main-header,
  .main-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .search-input {
    width: 100%;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-spacer {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Header Actions
   -------------------------------------------------------------------------- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Language Switcher
   -------------------------------------------------------------------------- */
.lang-switcher {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.25rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.25rem);
  transition: all 0.15s ease;
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-size: 0.8125rem;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-option:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 360px;
  margin: 1rem;
  transform: scale(0.95) translateY(10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-body {
  padding: 24px;
  text-align: center;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-icon.warning {
  background: var(--amber-100);
  color: var(--amber-600);
}

.modal-icon.danger {
  background: var(--red-100);
  color: var(--red-600);
}

.modal-icon.info {
  background: var(--primary-100);
  color: var(--primary-600);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.modal-message {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.modal-footer .btn {
  flex: 1;
}

.btn-danger {
  background: linear-gradient(135deg, var(--red-500) 0%, var(--red-600) 100%);
  color: white;
  border: none;
}

.btn-danger:hover {
  background: linear-gradient(135deg, var(--red-600) 0%, var(--red-700) 100%);
}
