/* Plantilla */


* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background-color: #f4f4f4;
  overflow: auto;
}

.app-header {
  width: 100%;
  background-color: white;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 10;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 36px;
  margin-right: 12px;
}

.header-title {
  font-size: 16px;
  color: #444;
}

.header-right .header-app-name {
  font-size: 16px;
  color: #5b939f;
  font-weight: 500;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: auto;
}

.login-container {
  background: white;
  padding: 32px 24px;
  max-width: 380px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  z-index: 1;
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.login-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.login-divider {
  border: none;
  height: 1px;
  background-color: #5b939f;
  margin: 8px 0 16px;
}

.login-subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group .material-icons {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #5b939f;
  font-size: 20px;
}

.input-group input {
  width: 100%;
  padding: 10px 36px 10px 36px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.input-group input:focus {
  border-bottom: 1px solid #5b939f;
}

.toggle-password {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #444;
  font-size: 20px;
}

.login-button {
  background-color: #5b939f;
  color: white;
  font-weight: 500;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

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

.footer-text {
  margin-top: 20px;
  color: #777;
  font-size: 13px;
}

.floating-box {
  position: fixed;
  bottom: -120px;
  border-radius: 12px;
  animation: floatUp 12s linear infinite;
  z-index: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-200px) scale(1.1) rotate(10deg);
    opacity: 0.3;
  }

  100% {
    transform: translateY(-400px) scale(0.95) rotate(-5deg);
    opacity: 0;
  }
}



/* Estilos para el botón de confirmación */
.confirm-button {
  background-color: #5b939f;
  color: white;
  font-weight: 500;
  border: none;
  width: auto;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  margin-right: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.confirm-button:hover {
  background-color: #5b939f;
}

@keyframes slideDownFade {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.title-shear-pages {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.7rem;
  text-align: center;
  padding: 14px 60px;
  position: relative;
  margin: 20px auto;
  display: inline-block;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: slideDownFade 0.6s ease-out;
}

.title-shear-pages.small {
  font-size: 2rem;
  padding: 10px 40px;
  margin: 20px auto 40px;
}

.title-shear-pages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #0033a0, #009ee3, #9edc15);
  background-size: 300% 300%;
  animation: gradientMove 5s ease infinite;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  /* Eliminado el skew */
}

.title-shear {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  padding: 13px 70px;
  position: relative;
  margin: 2px auto;
  display: inline-block;
  z-index: 30
}

.title-shear.small {
  font-size: 2rem;
  padding: 10px 50px;
  margin: 20px auto 40px
}

.title-shear::before {
  z-index: -1;
  background-image: linear-gradient(to right, #5b939f, #203567);
  border-radius: 10px 0 10px 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: skew(-25deg);
  -moz-transform: skew(-25deg);
  -ms-transform: skew(-25deg);
  -o-transform: skew(-25deg);
  transform: skew(-25deg)
}

.title-shear-db {
  color: #ddcdcd;
  font-weight: 700;
  font-size: 1.7rem;
  text-align: center;
  padding: 13px 70px;
  position: relative;
  display: inline-block;
  z-index: 30
}

.title-shear-db.small {
  font-size: 2rem;
  padding: 10px 50px;
  margin: 20px auto 40px
}

.title-shear-db::before {
  z-index: -1;
  background-image: linear-gradient(to right, #5b939f, #203567);
  border-radius: 10px 0 10px 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: skew(-25deg);
  -moz-transform: skew(-25deg);
  -ms-transform: skew(-25deg);
  -o-transform: skew(-25deg);
  transform: skew(-25deg)
}

.title-wrapper {
  /* position: absolute; */
  z-index: 2;
  top: 15px;
  width: 100%;
  text-align: center
}



/* Estilo general de tabla inspirado en Enyi */
#tablaDashboard {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  font-family: 'Segoe UI', Roboto, sans-serif !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Filas del cuerpo */
#tablaDashboard tbody tr {
  background-color: #fafafa !important;
  transition: background-color 0.2s ease !important;
}

#tablaDashboard tbody tr:nth-child(even) {
  background-color: #f0f4f8 !important;
}

#tablaDashboard tbody tr:hover {
  background-color: #e0f0ff !important;
}

/* Celdas */
#tablaDashboard td {
  padding: 10px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  vertical-align: middle !important;
}

