/* Reset + variables TDP Group */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul:    #1F2A44;
  --naranja: #FF4713;
  --gris:    #5B6670;
  --claro:   #F5F6F8;
  --blanco:  #FFFFFF;
  --borde:   #E2E6EA;
  --sombra:  0 2px 16px rgba(31,42,68,.10);
  --radio:   6px;
  --sidebar: 260px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--azul);
  background: var(--claro);
  overflow-x: hidden;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font-family: inherit; }

.label-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radio);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-solid   { background: var(--naranja); color: var(--blanco); }
.btn-solid:hover { background: #e03d0e; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--azul); color: var(--azul); }
.btn-outline:hover { background: var(--azul); color: var(--blanco); }
.btn-ghost   { background: transparent; border: 2px solid rgba(255,255,255,.3); color: var(--blanco); }
.btn-ghost:hover { border-color: var(--blanco); }
.btn-danger  { background: #dc3545; color: var(--blanco); }
.btn-danger:hover { background: #c82333; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Alert / toast */
.alert {
  padding: 12px 16px;
  border-radius: var(--radio);
  font-size: .85rem;
  margin-bottom: 16px;
}
.alert-error   { background: #fff0ee; border: 1px solid #ffcec7; color: #c0392b; }
.alert-success { background: #edfaf1; border: 1px solid #b7ecce; color: #1e8449; }
.alert-info    { background: #eaf0fb; border: 1px solid #b8d0f5; color: #1a5276; }

/* Badge de rol */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-admin      { background: #fff0ee; color: #c0392b; }
.badge-supervisor { background: #fef9e7; color: #9a7d0a; }
.badge-revendedor { background: #eaf0fb; color: #1a5276; }
.badge-cliente    { background: #edfaf1; color: #1e8449; }
.badge-inactive   { background: var(--claro); color: var(--gris); }
