/* ======== SAN FRANCISCO PRO DISPLAY ======== */

/* Thin Italic - 100 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYTHINITITALIC.otf") format("opentype");
    font-weight: 100;
    font-style: italic;
}

/* UltraLight Italic - 200 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYULTRALIGHTITALIC.otf") format("opentype");
    font-weight: 200;
    font-style: italic;
}

/* Light Italic - 300 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYLIGHTITALIC.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
}

/* Regular - 400 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYREGULAR.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

/* Medium - 500 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYMEDIUM.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

/* SemiBold Italic - 600 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYSEMIBOLDITALIC.otf") format("opentype");
    font-weight: 600;
    font-style: italic;
}

/* Bold - 700 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYBOLD.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

/* Heavy Italic - 800 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYHEAVYITALIC.otf") format("opentype");
    font-weight: 800;
    font-style: italic;
}

/* Black Italic - 900 */
@font-face {
    font-family: "San Francisco";
    src: url("../fonts/SFPRODISPLAYBLACKITALIC.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
}

/* Fondo general sin transición para evitar parpadeo */
body {

  background-color: #eafaf1 !important;
  font-family: "San Francisco", sans-serif;
  font-weight: 500;
  font-size:15px;
  margin: 0;
  padding: 0;
  
 }
 
 h1, h2, h3, h4, h5, h6, 
p, a, label, select, option, 
button, input, textarea, span {
    font-family: "San Francisco", sans-serif !important;
	
}


/* Contenedor general del formulario */
tfoot th {
    border-top: 2px solid #000;
}

.separador-minimalista {
    border: none;
    height: 1px;
    background-color: #e5e5ea; /* Gris muy suave */
    margin: 30px 0; /* Da 30px de espacio arriba y abajo */
}

.separador-gradiente {
    border: none;
    height: 4px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
    margin: 30px 0;
}

.resumen-principal{
    background:#fff;
    border-radius:16px;
    padding:18px 25px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.resumen-principal .titulo{
    font-size:16px;
    color:#6c757d;
    font-weight:600;
    text-transform:uppercase;
}

.resumen-principal .valor{
    font-size:30px;
    font-weight:700;
    color:#212529;
    line-height:1;
}

.resumen-principal .unidad{
    font-size:18px;
    color:#6c757d;
    font-weight:600;
}

.card-resumen{
    background:#fff;
    border-radius:14px;
    padding:14px 10px;
    text-align:center;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    transition:.2s;
    height:100%;
    border-top:4px solid #ddd;
}

.card-resumen:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(0,0,0,.12);
}

.card-resumen i{
    font-size:20px;
    margin-bottom:6px;
}

.card-resumen .titulo{
    color:#6c757d;
    font-size:13px;
    font-weight:600;
    margin-bottom:6px;
}

.card-resumen .valor{
    font-size:18px;
    font-weight:700;
    color:#212529;
    line-height:1.1;
}

.card-resumen .unidad{
    color:#6c757d;
    font-size:12px;
    font-weight:600;
    margin-top:2px;
}

/* Colores */


.azul{
    border-color:#3b82f6;
}
.azul i{
    color:#3b82f6;
}

.azul-cielo{
    border-color:#5AC8FA99;
}
.azul-cielo i{
    color:#5AC8FA;
}
.morado{
    border-color: #8b5cf6;
}

.morado i{
    color: #8b5cf6;
}

.naranja{
    border-color:#f59e0b;
}
.naranja i{
    color:#f59e0b;
}

.verde{
    border-color:#22c55e;
}
.verde i{
    color:#22c55e;
}

.rojo{
    border-color:#ef4444;
}
.rojo i{
    color:#ef4444;
}

.table-sm td,
.table-sm th {
    padding: .25rem .5rem;
}

.table-warning {
    color: #D97706 !important;            /* Texto café oscuro */
}

.table-success {
    color: #198754 !important;            /* Texto café oscuro */
}

#contenedor_transferencias * {
    color: var(--bs-primary) !important;
}

#contenedor_creditos * {
     color: #D97706 !important;            /* Texto café oscuro */
}

#contenedor_gastos *:not(button):not(.btn):not(i):not(.bi) {
    color: var(--bs-danger) !important;
}
#contenedor_cobranza *:not(span) {
    color: #6f42c1 !important;
}

.file-btn:focus {
    outline: 2px solid #1B5E20; 
    outline-offset: 2px;
    box-shadow: 0 0 5px rgba(0,123,255,.5);
}