/* Estilo de montos */
#tablaDashboard .text-success {
  color: #1dd88b !important;
  font-weight: 500 !important;
}

#tablaDashboard .text-danger {
  color: #ff6b6b !important;
  font-weight: 500 !important;
}

/* Botón de acción */
#tablaDashboard .btn.ver-movimiento {
  border-color: #007cf0 !important;
  color: #007cf0 !important;
  padding: 4px 8px !important;
  font-size: 0.875rem !important;
  border-radius: 6px !important;
}

#tablaDashboard .btn.ver-movimiento:hover {
  background-color: #007cf0 !important;
  color: #fff !important;
}

/* Icono dentro del botón */
#tablaDashboard .btn.ver-movimiento i {
  font-size: 1rem !important;
}


/* Estilos para el botón de reinicio */
.reset-button {
  background-color: #6c757d;
  /* Bootstrap secondary */
  color: #fff;
  font-weight: 500;
  border: none;
  width: auto;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reset-button:hover {
  background-color: #5a6268;
}


/* Sidebar principal */

/* Sidebar principal */
.main-sidebar {
  width: 250px;
  background-color: #fff !important;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1040;
  /* mayor para que quede arriba */
}

/* Logo */
.brand-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

/* Imagen del logo */
.header-logo {
  height: 40px;
  max-width: 100%;
}

/* Panel de usuario */
.user-panel {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

.user-panel .image img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #FFC604;
}

.user-panel .info {
  margin-left: 8px;
}

.user-panel .info a {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  line-height: 0.5;
}

/* Menú */
.nav-sidebar>.nav-item>.nav-link {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  /* reducido */
  font-size: 14px;
  line-height: 1.2;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-sidebar>.nav-item>.nav-link.active,
.nav-sidebar>.nav-item>.nav-link:hover {
  background-color: #f7f7f7;
  color: #5b939f;
}

.nav-sidebar .nav-icon {
  margin-right: 8px;
  color: #5b939f;
  font-size: 15px;
  line-height: 1;
  vertical-align: top;
}

/* Cerrar sesión */
.nav-sidebar .fa-sign-out-alt {
  color: #dc3545;
}

/* Corrección general de bullets */
ul.nav-sidebar {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/* Fuente general */
body {
  font-family: 'Segoe UI', sans-serif;
}


.content-wrapper {
  overflow-y: auto !important;
  min-height: calc(100vh - 57px);
  /* Ajusta según tu header si lo tenés fijo */
  /* padding-bottom: 30px; /* margen inferior si lo necesitás */
  background-color: #f3f2f2ce;
  /* gris claro típico de AdminLTE */
  margin-left: 250px;
}


/* Content header */
.content-header {
  background-color: #f8f9fa;
  /* gris muy claro */
  padding: 12px 20px;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 10px;
}

/* Flex container */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Título principal */
.header-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffd900;
  /* verde tipo Bootstrap 5 */
  margin: 0;
}

/* Breadcrumb simple */
.breadcrumb-nav {
  font-size: 0.875rem;
  color: #6c757d;
}

.breadcrumb-nav a {
  color: #ffd900;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}



/* FOMRULARIOS */

/* General */
.formulario-section {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Fieldsets */
form fieldset {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px 20px 20px;
  margin-bottom: 20px;
}

form legend {
  font-weight: bold;
  font-size: 16px;
  color: #333;
  padding: 0 10px;
}

/* Inputs y labels */
form label {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
  color: #212529;
}

form input[type="text"],
form input[type="date"],
form textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  transition: border-color 0.2s ease;
}

form input:focus,
form textarea:focus {
  border-color: #007bff;
  outline: none;
}

/* Estética de la tabla */
#tablaDashboard th,
#tablaDashboard td {
  vertical-align: middle;
  font-family: 'Roboto', sans-serif;
  text-align: center;
}


#tablaDashboard tbody tr:hover {
  background-color: #fff7e6;
}

/* Botones de acción */
.btn-editar {
  background-color: #5b939f;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  color: white;
}

.btn-eliminar {
  background-color: #dc3545;
  border: none;
  padding: 5px 8px;
  border-radius: 5px;
  color: white;
}

.btn-editar:hover {
  background-color: #e0a800;
}

.btn-eliminar:hover {
  background-color: #c82333;
}


/* Tabla de transacciones */
#tablaTransacciones {
  margin-bottom: 10px;
  font-size: 14px;
}

