
/* Base Styles */
:root {
  --primary: #0284c7;
  --primary-dark: #075985;
  --primary-light: #0ea5e9;
  --secondary: #16a34a;
  --secondary-dark: #15803d;
  --secondary-light: #4ade80;
  --accent: #fbbf24;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --danger: #ef4444;
  --danger-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #ffffff;
  --radius: 0.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--foreground);
  line-height: 1.6;
}

body {
  background-color: var(--background);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.button.small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.primary-button {
  background-color: var(--primary);
  color: white;
}

.primary-button:hover {
  background-color: var(--primary-dark);
}

.secondary-button {
  background-color: var(--secondary);
  color: white;
}

.secondary-button:hover {
  background-color: var(--secondary-dark);
}

.outline-button {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.outline-button:hover {
  background-color: var(--primary);
  color: white;
}

.outline-light-button {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.outline-light-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.text-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0;
}

.text-button:hover {
  color: var(--primary-dark);
}

.text-button svg {
  margin-left: 0.25rem;
}

.danger {
  background-color: var(--danger);
  color: var(--danger-foreground);
}

.danger:hover {
  background-color: var(--danger-dark);
}

.icon-button {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Header Styles */
.header {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
}

.logo svg {
  margin-right: 0.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Dashboard Preview */
.dashboard-preview {
  background-color: var(--muted);
  padding: 3rem 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.dashboard-card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-header h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.card-header p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.card-content {
  padding: 1rem 1.5rem 1.5rem;
}

/* Activity Card */
.activity-list {
  margin-bottom: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-status {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--muted-foreground);
  margin-right: 0.75rem;
}

.activity-status.active {
  background-color: var(--secondary);
}

.activity-type {
  font-weight: 500;
  flex: 1;
}

.activity-time {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* Map Card */
.map-card {
  grid-column: span 2;
}

.map-placeholder {
  height: 16rem;
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
}

.map-icon {
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.map-placeholder h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.map-placeholder p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.shipment-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* Alerts Card */
.alert {
  display: flex;
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert.danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.alert.warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.alert-content {
  flex: 1;
}

.alert h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.alert p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.alert-actions {
  display: flex;
  gap: 0.5rem;
}

/* Reports Card */
.report-list {
  margin-bottom: 1rem;
}

.report-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.report-icon {
  color: var(--primary);
  margin-right: 0.75rem;
}

.report-name {
  flex: 1;
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--muted);
  padding: 2rem 0;
  color: var(--foreground);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--primary);
}

.footer-logo svg {
  margin-right: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copyright {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 500px;
  animation: slideIn 0.3s ease forwards;
  border-left: 4px solid var(--primary);
}

.toast.success {
  border-left-color: var(--secondary);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast-icon {
  color: var(--primary);
}

.toast.success .toast-icon {
  color: var(--secondary);
}

.toast.error .toast-icon {
  color: var(--danger);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.toast-close {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toast-close:hover {
  background-color: var(--muted);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    grid-column: span 1;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Base Styles */
:root {
  --primary: #0284c7;
  --primary-dark: #075985;
  --primary-light: #0ea5e9;
  --secondary: #16a34a;
  --secondary-dark: #15803d;
  --secondary-light: #4ade80;
  --accent: #fbbf24;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --danger: #ef4444;
  --danger-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #ffffff;
  --radius: 0.5rem;
}

/* Dark mode variables */
.dark {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-light: #38bdf8;
  --secondary: #22c55e;
  --secondary-dark: #16a34a;
  --secondary-light: #4ade80;
  --accent: #fbbf24;
  --background: #1e293b;
  --foreground: #f8fafc;
  --muted: #334155;
  --muted-foreground: #94a3b8;
  --card: #1e293b;
  --card-foreground: #f8fafc;
  --border: #334155;
  --input: #334155;
  --danger: #ef4444;
  --danger-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-foreground: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--foreground);
  line-height: 1.6;
}

body {
  background-color: var(--background);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Button Styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.button.small {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.primary-button {
  background-color: var(--primary);
  color: white;
}

.primary-button:hover {
  background-color: var(--primary-dark);
}

.secondary-button {
  background-color: var(--secondary);
  color: white;
}

.secondary-button:hover {
  background-color: var(--secondary-dark);
}

.outline-button {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.outline-button:hover {
  background-color: var(--primary);
  color: white;
}

.outline-light-button {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.outline-light-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.text-button {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0;
}

.text-button:hover {
  color: var(--primary-dark);
}

.text-button svg {
  margin-left: 0.25rem;
}

.danger {
  background-color: var(--danger);
  color: var(--danger-foreground);
}

.danger:hover {
  background-color: var(--danger-dark);
}

.icon-button {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Header Styles */
.header {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: bold;
}

.logo svg {
  margin-right: 0.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Dashboard Preview */
.dashboard-preview {
  background-color: var(--muted);
  padding: 3rem 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.dashboard-card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-header h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.card-header p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.card-content {
  padding: 1rem 1.5rem 1.5rem;
}

/* Activity Card */
.activity-list {
  margin-bottom: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-status {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--muted-foreground);
  margin-right: 0.75rem;
}

.activity-status.active {
  background-color: var(--secondary);
}

.activity-type {
  font-weight: 500;
  flex: 1;
}

.activity-time {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* Map Card */
.map-card {
  grid-column: span 2;
}

.map-placeholder {
  height: 16rem;
  background-color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
}

.map-icon {
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.map-placeholder h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.map-placeholder p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.shipment-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* Alerts Card */
.alert {
  display: flex;
  padding: 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert.danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.alert.warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.alert-content {
  flex: 1;
}

.alert h4 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.alert p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.alert-actions {
  display: flex;
  gap: 0.5rem;
}

/* Reports Card */
.report-list {
  margin-bottom: 1rem;
}

.report-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.report-icon {
  color: var(--primary);
  margin-right: 0.75rem;
}

.report-name {
  flex: 1;
  font-size: 0.875rem;
}

/* CTA Section */
.cta {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Footer */
.footer {
  background-color: var(--muted);
  padding: 2rem 0;
  color: var(--foreground);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--primary);
}

.footer-logo svg {
  margin-right: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copyright {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  max-width: 500px;
  animation: slideIn 0.3s ease forwards;
  border-left: 4px solid var(--primary);
}

.toast.success {
  border-left-color: var(--secondary);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast-icon {
  color: var(--primary);
}

.toast.success .toast-icon {
  color: var(--secondary);
}

.toast.error .toast-icon {
  color: var(--danger);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.toast-close {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.toast-close:hover {
  background-color: var(--muted);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Dark mode login specific styles */
.dark .login-container {
  background-color: var(--muted);
}

.dark .login-card {
  background-color: var(--card);
}

.dark .form-input {
  background-color: var(--input);
  color: var(--foreground);
}

.dark .login-footer {
  border-top-color: var(--border);
}

/* Dark mode toggle */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.dark-mode-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dark .dark-mode-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    grid-column: span 1;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* For mobile first design */
.container {
  padding: 10px;
}

@media (min-width: 768px) {
  .container {
    display: flex;
    justify-content: space-between;
  }
}

#map {
  width: 100%;
  height: 400px;
}

@media (min-width: 768px) {
  #map {
    height: 600px;
  }
}