.form-container {
  max-width: 60%;
  width: 100%;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.form-container:hover {
  transform: translateY(-3px);
}

.form-container2 {
  max-width: 80%;
  width: 100%;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.form-container2:hover {
  transform: translateY(-3px);
}
.form-container3 {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.form-container3:hover {
  transform: translateY(-3px);
}
.form-container4 {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.form-container4:hover {
  transform: translateY(-3px);
}

.form-container5 {
  /* 1. Ajustamos el ancho al 95% del viewport */
  width: 85vw; 
  max-width: 85vw;
  
  /* 2. Restamos exactamente la mitad de 95vw (47.5vw) para centrarlo */
  margin-left: calc(50% - 42.5vw); 
  
  /* 3. El resto se mantiene igual */
  box-sizing: border-box; 
  padding: 30px 40px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.form-container5:hover {
  transform: translateY(-3px);
}

.form-container5:hover {
  transform: translateY(-3px);
}
/* Título */
.form-title {
  color: #198754;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1px;
}
.form-title2 {
  color: #198754;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1px;
}

/******************************************************/
/* Inputs y selects estilo Apple */
input[type="text"],
input[type="number"],
input[type="date"],
input[type="password"],
textarea,
select,
.form-select {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 8px;
  border: none; /* Sin borde fuerte */
  border-radius: 14px; /* Apple style */
  background-color: #f5f5f7; /* Gris suave tipo iOS */
  font-size: 1rem;
  box-sizing: border-box;

  /* Sombra ligera Apple */
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);

  transition: 
      box-shadow 0.25s ease,
      background-color 0.25s ease,
      transform 0.1s ease;
}

/* Hover estilo Apple */
input:hover,
textarea:hover,
select:hover,
.form-select:hover {
  background-color: #f0f0f3;
}

/* Focus Apple */
input:focus,
textarea:focus,
select:focus,
.form-select:focus {
  outline: none;
  background-color: #ffffff; /* Efecto de elevación */
  box-shadow: 
      0 0 0 3px rgba(25,135,84,0.3),  /* Halo verde suave */
      0 2px 6px rgba(0,0,0,0.15);
  transform: scale(1.01); /* Sutil aumento tipo iOS */
}

/* Contenedor principal */
.select2-container .select2-selection--single {
  height: 46px !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 10px 15px !important;
  font-size: 1rem !important;
  background-color: #f5f5f7 !important; /* Fondo Apple */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important; /* Sombra suave */
  display: flex !important;
  align-items: center !important;
  transition: 
      box-shadow 0.25s ease,
      background-color 0.25s ease,
      transform 0.1s ease;
}

/* Icono del desplegable */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 12px !important;
}

/* Texto seleccionado */
.select2-container--default .select2-selection__rendered {
  color: #333 !important;
  font-family: "San Francisco", sans-serif !important;
  line-height: normal !important;
  padding-left: 0 !important;
}

/* Hover Apple */
.select2-container--default .select2-selection--single:hover {
  background-color: #f0f0f3 !important;
}

/* Focus Apple */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-container--focus .select2-selection--single {
  background-color: #ffffff !important;
  box-shadow: 
      0 0 0 3px rgba(25,135,84,0.3) !important, /* Halo verde suave */
      0 2px 6px rgba(0,0,0,0.15) !important;
  transform: scale(1.01);
}

/* Menú desplegable */
.select2-dropdown {
  border: none !important;
  border-radius: 14px !important;
  background-color: #ffffff !important;
  box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.1),
      0 2px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden !important;
}

/* Opciones dentro del menú */
.select2-results__option {
  padding: 10px 12px !important;
  font-size: 1rem !important;
  font-family: "San Francisco", sans-serif !important;
  transition: background-color 0.2s ease;
}

/* Hover de las opciones — Apple verde */
.select2-results__option--highlighted {
  background-color: #198754 !important;
  color: #fff !important;
}

/* Opción seleccionada */
.select2-results__option[aria-selected="true"] {
  background-color: #e9f7ef !important;
  color: #198754 !important;
}


/* Botones */
.btn {
  background: #007AFF !important; /* Azul Apple */
  border: none !important;
  padding: 10px 22px !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-weight: 600;
  transition: 0.25s ease;
}

.btn:hover {
  background: #0063CC !important;
}

.btn-danger {
  background: #FF3B30 !important;
}
.btn-danger:hover {
  background: #E23329 !important; /* oscuro */
}

.btn-success {
  background: #34C759 !important;
}
.btn-success:hover {
  background: #2FAB4F !important; /* oscuro */
}

.btn-primary, 
.btn-confirmar {
  background: #007AFF !important;
}

.btn-primary:hover,
.btn-confirmar:hover{
  background: #0066D6 !important; /* oscuro */
}

.btn-info {
  background: #5AC8FA !important;
}
.btn-info:hover {
  background: #4AB5E4 !important; /* oscuro */
}

.btn-warning {
  background: #FF9F0A !important;
}
.btn-warning:hover {
  background: #DB8604 !important; /* oscuro */
}

.btn-secondary,
.btn-cancelar {
  background: #AEAEC0 !important;
}
.btn-secondary:hover,
.btn-cancelar:hover {
  background: #9898AD !important; /* oscuro */
}

.btn-success_add {
  background-color: #33C481;

  margin-bottom: 10px;
  border: none !important;
  padding: 10px 22px !important;
  border-radius: 12px !important;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-success_add:hover,
.btn-success_add:focus {
  background-color: #28a96f;
  box-shadow: 0 6px 12px rgba(21, 115, 71, 0.5);
   color: white;
}

.btn-excel {
  background-color: #28a96f !important; /* Verde Excel */
  color: #fff;               /* Texto blanco */
  border: none;
}

.btn-excel:hover {
  background-color: #185c37; /* Verde más oscuro al pasar el mouse */
  color: #fff;
}

.swal-apple {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    padding: 16px !important;
    backdrop-filter: blur(10px);
}

/* Ventana */
.swal2-popup {
    border-radius: 20px;
    padding: 2rem;
    font-family: 'Segoe UI', sans-serif;
}

/* Botón Confirmar */
.swal2-confirm {
    background: #007AFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
}

/* Botón Cancelar */
.swal2-cancel {
    border-radius: 12px !important;
}

/* Botón estilo iOS */
.btn-apple {
    background: #007aff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 6px 16px !important;
    font-weight: 500;
    color: white;
}

.btn-apple:hover {
    background: #0063cc !important;
}
.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #34c759; /* Verde Apple */
  color: white;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Icono */
.btn-export i {
  font-size: 1.4rem;
}

/* Hover */
.btn-export:hover {
  background-color: #2fa84f;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Active (click) */
.btn-export:active {
  transform: scale(0.97);
  background-color: #278b42;
}

.alert {
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 500;
}


/* Switch más grande y estilizado */
.form-check-input {
  width: 3rem !important;
  height: 1.5rem !important;
  cursor: pointer;
}

.campo-negritas {
  font-weight: bold;
}


#venta_total {
  font-weight: bold;
}


/* Loader - cubre toda la pantalla */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #eafaf1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

#loader.fade-out {
  opacity: 0;

}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #198754;
  border-top: 6px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}



/* ======================================== */
/* 🍏 TABLAS   */
/* ======================================== */

.table-apple {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 8px; /* Espaciado entre filas */
  font-family: "San Francisco", sans-serif;
}

/* Filas */
.table-apple tbody tr {
  background: #f5f5f7 !important;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

/* Hover tipo iOS */
.table-apple tbody tr:hover {
  background: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: scale(1.004);
}

/* Celdas */
.table-apple td {
  padding: 14px 18px !important;
  border: none !important;
  vertical-align: middle;
  color: #1d1d1f !important;
  font-size: 0.95rem;
}



/* Encabezados  */
/*
.table-apple thead th {
  background: #e4e4e7 !important;
  border: none !important;
  color: #1d1d1f !important;
  font-weight: 600;
  text-align: center;
  padding: 14px;
  font-size: 0.9rem;
  border-radius: 10px;
}
*/

/* Ajuste Apple para tablas con "bordered" de Bootstrap */
.table-bordered > :not(caption) > * > * {
  border-width: 0 !important;
}

/* Botón dentro de la tabla – estilo Apple */
.table-apple button {
  border-radius: 12px !important;
  padding: 6px 14px !important;
  font-size: 0.85rem !important;
  font-weight: 600;
  
 # background: #34c759 !important; /* Verde Apple */
  border: none !important;
  transition: 0.25s ease;
}

.table-apple button:hover {
  #background: #28a745 !important;
  transform: scale(1.05);
}

/* Responsive fix */
.table-responsive {
  overflow-x: auto;
  width: 100%;
  padding: 4px;
}

/* Indicador de fila destacada */
/* .table-apple td strong {
  color: #0b8a42;
}
 */
.table-apple td, .table-apple th {
    white-space: nowrap;
}

.overlay-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0));
  z-index: -1;
}
	
