/**
 * Sistema de Colores Centralizado - Roraima Delivery App
 *
 * Este archivo define todas las variables de color usadas en la aplicación.
 * Modificar estos valores cambiará los colores en toda la app.
 *
 * Uso en vistas:
 *   HTML: class="bg-primary text-white"
 *   Inline: style="background-color: var(--color-primary)"
 */

:root {
  /* ========================================
     COLORES PRIMARIOS (Brand Colors)
     ======================================== */

  /* Indigo - Color principal de la marca */
  --color-primary: #4f46e5;           /* indigo-600 */
  --color-primary-light: #6366f1;     /* indigo-500 */
  --color-primary-dark: #4338ca;      /* indigo-700 */
  --color-primary-hover: #4338ca;     /* indigo-700 */

  /* Verde - Acciones exitosas y carga masiva */
  --color-success: #16a34a;           /* green-600 */
  --color-success-light: #22c55e;     /* green-500 */
  --color-success-dark: #15803d;      /* green-700 */
  --color-success-hover: #15803d;     /* green-700 */


  /* ========================================
     COLORES DE ESTADO (Package Status)
     ======================================== */

  /* Pendiente Retiro - Amarillo */
  --color-status-pending: #eab308;    /* yellow-500 */
  --color-status-pending-bg: #fef3c7; /* yellow-100 */
  --color-status-pending-text: #854d0e; /* yellow-900 */

  /* Bodega – Cian / Azul pasivo */
  --color-status-warehouse: #06b6d4;        /* cyan-500 */
  --color-status-warehouse-bg: #cffafe;     /* cyan-100 */
  --color-status-warehouse-text: #164e63;   /* cyan-900 */


  /* En Camino – Azul / Índigo activo */
  --color-status-transit: #1d4ed8;          /* blue-700 */
  --color-status-transit-bg: #5698ee;       /* blue-100 */
  --color-status-transit-text: #1e3a8a;     /* blue-900 */
  /* Entregado - Verde */
  --color-status-delivered: #22c55e;  /* green-500 */
  --color-status-delivered-bg: #dcfce7; /* green-100 */
  --color-status-delivered-text: #14532d; /* green-900 */

  /* Reprogramado - Ámbar */
  --color-status-rescheduled: #f59e0b; /* amber-500 */
  --color-status-rescheduled-bg: #fef3c7; /* amber-100 */
  --color-status-rescheduled-text: #78350f; /* amber-900 */

  /* Devolución - Naranja */
  --color-status-return: #ea580c;     /* orange-600 */
  --color-status-return-bg: #fed7aa; /* orange-200 */
  --color-status-return-text: #7c2d12; /* orange-900 */

  /* Cancelado - Rojo */
  --color-status-cancelled: #dc2626;  /* red-600 */
  --color-status-cancelled-bg: #fecaca; /* red-200 */
  --color-status-cancelled-text: #7f1d1d; /* red-900 */


  /* ========================================
     COLORES DE ROLES (User Roles)
     ======================================== */

  /* Admin - Purple Custom */
  --color-admin-bg: #4F39F6;          /* purple custom */
  --color-admin-bg-hover: #4230d1;    /* purple darker (hover) */
  --color-admin-bg-active: #3726ac;   /* purple darkest (active) */
  --color-admin-text: #f1f5f9;        /* slate-100 */
  --color-admin-text-muted: #cbd5e1;  /* slate-300 */
  --color-admin-border: #6b5cf9;      /* purple lighter (border) */

  /* Customer - Slate (más suave) */
  --color-customer-bg: #1e293b;       /* slate-800 */
  --color-customer-bg-hover: #334155; /* slate-700 */
  --color-customer-bg-active: #475569; /* slate-600 */
  --color-customer-text: #f1f5f9;     /* slate-100 */
  --color-customer-text-muted: #cbd5e1; /* slate-300 */
  --color-customer-border: #475569;   /* slate-600 */

  /* Driver - Teal */
  --color-driver-bg: #0f766e;         /* teal-700 */
  --color-driver-bg-hover: #0d9488;   /* teal-600 */
  --color-driver-bg-active: #14b8a6;  /* teal-500 */
  --color-driver-text: #f0fdfa;       /* teal-50 */
  --color-driver-text-muted: #99f6e4; /* teal-200 */
  --color-driver-border: #14b8a6;     /* teal-500 */


  /* ========================================
     COLORES DE UI (Interfaz General)
     ======================================== */

  /* Grises */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Fondos */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9fafb;      /* gray-50 */
  --color-bg-tertiary: #f3f4f6;       /* gray-100 */

  /* Textos */
  --color-text-primary: #111827;      /* gray-900 */
  --color-text-secondary: #4b5563;    /* gray-600 */
  --color-text-muted: #6b7280;        /* gray-500 */

  /* Bordes */
  --color-border-light: #e5e7eb;      /* gray-200 */
  --color-border-medium: #d1d5db;     /* gray-300 */
  --color-border-dark: #9ca3af;       /* gray-400 */

  /* Alertas y Notificaciones */
  --color-info: #3b82f6;              /* blue-500 */
  --color-info-bg: #dbeafe;           /* blue-100 */
  --color-info-text: #1e3a8a;         /* blue-900 */

  --color-warning: #f59e0b;           /* amber-500 */
  --color-warning-bg: #fef3c7;        /* amber-100 */
  --color-warning-text: #78350f;      /* amber-900 */

  --color-error: #ef4444;             /* red-500 */
  --color-error-bg: #fee2e2;          /* red-100 */
  --color-error-text: #7f1d1d;        /* red-900 */

  --color-success-notification: #10b981; /* green-500 */
  --color-success-notification-bg: #d1fae5; /* green-100 */
  --color-success-notification-text: #065f46; /* green-900 */


  /* ========================================
     COLORES DE SOMBRAS
     ======================================== */

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


/* ========================================
   CLASES UTILITARIAS PERSONALIZADAS
   ======================================== */

/* Botones con colores de marca */
.btn-primary {
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

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

.btn-success {
  background-color: var(--color-success);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-success:hover {
  background-color: var(--color-success-hover);
}

/* Badges de estado */
.badge-pending {
  background-color: var(--color-status-pending-bg);
  color: var(--color-status-pending-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-warehouse {
  background-color: var(--color-status-warehouse-bg);
  color: var(--color-status-warehouse-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-transit {
  background-color: var(--color-status-transit-bg);
  color: var(--color-status-transit-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-delivered {
  background-color: var(--color-status-delivered-bg);
  color: var(--color-status-delivered-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-rescheduled {
  background-color: var(--color-status-rescheduled-bg);
  color: var(--color-status-rescheduled-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-return {
  background-color: var(--color-status-return-bg);
  color: var(--color-status-return-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-cancelled {
  background-color: var(--color-status-cancelled-bg);
  color: var(--color-status-cancelled-text);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Sidebar por rol */
.sidebar-admin {
  background-color: var(--color-admin-bg);
  color: var(--color-admin-text);
}

.sidebar-customer {
  background-color: var(--color-customer-bg);
  color: var(--color-customer-text);
}

.sidebar-driver {
  background-color: var(--color-driver-bg);
  color: var(--color-driver-text);
}
@import "tailwindcss";
.pagy-nav {
  display: inline-flex;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.pagy-nav .page {
  position: relative;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  background-color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.pagy-nav .page:hover {
  background-color: #f9fafb;
}

.pagy-nav .page.active {
  z-index: 10;
  background-color: #4f46e5;
  border-color: #4f46e5;
  color: white;
}

.pagy-nav .page.disabled {
  background-color: #f3f4f6;
  color: #9ca3af;
  pointer-events: none;
}

.pagy-nav .page:not(:last-child) {
  margin-right: -1px;
}

.pagy-nav .page:first-child {
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
}

.pagy-nav .page:last-child {
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */
