// ============================================
// Sistema de Control de Lavado - Tema de Colores
// Paleta basada en azul/teal/cyan profesional y amigable
// ============================================

// Colores principales (basados en gradiente azul/teal de las imágenes)
$lavanderia-primary: #2563eb;        // Azul medio profesional (del polo shirt)
$lavanderia-primary-dark: #1e3a8a;  // Azul oscuro (del polo shirt)
$lavanderia-primary-light: #3b82f6;  // Azul claro
$lavanderia-teal: #06b6d4;          // Teal/Cyan claro (del gradiente)
$lavanderia-teal-light: #22d3ee;    // Teal muy claro
$lavanderia-teal-dark: #0891b2;     // Teal oscuro

// Colores de estado
$lavanderia-success: #10b981;       // Verde suave (completado/entregado)
$lavanderia-success-light: #34d399;  // Verde claro
$lavanderia-warning: #f59e0b;       // Amarillo/naranja (en proceso)
$lavanderia-warning-light: #fbbf24;  // Amarillo claro
$lavanderia-danger: #ef4444;        // Rojo suave (alerta/retraso)
$lavanderia-danger-light: #f87171;   // Rojo claro

// Colores neutros
$lavanderia-white: #ffffff;
$lavanderia-gray-50: #f9fafb;
$lavanderia-gray-100: #f3f4f6;
$lavanderia-gray-200: #e5e7eb;
$lavanderia-gray-300: #d1d5db;
$lavanderia-gray-400: #9ca3af;
$lavanderia-gray-500: #6b7280;
$lavanderia-gray-600: #4b5563;
$lavanderia-gray-700: #374151;
$lavanderia-gray-800: #1f2937;
$lavanderia-gray-900: #111827;

// Panel principal de lavandería
.lavanderia-panel {
  border-top: 4px solid $lavanderia-primary;
  border-radius: 12px;
  background: $lavanderia-white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;

  &:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
}

// Encabezado de secciones
.lavanderia-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid $lavanderia-gray-200;

  h4 {
    margin: 0;
    font-weight: 600;
    color: $lavanderia-primary-dark;
    font-size: 1.5rem;
  }
}

// Tarjeta de resumen
.lavanderia-summary-card {
  border-radius: 12px;
  border: 1px solid $lavanderia-gray-200;
  background: linear-gradient(135deg, $lavanderia-white 0%, $lavanderia-gray-50 100%);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);

  .summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: $lavanderia-gray-500;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
}

// Botones de operador (grandes y amigables)
.lavanderia-operator-btn {
  padding: 1.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-width: 2px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  &.btn-primary {
    background: linear-gradient(135deg, $lavanderia-primary 0%, $lavanderia-primary-dark 100%);
    border-color: $lavanderia-primary-dark;
    
    &:hover {
      background: linear-gradient(135deg, $lavanderia-primary-light 0%, $lavanderia-primary 100%);
    }
  }

  &.btn-success {
    background: linear-gradient(135deg, $lavanderia-success 0%, darken($lavanderia-success, 10%) 100%);
    border-color: darken($lavanderia-success, 10%);
    
    &:hover {
      background: linear-gradient(135deg, $lavanderia-success-light 0%, $lavanderia-success 100%);
    }
  }

  &.btn-info {
    background: linear-gradient(135deg, $lavanderia-teal 0%, $lavanderia-teal-dark 100%);
    border-color: $lavanderia-teal-dark;
    
    &:hover {
      background: linear-gradient(135deg, $lavanderia-teal-light 0%, $lavanderia-teal 100%);
    }
  }
}

// Badges y estados
.lavanderia-badge {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;

  &.badge-success {
    background: $lavanderia-success;
    color: $lavanderia-white;
  }

  &.badge-warning {
    background: $lavanderia-warning;
    color: $lavanderia-white;
  }

  &.badge-danger {
    background: $lavanderia-danger;
    color: $lavanderia-white;
  }

  &.badge-primary {
    background: $lavanderia-primary;
    color: $lavanderia-white;
  }

  &.badge-info {
    background: $lavanderia-teal;
    color: $lavanderia-white;
  }
}

// Dashboard semáforo - colores de estado
.lavanderia-traffic-light {
  &.status-green {
    background: linear-gradient(135deg, $lavanderia-success 0%, darken($lavanderia-success, 10%) 100%);
    color: $lavanderia-white;
  }

  &.status-yellow {
    background: linear-gradient(135deg, $lavanderia-warning 0%, darken($lavanderia-warning, 10%) 100%);
    color: $lavanderia-white;
  }

  &.status-red {
    background: linear-gradient(135deg, $lavanderia-danger 0%, darken($lavanderia-danger, 10%) 100%);
    color: $lavanderia-white;
  }

  &.status-blue {
    background: linear-gradient(135deg, $lavanderia-primary 0%, $lavanderia-primary-dark 100%);
    color: $lavanderia-white;
  }
}

// Inputs y formularios
.lavanderia-form-control {
  border-radius: 8px;
  border: 1px solid $lavanderia-gray-300;
  transition: all 0.3s ease;

  &:focus {
    border-color: $lavanderia-primary;
    box-shadow: 0 0 0 3px rgba($lavanderia-primary, 0.1);
  }
}

// Cards con gradiente sutil
.lavanderia-gradient-card {
  background: linear-gradient(135deg, $lavanderia-white 0%, $lavanderia-gray-50 100%);
  border: 1px solid $lavanderia-gray-200;
  border-radius: 12px;
}