.texto-header {
  position: fixed;
  top: 7%;
  left:4%;
  width: 100%;
  text-align: center;
  color: #fff;
   z-index: 10;
}


.card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.card:hover {
  transform: translateY(-5px);
  transition: transform 0.2s ease-in-out;
}


.card-login {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}


.navbar {
  height: 80px; /* Aumenta la altura */ 
  position: fixed;     /* Fija la barra */
  top: 0;              /* Se queda arriba */
  left: 0;
  width: 100%;         /* Ocupa todo el ancho */
  z-index: 999;        /* Evita que quede detrás de otros elementos */ 
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}



.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .navbar-toggler {
    z-index: 10; 
}

.logo-text {
    font-size: 28px;   /* Aumenta el tamaño */
    letter-spacing: 1px;  /* Más elegante */
}

/* ===== Flechas estilo Apple ===== */
.carousel-control-prev,
.carousel-control-next {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.25s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Hover elegante */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transform: translateY(-50%) scale(1.08);
}

/* Tamaño del icono */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Flechas blancas */
    width: 28px;
    height: 28px;
}

/* Evitar que los botones se peguen a los bordes */
.carousel-control-prev {
    left: 25px;
}

.carousel-control-next {
    right: 25px;
}

.carousel-indicators button {
    background-color: #333 !important;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-indicators .active {
    width: 30px !important;
    border-radius: 20px !important;
    background-color: #000 !important;
}