#tablaTransacciones th,
#tablaTransacciones td {
  vertical-align: middle;
  text-align: center;
}

.th-enyi {
  font-family: 'Roboto', sans-serif !important;
  font-weight: 500 !important;
  font-size: 17px !important;
  color: #1e3c6b !important;
  letter-spacing: 0.5px !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #ddd !important;
  text-align: left !important;
}


/* Botones */
.btn {
  border-radius: 6px;
  font-size: 14px;
  padding: 6px 12px;
  font-weight: 500;
}

.btn-success {
  background-color: #198754;
  border: none;
}

.btn-danger {
  background-color: #dc3545;
  border: none;
}

.btn-dark {
  background-color: #343a40;
  border: none;
}

.btn-outline-primary {
  border: 1px solid #0d6efd;
  color: #0d6efd;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
}

/* Responsive spacing */
@media (min-width: 768px) {
  .form-group {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .formulario-section {
    padding: 15px;
  }
}


/* Tabla desc trasf */
#tablaTransacciones input.form-control,
#tablaTransacciones select.form-control {
  width: auto !important;
  max-width: 100% !important;
  display: inline-block;
}

/* 🎨 Estilos para inputs de la tabla de transacciones */
/* 🎨 Estilos para inputs de la tabla de transacciones */
.desc-transf-fecha {
  max-width: 150px;
  width: auto !important;
}

.desc-transf-cbu {
  max-width: 180px;
  width: auto !important;
}

.desc-transf-cuil {
  max-width: 130px;
  width: auto !important;
}

.desc-transf-detalle {
  max-width: 200px;
  width: auto !important;
}

.desc-transf-monto {
  max-width: 100px;
  width: auto !important;
  text-align: right;
}

.desc-transf-moneda {
  max-width: 80px;
  width: auto !important;
}

.desc-transf-borrar {
  min-width: 40px;
}

/* 🔧 Limitar ancho por columna de tabla */
th.col-fecha,
td:nth-child(1) {
  width: 150px;
}

th.col-cbu,
td:nth-child(2),
td:nth-child(3) {
  width: 180px;
}

th.col-cuil,
td:nth-child(4) {
  width: 130px;
}

th.col-detalle,
td:nth-child(5) {
  width: 200px;
}

th.col-monto,
td:nth-child(6) {
  width: 100px;
}

th.col-moneda,
td:nth-child(7) {
  width: 80px;
}

th.col-tipo,
td:nth-child(8) {
  width: 80px;
}

th.col-accion,
td:nth-child(9) {
  width: 60px;
}

#tablaTransacciones input,
#tablaTransacciones select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.user-panel-slide {
  position: fixed;
  top: 0;
  left: 0;
  /* Desde el borde del viewport */
  width: 300px;
  height: 100%;
  background-color: #fff;
  z-index: 1039;
  /* Menor que el aside (1040 por ejemplo) */
  transform: translateX(-100%);
  /* Fuera de vista inicialmente */
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Cuando se abre */
.user-panel-slide.open {
  transform: translateX(250px);
  /* Justo al lado del aside */
}

/* Overlay (bloquea fondo pero no el aside) */
.user-panel-overlay {
  position: fixed;
  top: 0;
  left: 250px;
  /* empieza justo donde termina el aside */
  width: calc(100% - 250px);
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1038;
  display: none;
}

.user-panel-overlay.active {
  display: block;
}



.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem !important;
  border-bottom: 1px solid #e0e0e0;
  background-color: #fff;
  width: 100%;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-left {
  justify-content: flex-start;
}

.header-right {
  justify-content: flex-end;
}

.header-logo {
  height: 32px;
}

