body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 60px;
}


/* Contenedor principal que ocupa el espacio restante */
.container-main {
    flex: 1; /* crece para empujar el footer abajo */
}

/* Footer */
footer.footer-text {
  background: linear-gradient(to right, #611e0a, #6a210b);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

.logo-container img {
    height: 50px;
    margin: 0 10px;
}
.login-card {
    max-width: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 30px;
    background-color: #ffffff;
    animation: fadeIn 0.8s ease;
}
.login-title {
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
.btn-login {
    background-color: #28a745; /* verde */
    color: #fff;
    width: 100%;
}
.btn-login:hover {
    background-color: #218838;
}

footer {
    margin-top: auto;
    background-color: #e9ecef;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    color: #333;
    width: 100%;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.navbar {
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(to right, #611e0a, #6a210b);
  }
  
  .navbar .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .navbar .nav-link:hover {
    color: #fffacd !important; /* tono amarillo suave */
  }
  
  .dropdown-menu {
    border-radius: 0.75rem;
    animation: fadeIn 0.2s ease-in-out;
  }


  .d-flex::-webkit-scrollbar {
    height: 8px;
  }
  .d-flex::-webkit-scrollbar-thumb {
    background: #198754;
    border-radius: 10px;
  }
  .d-flex::-webkit-scrollbar-track {
    background: #e9ecef;
  }

  .card-menu {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 12px;
    width: 180px;
    height: 240px;
  }
  .card-menu:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  .card-menu img {
    max-height: 120px;
    object-fit: contain;
    margin-top: 20px;
  }
  .footer-text {
    background-color: #e9ecef;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-top: 40px;
  }
  