.custom-tabs .nav-link {
  border-radius: 0.5rem 0.5rem 0 0;
  background-color: #f8f9fa;
  color: #333;
  transition: all 0.2s;
}

.custom-tabs .nav-link.active {
  background-color: #0d6efd;
  color: white;
}


.borde{
	border: 1px solid #000;
	
}


/* ========================
      CONTENEDOR PRINCIPAL
	  
========================= */


.menu-wrapper {
	
    padding-top: 80px;
    height: calc(100vh );
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto;
}


.slider {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: #e8f7f2;
    padding: 40px 0;
    overflow: hidden; /* Evita espacio lateral */
}



.slider-container {
    width: 100%;   
	height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

/* ========================
      TRACK (CARRIL)
========================= */
.slide-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    width: max-content; /* Se ajusta EXACTO al tamaño real del contenido */
}

/* ========================
      SLIDES (TARJETAS)
========================= */
.slide {
	height:100%;
    flex: 0 0 auto;        /* ⬅️ Esto evita que se estiren o se compriman */
    position: relative;
    min-width: 65vw;      /* Tu tamaño personalizado */
	 max-width: 65vw;  
    text-align: center;
    margin: 0;             /* ⬅️ Evita saltos o espacios extras */
    padding: 0;
}

/* ========================
      IMÁGENES
========================= */
.slide img {
    width: 100%;
    height: calc(80vh);
    object-fit: cover;
    border-radius: 28px;
    background: #ffffff;
    padding: 0;
	

    /* Sombra estilo Apple */
    box-shadow:
        0 10px 25px rgba(0,0,0,0.15),
        0 5px 10px rgba(0,0,0,0.05);

    transition: transform .3s ease, box-shadow .3s ease;
}
.slide img {
    will-change: transform, box-shadow;
    transform: translateZ(0);
}


/* Hover Apple */
.slide img:hover {
    transform: scale(1.04);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.20),
        0 10px 20px rgba(0,0,0,0.10);
		
}

/* ========================
      ETIQUETAS
========================= */
.menu-title {
    position: absolute;
    bottom: 22px;
    left: 22px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}



.container{
	margin-top:80px;
}


#tablaCreditosDetalle td,
#tablaCreditosDetalle th, 
#tabla1 td,
#tabla1 th,
#tabla2 td,
#tabla2 th,
#tablaCreditos td,
#tablaCreditos th {
    white-space: nowrap !important;
}

