/* Estilos base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  .custom-navbar {
    background: linear-gradient(to right, #603f8b, #9505e3); /* Degradado morado-azul */
    color: white;
  }

  .container-fluid{
    margin-left: 1%;
  }
  
  .custom-navbar .navbar-brand {
    color: white;
  }
  
  .custom-navbar .navbar-brand:hover {
    color: #ddd;
  }
  
  
  body, html {
    height: 100%;
    font-family: 'Titillium Web', sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 40px;
  }
  
  /* Fondo con blur */
  .background-overlay {
    content: "";
  background: url('fondo-login.jpg') no-repeat center center / cover;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: -2;
    filter: blur(8px);
  }

  .nombre-usuario {
    font-size: 1rem;
    color: white !important;
    display: flex;
    align-items: center;
    margin: 0;
}

.salir-link {
    font-size: 1rem;
    font-weight: 500;
}

.user-section {
    font-family: 'Titillium Web', sans-serif;
}

  
  .login-wrap {
    position: relative;
    margin: 0 auto;
    background: #ecf0f1;
    width: 350px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px #333;
    padding: 15px;
    z-index: 1;
  }
  
  .login-wrap:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(to right,
      #6c3483 0%,    /* morado oscuro */
      #8e44ad 25%,   /* morado medio */
      #9b59b6 40%,   /* lavanda */
      #f1c40f 60%,   /* dorado brillante */
      #f39c12 80%,   /* dorado cálido */
      #d4ac0d 100%   /* dorado oscuro */
    );
  }
  
  
  .login-wrap h2 {
    text-align: center;
    font-weight: 200;
    font-size: 2em;
    margin-top: 10px;
    color: #34495e;
  }
  
  .login-wrap p {
    text-align: center;
  }
  
  .login-wrap .form {
    padding-top: 20px;
  }
  
  .login-wrap input[type="text"],
  .login-wrap input[type="password"],
  .login-wrap button {
    width: 80%;
    margin-left: 10%;
    margin-bottom: 25px;
    height: 40px;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
    
  }
  
  .login-wrap input[type="text"],
  .login-wrap input[type="password"] {
    border: 1px solid #bbb;
    padding: 0 10px;
  }
  
  .login-wrap input:focus {
    border: 1px solid #3498db;
  }
  
  .login-wrap button {
    background: #603f8b;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 200;
    cursor: pointer;
    transition: box-shadow .4s ease;
  }
  
  .login-wrap button:hover {
    box-shadow: 1px 1px 5px #555;
  }
  
  .login-wrap button:active {
    box-shadow: 1px 1px 7px #222;
  }
  
  .login-wrap a {
    text-align: center;
    font-size: 12px;
    color: #3498db;
    display: block;
    margin-top: -15px;
  }
  
  footer {
    margin-top: auto;
    z-index: 1;
  }
  .input-group.stylish-input {
    width: 80%;
    margin-left: 10%;
    margin-bottom: 25px;
  }
  
  .input-group-text {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 5px 0 0 5px;
    display: flex;
    align-items: center;
    padding: 0 12px;
  }
  
  .input-group .form-control {
    border-radius: 0 5px 5px 0;
    border: 1px solid #ccc;
    height: 40px;
    font-size: 14px;
  }
  
  