@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600&display=swap');


:root {
    --gris-claro: #c0c0c0;
    --azul: #2368dc;
    --verde: #4ea903;
    --blanco: #ffffff;
}

/* Fuente principal */
body {
    font-family: 'Source Sans Pro', sans-serif;
}

/* NAVBAR estilos */
.navbar-custom {
    background-color: var(--verde);
    transition: top 0.3s;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: var(--blanco) !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* Línea animada debajo al hacer hover */
.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--blanco);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Hover de texto */
.navbar-custom .nav-link:hover {
    color: var(--azul) !important;
}

/* Línea aparece en hover */
.navbar-custom .nav-link:hover::after {
    transform: scaleX(1);
}

/* Efecto en íconos */
.navbar-custom .nav-link i {
    transition: transform 0.3s ease;
}

.navbar-custom .nav-link:hover i {
    transform: rotate(-5deg) scale(1.1);
}

/* FOOTER */
footer {
    background-color: var(--gris-claro);
    color: #000;
    padding: 20px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-custom {
    background-color: var(--verde);
    color: var(--blanco);
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: var(--blanco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--azul);
    text-decoration: underline;
}

.footer-logo-ajustada {
    max-height: 180px;      /* Lo ves más grande */
    position: absolute;
    top: -60px;             /* Lo empujas hacia arriba sin crecer el footer */
    left: 0;
}

.footer-caja {
    text-align: center;
    margin-top: 1rem;
}

.footer-caja .icon-caja {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--blanco);
}

/* CONTENIDO CENTRAL */
.content-wrapper {
    min-height: calc(100vh - 160px); /* navbar + footer */
}


.btn-registrar-empleado {
    background-color: var(--gris-claro);
    color: var(--blanco);
    border: none;
    transition: background-color 0.3s ease;
}

.btn-registrar-empleado:hover {
    background-color: var(--azul);
    color: var(--blanco);
}



/* CARRULSEL*/


/* Ajustes para el carrusel del dashboard */

/* CONTENEDOR DEL CARRUSEL CASI FULL-WIDTH */
.dashboard-carousel-wrapper {
    width: 95vw;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
  
    /* NUEVO */
    display: block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* IMÁGENES DEL CARRUSEL */
  .carousel-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 60% center;
    display: block;
    border-radius: 0;
  }
  
  
  /* BOTONES DE NAVEGACIÓN DEL CARRUSEL */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 80% 80%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }
  
  /* RESPONSIVE */
  @media (max-width: 768px) {
    .dashboard-carousel-wrapper {
      width: 100vw;
      border-radius: 0;
    }
  
    .carousel-img {
      height: auto;
    }
  }