.no-wrap {
    white-space: nowrap !important;
}

    /* PANEL tipo Apple */
    .menu-lateral {
        position: absolute;
        top: 60px;
        left: 10px;
        width: 260px;

        background: rgba(255, 255, 255, 0.65);   /* translúcido */
        backdrop-filter: blur(18px);             /* efecto Apple */
        -webkit-backdrop-filter: blur(18px);

        padding: 18px;
        border-radius: 20px;

        box-shadow: 0 8px 30px rgba(0,0,0,0.18);
        z-index: 1000;
    }

    /* Lista completa */
    .menu-lateral .navbar-nav {
        width: 100%;
    }

    /* Botones estilo Apple */
    .menu-lateral .nav-link {
        display: flex;
        align-items: center;

        padding: 12px 14px;
        margin-bottom: 10px;

        border-radius: 14px;
        background: rgba(255, 255, 255, 0.75);
        color: #1b5f1b;

        font-size: 15px;
        font-weight: 500;

        transition: background 0.2s ease, transform 0.2s ease;
    }

    /* Íconos dentro del menú (si usas Bootstrap Icons o FontAwesome) */
    .menu-lateral .nav-link i {
        margin-right: 8px;
        font-size: 18px;
    }

    /* Hover estilo  */
    .menu-lateral .nav-link:hover {
        background: rgba(240, 240, 240, 0.95);
        transform: translateY(-1px);
    }

    /* Opción activa */
    .menu-lateral .nav-link.active {
        background: #d6f5d6;        /* verde pastel */
        color: #1b5f1b;
        font-weight: 600;
    }

    /* Evitar que el collapse crezca */
    .navbar-collapse {
        flex-grow: 0 !important;
    }
	
	/* ------------------------------
	   MENÚ  (Usuario)
		--------------------------------*/

		.menu-trigger {
			font-size: 15px;
			font-weight: 500;
			color: #1b5f1b !important;
			transition: opacity .2s ease;
		}

		.menu-trigger:hover {
			opacity: 0.75;
		}

		/* Contenedor del menú */
		.menu-dropdown {
			border-radius: 14px;
			padding: 8px 0;
			border: none;
			background: rgba(255,255,255,0.8);
			backdrop-filter: blur(20px);
			box-shadow: 0 8px 25px rgba(0,0,0,0.15);
			animation: appleFade .17s ease-out;
		}

		/* Items */
		.menu-item {
			padding: 10px 18px !important;
			font-size: 14.5px;
			font-weight: 600;
			border-radius: 10px;
			transition: all .15s ease;
			color: #1b5f1b !important;
		}

		.menu-item i {
			opacity: 0.6;
		}

		/* Hover */
		.menu-item:hover {
			background: rgba(0,0,0,0.05);
			transform: translateX(4px);
			color: #1b5f1b !important;
		}

		.dropdown-divider {
			margin: 6px 0;
			border-color: rgba(0,0,0,0.1);
		}

		/* Animación */
		@keyframes appleFade {
			from { opacity: 0; transform: translateY(-6px); }
			to   { opacity: 1; transform: translateY(0); }
		}

		.bg-central{
			#background:#2E7D32;
			#background:#388E3C;
			background:#1B5E20;
		}
		
/* Ocultar input real */
input[type="file"] {
  display: none;
}

/* Botón estilo Apple */
.file-btn {
  display: inline-block;
  padding: 12px 18px;
  background-color: #f5f5f7;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: 
      box-shadow 0.25s ease,
      background-color 0.25s ease,
      transform 0.1s ease;
}

/* Hover tipo Apple */
.file-btn:hover {
  background-color: #e8e8eb;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Cuando se presiona */
.file-btn:active {
  transform: scale(0.97);
}



@media (max-width: 768px) {
  .navbar {
    height: auto; /* la altura real */
  }

  .menu-wrapper {
    padding-top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
  }
  
/*   .carousel-item img {
	  object-fit: fill;
  } */
  


  .form-container,
  .form-container2 {
    max-width: 100% !important;
    padding: 10px !important;
  }

  .card-login {
    left: 0 !important;
    margin: 0 auto !important;
  }



  .report-button {
    left: 75% !important;
    width: 18% !important;
  }
  
  
  
    .texto-header {
    top: 5% !important;
    left: 5% !important;
    gap: 5px !important;
    text-align: left !important;
    font-size: 1.2rem !important;
  }

	  .texto-headertexto-header img {
		height: 50px !important;
	  }

	  .texto-header h1 {
		font-size: 1.9rem !important;
	  }

	  .texto-header h2 {
		font-size: 1.2rem !important;
	  }
	  
	  backstretch img {
		object-fit: cover !important;
	  }
	  
	  .carousel-item img {
		
		object-fit: fill;

	 
	}
	.slider {
       padding-top: var(--navbar-height);
		height: calc(100vh - var(--navbar-height));
        display: flex;
        align-items: center;
    }

    .slide-track {
        gap: 10px;                     /* menos separación */
       
    }

    .slide {
		
        min-width: 85vw;               /* ⬅ TARJETA VERTICAL */
        max-width: 85vw;
        height: 90vh;                  /* casi toda la pantalla */
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slide img {
		# object-fit: cover;            
		# object-fit: contain;    
		 object-fit: fill;    
		#object-fit: scale-down;    
    }

		.slide img:hover {
			transform: scale(1.01);
			
		}

    .menu-title {
        position: absolute;
        bottom: 7vh;
        left: 20px;
        font-size: 1.1rem;
        padding: 8px 14px;
        background: rgba(0,0,0,0.50);
        color: white;
        backdrop-filter: blur(4px);
        border-radius: 12px;
    }
	
    .carousel-control-prev,
    .carousel-control-next {
        display: none; /* Oculta los botones */
    }


}
