/* ===== TIPOGRAFÍA BARLOW CONDENSED ===== */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/font/AmsiProCondensed-Regular.woff2') format('woff2'),
  url('/font/AmsiProCondensed-Regular.woff') format('woff'),
  url('/font/AmsiProCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/font/AmsiProCondensed-Bold.woff2') format('woff2'),
  url('/font/AmsiProCondensed-Bold.woff') format('woff'),
  url('/font/AmsiProCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/font/AmsiProCondensed-SemiBold.woff2') format('woff2'),
  url('/font/AmsiProCondensed-SemiBold.woff') format('woff'),
  url('/font/AmsiProCondensed-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('/font/AmsiProCondensed-Light.woff2') format('woff2'),
  url('/font/AmsiProCondensed-Light.woff') format('woff'),
  url('/font/AmsiProCondensed-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* ===== APLICAR TIPOGRAFÍA ===== */
body {
  font-family: 'Barlow Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
}

/* ===== TUS ESTILOS ACTUALES ===== */
.btn-primary {
  background: linear-gradient(135deg, #D469D7  0%, #376D6C 100%);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #D469D7  0%, #376D6C 100%);
  border: none;
}

.page-title {
  background: linear-gradient(135deg, #D469D7  0%, #376D6C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.color-degrate{
  background: linear-gradient(135deg, #D469D7  0%, #376D6C 100%);
}

.table-head-style{
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
}


.search-box {
  position: relative;
  width: 300px;
}

.search-input {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 12px 20px 12px 45px;
  font-size: 17px;
  color: #6c757d;
}

.search-input:focus {
  background-color: #fff;
  border-color: #376D6C;
  box-shadow: 0 0 0 0.2rem rgba(55, 109, 108, 0.25);
  outline: none;
}

.search-box::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url('/img/buscador-header.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: 2;
}

/* -----------------------------------
   Header: misma altura y fondo
------------------------------------ */
.login-header {
  height: 30vh;
  background-image: url('/img/header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* -----------------------------------
   Contenedor principal: fondo y centrado
------------------------------------ */
.login-main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* -----------------------------------
   Caja centrada dentro del main
------------------------------------ */
.login-container {
  width: 350px;
  max-width: 90%;
  text-align: center;
}

/* -----------------------------------
   Título dentro del contenedor
------------------------------------ */
.login-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 24px;
}

input {
  font-family: none !important;
}

/* -----------------------------------
   Mensaje de error flash
------------------------------------ */
.error-message {
  background-color: #ffebee;
  color: #c62828;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #c62828;
}

/* -----------------------------------
   Grupo de inputs: márgenes y posición
------------------------------------ */
.input-group {
  margin-bottom: 16px;
  position: relative;
}

/* Para el input de contraseña (margen distinto) */
.input-group.password {
  margin-bottom: 24px;
}

/* -----------------------------------
   Estilo común para los inputs
------------------------------------ */
.login-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #CCC;
  background: transparent;
  padding: 8px 4px;
  font-size: 14px;
  outline: none;
}

/* -----------------------------------
   Botón de Entrar: colores y hover
------------------------------------ */
.login-button {
  width: 100%;
  background-color: #E048E9;
  border: none;
  border-radius: 20px;
  color: #FFF;
  font-size: 14px;
  padding: 10px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.login-button:hover {
  background-color: #C037D1;
}


.nav-link.active, .nav-link:hover, .nav-link:focus {
  color: #000000 !important;
}


.badge {
  font-size: 70% !important;
}
