body {
  background-color: #f9fafb;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #741d14;
}

a, a:visited {
  color: #e0040b;
}

a:hover, a:focus {
  color: #eb771c;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled,
.nav-pills .nav-link.active,
.badge-primary,
.progress-bar,
.bg-primary,
.page-item.active .page-link {
  background-color: #e0040b !important;
  border-color: #e0040b !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #eb771c !important;
  border-color: #eb771c !important;
}

.badge-warning,
.bg-warning {
  background-color: #ffef00 !important;
  color: #741d14 !important;
}

.sidebar {
  background: #741d14;
}

.sidebar a {
  color: #ffffff;
}

.sidebar a:hover,
.sidebar a:focus,
.sidebar a:active {
  background-color: #e0040b !important;
  color: #ffffff !important;
}

.card {
  background-color: #ffffff;
  border: 1px solid #f1c7c7;
}

.card-header {
  background-color: #fff5f5;
  border-bottom: 1px solid #f1c7c7;
}

.form-control,
.custom-select {
  background-color: #ffffff;
  border-color: #e0e0e0;
  color: #741d14;
}

.form-control:focus,
.custom-select:focus {
  border-color: #e0040b;
  box-shadow: none;
}

table, th, td {
  border-color: #f1c7c7 !important;
}

thead {
  background-color: #fff5f5;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
}

.alert-danger {
  background-color: #fdecea;
  color: #9b1c1c;
}

/* ===============================
   LOGO + TEXTO SIDEBAR
================================ */

.logo-container {
  text-align: center;
  padding: 10px 10px 8px;
  margin: 0;
}

.logo-sidebar {
  max-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 6px;
}

.logo-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffef00; /* amarillo del logo */
}

body.login-page {
  background-color: #f8f4f3;
}

.login-panel {
  border-top: 4px solid #e0040b;
}

/* ===============================
   LOGIN – ESPACIADO Y RESPIRACIÓN
================================ */

/* Tarjeta principal */
.login-panel {
  padding: 25px 30px 30px;
  border-radius: 6px;
}

/* Logo */
.login-panel img {
  margin-bottom: 15px;
}

/* Título */
.login-panel h4 {
  margin-top: 10px;
  margin-bottom: 25px;
}

/* Inputs */
.login-panel .form-group {
  margin-bottom: 18px;
}

/* Checkbox */
.login-panel .custom-control {
  margin-top: 5px;
  margin-bottom: 25px;
}

/* Botón */
.login-panel .btn-primary {
  padding: 12px;
  font-size: 16px;
}

/* ===============================
   BOTONES OUTLINE – POLLOSDHOY
   (corrige azules/morados)
================================ */

.btn-outline-primary {
  color: #e0040b !important;
  border-color: #e0040b !important;
  background-color: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #e0040b !important;
  border-color: #e0040b !important;
  color: #ffffff !important;
}

/* ===============================
   BOTONES DASHBOARD – ACCESOS RÁPIDOS
================================ */

.card .btn {
  border-radius: 30px;
  padding: 12px 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    text-align: center;
}

.acciones-col {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SWITCH COLORES */
.estado-activo {
    background-color: #28a745; /* verde activo */
    color: white;
    border: none;
}

.estado-inactivo {
    background-color: #dee2e6; /* gris inactivo */
    color: #6c757d;
    border: none;
}