.header-app-name {
  font-style: italic;
  color: #2980b9;
  font-size: 1rem;
}



/* Estilo del header del modal */
.modal-header-enyi {
  justify-content: center;
  position: relative;
  background-color: #f8f9fa;
  /* opcional */
  padding: 1rem 1rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* Estilo del título */
.modal-title-enyi {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #3c6afc;
  text-align: center;
  width: 100%;
  margin: 0;
}

.btn-close-enyi {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.btn-close-enyi:hover {
  opacity: 1;
}

.succes-button-enyi {
  background-color: #5b939f;
  color: white;
  font-weight: 500;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.succes-button-enyi:hover {
  background-color: #5b939f;
}

.succes-button-enyi.disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}



.outline-button-enyi {
  display: block;
  margin: 0 auto;
  /* ← Esto lo centra horizontalmente */
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 2rem;
  border: 2px solid #3c6afc;
  background: linear-gradient(to right, #ffffff 0%, #ffffff 100%);
  color: #3c6afc;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: none;
  width: 80%;
  text-align: center;
}

.outline-button-enyi:hover {
  background: linear-gradient(to right, #3c6afc, #2980b9);
  color: #ffffff;
  border-color: #2980b9;
  text-decoration: none;
}

.btn-tabla-enyi {
  display: inline-block !important;
  margin: 4px 6px !important;
  padding: 6px 16px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: 2rem !important;
  border: 2px solid #3c6afc !important;
  background: #fff !important;
  color: #3c6afc !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(60, 106, 252, 0.1) !important;
}

.btn-tabla-enyi:hover {
  background: linear-gradient(to right, #3c6afc, #2980b9) !important;
  color: #fff !important;
  border-color: #2980b9 !important;
  text-decoration: none !important;
}

.btn-tabla-enyi span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}

.dataTables_filter label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 0.5rem;
}

.dataTables_filter input[type="search"] {
  border: 2px solid #3c6afc !important;
  border-radius: 2rem !important;
  padding: 6px 16px !important;
  font-size: 0.8rem !important;
  outline: none !important;
  color: #333 !important;
  transition: all 0.3s ease;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(60, 106, 252, 0.1);
  margin-left: 8px;
}

.dataTables_filter input[type="search"]:focus {
  border-color: #2980b9 !important;
  box-shadow: 0 0 0 2px rgba(60, 106, 252, 0.2);
}


.dataTables_paginate {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 16px !important;
}

.dataTables_paginate .paginate_button {
  border: 2px solid #3c6afc !important;
  background-color: #fff !important;
  color: #3c6afc !important;
  padding: 6px 14px !important;
  border-radius: 2rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.dataTables_paginate .paginate_button:hover {
  background: linear-gradient(to right, #3c6afc, #2980b9) !important;
  color: #fff !important;
  border-color: #2980b9 !important;
}

.dataTables_paginate .paginate_button.current {
  background: #3c6afc !important;
  color: #fff !important;
  border-color: #3c6afc !important;
}


.btn-tabla-enyi span.btn-tabla-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
}

.btn-tabla-enyi span.emoji {
  font-size: 1.1rem;
  line-height: 1;
}



.perfil-enyi-container {
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  max-width: 100%;
}

.perfil-enyi-header {
  background: linear-gradient(to right, #5b939f, #203567);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.perfil-enyi-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  line-height: 1.6;
}

.perfil-enyi-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.badge-enyi-activo {
  background-color: #198754;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.perfil-enyi-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.icon-perfil-enyi {
  color: #5b939f;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  margin-top: 2px;
}

.perfil-enyi-card div {
  font-size: 0.9rem;
  line-height: 1.4;
}

.btn-cambiar-pass-enyi {
  background-color: #5b939f;
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  margin: 16px auto 0;
  transition: background-color 0.3s ease;
}

.btn-cambiar-pass-enyi i {
  font-size: 0.9rem;
}

.btn-cambiar-pass-enyi:hover {
  background-color: #447b8b;
}






#otpCambioContainer {
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.otp-input {
  width: 42px;
  height: 45px;
  font-size: 24px;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}


/* 🔒 Estilo cuando está readonly */
.otp-input[readonly] {
  background-color: #e6f4ff;
  /* azul clarito */
  color: #333;
  border-color: #b3d7ff;
  cursor: not-allowed;
}

#btnValidarOTP,
#btnEnviarOTP {
  margin-top: 1rem;
}

.form-group {
  position: relative;
}

.icon-left {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #5a9;
  pointer-events: none;
  z-index: 2;
}


.clave-input {
  padding-left: 2.5rem !important;
  /* 👈 Espacio suficiente para el icono */
  padding-right: 2.5rem !important;
  /* 👈 Espacio para el botón del ojo */
  height: 45px;
  border-radius: 0.5rem;
}

.btn-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  z-index: 2;
  cursor: pointer;
}

.btn-eye i.material-icons {
  font-size: 20px;
  color: #5a9;
}



/* TARJETAS INFORMATIVAS ENYI */
@keyframes zoomInFromBack {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.card-info-enyi {
  background-color: #ffffff;
  border: 2px solid #5b939f;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: zoomInFromBack 0.5s ease-out;
}

.card-info-enyi:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 28px rgba(91, 147, 159, 0.3);
}

.card-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-image: linear-gradient(to right, #5b939f, #203567);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.card-info-text h6 {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: #777;
}

.card-info-text h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  font-weight: 700;
}


.card-info-enyi-op {
  position: relative;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
  min-height: 120px;
  border: 2px solid #5b939f;
  border-radius: 1rem;
}

.card-info-enyi-op:hover {
  transform: translateY(-3px);
}

.card-info-enyi-op .badge-op {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  background-color: #e4f1f7;
  padding: 2px 6px;
  border-radius: 6px;
  z-index: 2;
}

.card-info-enyi-op .badge-bandera {
  position: absolute;
  top: 1.8rem;
  left: 0.5rem;
  width: 48px;
  height: auto;
  z-index: 1;
}

.card-info-enyi-op .card-info-text {
  margin-left: 60px;
}

.card-info-enyi-op .card-info-text p {
  margin: 0;
  font-weight: 600;
  color: #444;
}

.was-validated input:invalid,
.was-validated select:invalid,
.was-validated textarea:invalid {
  border: 1px solid #009ee3 !important;
  box-shadow: 0 0 5px rgba(0, 158, 227, 0.5);
}

.was-validated input:invalid:focus,
.was-validated select:invalid:focus,
.was-validated textarea:invalid:focus {
  outline: none;
  border-color: #0077b6 !important;
  box-shadow: 0 0 6px rgba(0, 119, 182, 0.6);
}

.cls-card-ypf {
  border: 1px solid #d0d0d0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
}

.cls-card-ypf .card-header {
  background: linear-gradient(to right, #007bff, #0056b3) !important;
  color: white !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-bottom: 1px solid #e5e5e5 !important;
  border-radius: 14px 14px 0 0 !important;
}

.cls-card-ypf .card-title {
  margin: 0 !important;
  font-weight: 500 !important;
  color: white !important;
  font-size: 1.4rem !important; /* achica el texto */
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cls-card-ypf .card-title i {
  font-size: 1rem !important; /* achica el icono */
}

.cls-card-ypf label {
  font-weight: 500 !important;
  color: #333 !important;
  font-size: 0.9rem !important;
}

.cls-card-ypf .form-control {
  border-radius: 8px !important;
  font-size: 0.9rem !important;
}

.cls-card-ypf .form-control:focus {
  border-color: #007bff !important;
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.25) !important;
}

.cls-card-ypf .btn-primary {
  background-color: #007bff !important;
  border: none !important;
  transition: background-color 0.2s ease-in-out !important;
}

.cls-card-ypf .btn-primary:hover {
  background-color: #0056b3 !important;
}

.content-scaled {
  max-width: 80rem !important; /* 1280px aprox */
  margin: 0 auto !important;
  padding: 1rem !important;
  transform: scale(0.95);
  transform-origin: top center;
}
  .chart-wrap { position: relative; height: 320px; }   /* fijás la altura */
  .chart-wrap canvas {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;   /* ocupa todo el wrap */
  }