/*  STYLE PARA login.php*/

.body-login {
            background-color: #2c3e50;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: Arial, sans-serif;
}

.login-container {
            background-color: #34495e;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            text-align: center;
            max-width: 400px;
            width: 100%;
}

.login-container h1 {
            color: #ffffff;
            margin-bottom: 20px;
            font-size: 22px;
}

.login-container input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: none;
            border-radius: 5px;
}

.login-container button {
            width: 100%;
            padding: 10px;
            background-color: #869bae;
            border: none;
            border-radius: 5px;
            color: white;
            font-size: 16px;
            cursor: pointer;
}

.login-container button:hover {
            background-color: #6c819c;
}

.himg {
            filter: brightness(0) invert(1);
            width: 300px;
            margin-bottom: 20px;
        }

.olvidocontra {
            display: block;
            margin-top: 10px;
            color: #ffffff;
            font-size: 16px;
            text-decoration: underline;
        }

.olvidocontra:hover {
            color: #bdc3c7;
        }

.login-container input[type="submit"] {
            background-color: #869bae;
            font-size: 16px;
            width: 140px;
            color:white;
            cursor: pointer;
        }

.login-container input[type="submit"]:hover {
            background-color: #6c819c;
}

/* STYLE PARA vistaADM.php */

 .body-carrera {
    background-color: #f8f9fa;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    position: relative;
  }

  /* Barra superior */
  .upperbar-admin {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 90px !important;
    background: linear-gradient(135deg, #2c3e50 0%, #3e5c48 50%, #5ca47a 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    color: white;
    box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    z-index: 2000 !important;
  }

  /* Barra lateral */
  .sidebar-admin {
    position: fixed !important;
    top: 90px;
    left: 0;
    bottom: 0;
    width: 255px;
    background: linear-gradient(180deg, #2C3E50 31%, #3E5C48 50%, #5CA47A 70%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -webkit-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    z-index: 1900 !important;
  }

  .sidebar-admin a {
    color: white;
    display: block;
    padding: 12px 0;
    text-decoration: none;
    font-size: 1.1rem;
  }

  .sidebar-admin a:hover {
    color: lightslategray;
    transition: color 0.3s ease-in-out;
  }

  /* Íconos sociales */
  .icon-row {
    width: 100%;
  }

  .icon-row .col {
    text-align: center;
  }

  .icon-row i {
    font-size: 24px;
    color: white;
  }

  .main-header {
    font-size: 2.5rem;
    font-weight: bold;
  }

  .main-subtitle {
    font-size: 1.5rem;
  }

  .option-card-analista {
    background: #2c3e50;
    background: radial-gradient(circle, #2c3e50 0%, #1F2936 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    padding: 35px 20px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.option-card-analista:hover {
    background-color: #2c3e50;
    transform: scale(1.03);
    cursor: pointer;
}

.option-card-analista i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

  /* Contenido principal */
.main-content {
      margin-left: 255px !important;
      margin-top: 90px !important;
      position: relative;

}

/* Asegurar que Bootstrap no interfiera con el upperbar */
.container-fluid {
  position: relative !important;
}

/* Evitar que contenedores padres recorten dropdowns o overlays */
.main-content,
.container-fluid {
  overflow: visible !important;
}

.row {
  position: relative !important;
}

.col, .col-12, .col-md-6, .col-md-4, .col-md-3 {
  position: relative !important;
}

/* Forzar que el upperbar esté por encima de todo */
.upperbar-admin * {
  z-index: inherit !important;
}

.btn-analistas a{
    display: block;
    background: linear-gradient(to right, #34495e, #4e6a88);
    color: white;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    transition: all 0.2s ease-in-out;
}

.btn-analistas a:hover {
    transform: translateY(-2px);  
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
    background: linear-gradient(to right, #3e5a76, #6a829b);
}

/*  STYLE PARA vistaAS.php*/

/* Barra superior */
.upperbar-analistas {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #1b2530;
    background: linear-gradient(180deg, #1b2530 0%, #2c3e50 50%, #2c3e50 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    color: white;
    box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    z-index: 2;
}

/* Barra lateral */
.sidebar-analistas {
    position: fixed;
    top: 90px;
    left: 0;
    bottom: 0;
    width: 255px;
    background: #11121F;
    background: linear-gradient(0deg, #11121F 0%, #2c3e50 50%, #2c3e50 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -webkit-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    z-index: 1;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}

.carousel-item {
    position: relative;
    z-index: 0;
}

.carousel-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

/* Estilos para el modal Mi Información */
#miInformacionModal .form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

#miInformacionModal .form-label.fw-bold {
    color: #2c3e50;
}

#miInformacionModal .text-muted {
    color: #34495e !important;
}

#miInformacionModal .bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6;
}

/*  STYLE PARA vistaPUB.php*/

  /* Barra superior */
  .upperbar-publicidad {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #2e523b;
    background: linear-gradient(180deg, #2e523b 0%, #5ca47a 50%, #5ca47a 100%);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    color: white;
    box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    z-index: 2;
  }

  .logo-container img {
    width: 220px;
    height: auto;
    filter: brightness(0) invert(1);
  }

  /* Barra lateral */
  .sidebar-publicidad {
    position: fixed;
    top: 90px;
    left: 0;
    bottom: 0;
    width: 255px;
    background: #111F14;
    background: linear-gradient(0deg, #111f14 0%, #5ca47a 50%, #5ca47a 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -webkit-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    z-index: 1;
  }

  .sidebar-publicidad a {
    color: white;
    display: block;
    padding: 12px 0;
    text-decoration: none;
    font-size: 1.1rem;
  }

  .sidebar-publicidad a:hover {
    color: lightslategray;
    transition: color 0.3s ease-in-out;
  }

  .option-card-publicidad {
    background: #5CA47A;
    background: radial-gradient(circle, #5ca47a 0%, #3c6e51 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.2s ease-in-out;
  }

  .option-card-publicidad:hover {
    background-color: rgb(92, 164, 122);
    transform: scale(1.03);
    cursor: pointer;
  }

  .option-card-publicidad i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
  }

  .hilet-logo {
    filter: brightness(0) invert(1);
  }


.btn-publicidad a {
      display: block;
      background: linear-gradient(to right, #5CA47A, #7BCDA8);
      color: white;
      padding: 15px 20px;
      margin-bottom: 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 500;
      text-align: center;
      box-shadow: 0 3px 6px rgba(0,0,0,0.4);
      transition: all 0.2s ease-in-out;
}

.btn-publicidad a:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 12px rgba(0,0,0,0.4);
      background: linear-gradient(to right, #65B488, #9BE3C1);
}

/*  STYLE PARA vistaPRO.php*/

/* Barra superior */
  .upperbar-profesor {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(135deg, #2c3e50 0%, #3e5c48 50%, #5ca47a 100%);;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    color: white;
    box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -webkit-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    -moz-box-shadow: -1px 5px 10px 1px rgba(0,0,0,0.3);
    z-index: 2;
  }

  /* Barra lateral */
  .sidebar-profesor {
    position: fixed;
    top: 90px;
    left: 0;
    bottom: 0;
    width: 255px;
    background: linear-gradient(180deg, #2C3E50 31%, #3E5C48 50%, #5CA47A 70%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -webkit-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 10px 2px 18px 0px rgba(0,0,0,0.45);
    z-index: 1;
  }

  .sidebar-profesor a {
    color: white;
    display: block;
    padding: 12px 0;
    text-decoration: none;
    font-size: 1.1rem;
  }

  .sidebar-profesor a:hover {
    color: lightslategray;
    transition: color 0.3s ease-in-out;
  }

  .option-card-profesor {
    background: #2c3e50;
    background: radial-gradient(circle, #2c3e50 0%, #1F2936 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    padding: 35px 20px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.option-card-profesor:hover {
    background-color: #2c3e50;
    transform: scale(1.03);
    cursor: pointer;
}

.option-card-profesor i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

.btn-profesor a {
    display: block;
    background: linear-gradient(to right, #34495e, #4e6a88);
    color: white;
    padding: 15px 40px;
    margin-bottom: 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    transition: all 0.2s ease-in-out;
}

.btn-profesor a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
    background: linear-gradient(to right, #3e5a76, #6a829b);
}

#rowBotones {
    margin-top: -230px;
    position: relative;
}

.btn-acciones {
    display: inline-block;
    background: linear-gradient(to right, #34495e, #4e6a88);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    transition: all 0.2s ease-in-out;
    border: none;
}

.btn-acciones:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
    background: linear-gradient(to right, #3e5a76, #6a829b);
    color: white;
}

/*STYLE PARA layouts_Publicidad.php*/

.btn-publicidad a {
      display: block;
      background: linear-gradient(to right, #5CA47A, #7BCDA8);
      color: white;
      padding: 15px 20px;
      margin-bottom: 25px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 500;
      text-align: center;
      box-shadow: 0 3px 6px rgba(0,0,0,0.4);
      transition: all 0.2s ease-in-out;
    }

.btn-publicidad a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.4);
    background: linear-gradient(to right, #65B488, #9BE3C1);
}
/*STYLE PARA GESTION DE FINALES*/

@media print {
  .no-print {
    display: none !important;
  }
}
