// ============================================
// Lavandería Tibu — paleta de marca
// Naranja #FF7029 · Cyan #00A3CC · Gris #555555
// ============================================

$lavanderia-primary: #ff7029;
$lavanderia-primary-dark: #e85a10;
$lavanderia-primary-light: #ff8f52;
$lavanderia-teal: #00a3cc;
$lavanderia-teal-light: #33b5d6;
$lavanderia-teal-dark: #0082a3;

// Colores de estado
$lavanderia-success: #10b981;
$lavanderia-success-light: #34d399;
$lavanderia-warning: #f59e0b;
$lavanderia-warning-light: #fbbf24;
$lavanderia-danger: #ef4444;
$lavanderia-danger-light: #f87171;

// 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: #555555;
$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-teal 0%, $lavanderia-teal-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;
}

// Catálogos, POS y pantallas de captura: texto en mayúsculas
.uppercase-input-scope {
  input[type="text"]:not([data-no-uppercase]),
  input[type="tel"]:not([data-no-uppercase]),
  input[type="search"]:not([data-no-uppercase]),
  input:not([type]):not([data-no-uppercase]),
  textarea:not([data-no-uppercase]) {
    text-transform: uppercase;
  }
}
