/****************************************/
/* Contenedor principal */
.recupera-container {
  max-width: 700px;
  width: 100%;
  min-height: 400px;
}
/* Caja del formulario */
.container-form2 {
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Imagen lateral */
.informationR {
  flex: 1;
  background: #f5f7fa;
}

.informationR img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Área del formulario */
.form-information {
  flex: 1;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-information-childs {
  max-width: 600px;
}

.form-title {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
}

.welcome-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
  color: #555;
}

/* Captcha */
.captcha-label {
  margin-left: 5px;
  font-weight: bold;
}

/* Texto ayuda */
.help-text {
  font-size: 12px;
  color: #555;
  margin-bottom: 15px;
}

/* Botón principal */
.btn-login {
  width: 100%;
  background: #ffb300;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-login:hover {
  background: #ff9800;
}

/* Link recuperar */
.forgot-link {
  margin-top: 15px;
  text-align: right;
}

.forgot-link a {
  font-size: 13px;
  font-weight: 600;
  color: #1565c0;
}

/* Responsive */
@media (max-width: 768px) {
  .container-form {
    flex-direction: column;
  }

  .informationR {
    height: 180px;
  }

  .form-information {
    padding: 25px;
  }
}

/**************************************/
#vistaPlantel tbody tr {
  cursor: pointer;
}
/**********************************/
.header-fijo {
  position: fixed;
  top: 150px; /* ajusta a tu navbar principal */
  width: 100%;
  background: #fff;
  z-index: 1000;
  padding: 12px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* NAV A LA IZQUIERDA */
.header-nav {
  margin-left: 20px;
  border-bottom: none;
}

/* Ajuste visual del nav */

/* TITULOS CENTRADOS (NO pertenecen al nav) */
.header-titulos {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none; /* evita interferir con clics */
}

.titulo-nivel {
  font-size: 38px;
  color: #c68a1f;
  font-weight: 500;
  line-height: 1.1;
}

.titulo-periodo {
  font-size: 26px;
  color: #c68a1f;
}

/***************************/

/* Redondea solo las esquinas superiores del THEAD */
.tabla-contactos thead {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  /* importante */
}

/* Para que las esquinas del thead realmente se vean */
.tabla-contactos thead th:first-child {
  border-top-left-radius: 10px;
}

.tabla-contactos thead th:last-child {
  border-top-right-radius: 10px;
}

/* Primera columna del último tr → esquina inferior izquierda */
.tabla-contactos tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

/* Última columna del último tr → esquina inferior derecha */
.tabla-contactos tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

/**********************/

.mail-container {
  background: #fff;
  border-radius: 8px;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-family: "Roboto", sans-serif;
  overflow: hidden;
}

/* Header */
.mail-header {
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.mail-title {
  font-size: 20px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 10px;
}

.mail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mail-from {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mail-avatar {
  width: 40px;
  height: 40px;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.mail-sender {
  font-size: 14px;
  font-weight: 600;
}

.mail-email {
  font-size: 12px;
  color: #777;
}

.mail-date {
  font-size: 12px;
  color: #777;
}

/* Body */
.mail-body {
  padding: 18px 20px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.mail-body p {
  margin: 6px 0;
}

.mail-note {
  background: #fff3cd;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13px;
}

/* Adjuntos */
.mail-attachments {
  padding: 10px 20px;
  border-top: 1px solid #eee;
}

.attachment {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 13px;
}

.attachment i {
  color: #d93025;
}

.btn-download {
  margin-left: auto;
  text-decoration: none;
  background: #1a73e8;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

/* Botones */
.mail-actions {
  padding: 14px 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.mail-body p {
  margin: 0 0 10px 0;
}

/* Responsive */
@media (max-width: 600px) {
  .mail-container {
    border-radius: 0;
    box-shadow: none;
  }

  .mail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .mail-actions {
    flex-direction: column;
  }

  .btn-mail {
    width: 100%;
  }
}
/********************/
.bg-red {
  background-color: #f44336 !important;
  color: #fff;
}
.bg-red .content .text,
.bg-red .content .number {
  color: #fff !important;
}

.bg-pink {
  background-color: #e91e63 !important;
  color: #fff;
}
.bg-pink .content .text,
.bg-pink .content .number {
  color: #fff !important;
}

.bg-purple {
  background-color: #9c27b0 !important;
  color: #fff;
}
.bg-purple .content .text,
.bg-purple .content .number {
  color: #fff !important;
}

.bg-deep-purple {
  background-color: #673ab7 !important;
  color: #fff;
}
.bg-deep-purple .content .text,
.bg-deep-purple .content .number {
  color: #fff !important;
}

.bg-indigo {
  background-color: #3f51b5 !important;
  color: #fff;
}
.bg-indigo .content .text,
.bg-indigo .content .number {
  color: #fff !important;
}
.bg-blueUnam {
  background-color: #0d376b !important;
}
.bg-blue {
  background-color: #2196f3 !important;
  color: #fff;
}
.bg-blue .content .text,
.bg-blue .content .number {
  color: #fff !important;
}

.bg-light-blue {
  background-color: #03a9f4 !important;
  color: #fff;
}
.bg-light-blue .content .text,
.bg-light-blue .content .number {
  color: #fff !important;
}

.bg-cyan {
  background-color: #00bcd4 !important;
  color: #fff;
}
.bg-cyan .content .text,
.bg-cyan .content .number {
  color: #fff !important;
}

.bg-teal {
  background-color: #009688 !important;
  color: #fff;
}
.bg-teal .content .text,
.bg-teal .content .number {
  color: #fff !important;
}

.bg-green {
  background-color: #4caf50 !important;
  color: #fff;
}
.bg-green .content .text,
.bg-green .content .number {
  color: #fff !important;
}

.bg-light-green {
  background-color: #8bc34a !important;
  color: #fff;
}
.bg-light-green .content .text,
.bg-light-green .content .number {
  color: #fff !important;
}

.bg-lime {
  background-color: #cddc39 !important;
  color: #fff;
}
.bg-lime .content .text,
.bg-lime .content .number {
  color: #fff !important;
}

.bg-yellow {
  background-color: #ffe821 !important;
  color: #fff;
}
.bg-yellow .content .text,
.bg-yellow .content .number {
  color: #fff !important;
}

.bg-amber {
  background-color: #ffc107 !important;
  color: #fff;
}
.bg-amber .content .text,
.bg-amber .content .number {
  color: #fff !important;
}

.bg-orange {
  background-color: #ff9800 !important;
  color: #fff;
}
.bg-orange .content .text,
.bg-orange .content .number {
  color: #fff !important;
}

.bg-deep-orange {
  background-color: #ff5722 !important;
  color: #fff;
}
.bg-deep-orange .content .text,
.bg-deep-orange .content .number {
  color: #fff !important;
}

.bg-brown {
  background-color: #795548 !important;
  color: #fff;
}
.bg-brown .content .text,
.bg-brown .content .number {
  color: #fff !important;
}

.bg-grey {
  background-color: #9e9e9e !important;
  color: #fff;
}
.bg-grey .content .text,
.bg-grey .content .number {
  color: #fff !important;
}

.bg-blue-grey {
  background-color: #607d8b !important;
  color: #fff;
}
.bg-blue-grey .content .text,
.bg-blue-grey .content .number {
  color: #fff !important;
}

.bg-black {
  background-color: #000000 !important;
  color: #fff;
}
.bg-black .content .text,
.bg-black .content .number {
  color: #fff !important;
}

.bg-white {
  background-color: #ffffff !important;
  color: #fff;
}
.bg-white .content .text,
.bg-white .content .number {
  color: #fff !important;
}
/*******************/
.noti-no-leida {
  background-color: #e3f2fd !important;
  font-weight: 600;
}

.noti-leida {
  color: #777;
}

/* Punto rojo */
.punto-no-leido {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  margin-right: 6px;
}
.text-green2 {
  color: #4caf50;
  font-size: 5px;
  vertical-align: middle;
}

/****************************/

.notifications-container {
  max-width: 900px;
  margin: auto;
  padding: 15px;
}

.notifications-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6em;
  font-weight: bold;
  color: #4a148c;
  margin-bottom: 20px;
}

.notification-item {
  display: flex;
  gap: 15px;
  background: #ffffff;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.notification-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.notification-item.unread {
  border-left: 6px solid #dfa726;
  background: #f9f4fc;
}

.notification-icon {
  font-size: 2.2em;
  color: #7b1fa2;
  display: flex;
  align-items: center;
}

.notification-icon.read {
  color: #4caf50;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: bold;
  font-size: 1.1em;
  color: #333;
}

.notification-text {
  margin-top: 4px;
  color: #000;
  font-size: 1.2em;
}

.notification-meta {
  margin-top: 8px;
  font-size: 0.85em;
  color: #777;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.notification-link {
  color: #6a1b9a;
  font-weight: bold;
  text-decoration: none;
}

.notification-link:hover {
  text-decoration: underline;
}
/*******************************************/
.nav-tabs > li.active {
  background-color: #92f8a0;
  border-radius: 6px 6px 0 0;
}

.nav-tabs > li.active > a {
  background: transparent !important;
  color: #000 !important;
}
/* Dropdown Menu =============================== */
/* ===== Dropdown contenedor ===== */
.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
  background-color: transparent !important;
}

.navbar-nav > .dropdown > .dropdown-menu {
  width: 300px;
  border-radius: 14px;
  border: none;
  padding: 0;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  margin-top: -10px;
}

/* Flecha superior */
.navbar-nav > .dropdown > .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 28px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a237e transparent;
}

/* ===== Header ===== */
.dropdown-menu .dropdown-header {
  background: linear-gradient(135deg, #0b2c55, #1a237e);
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  padding: 14px 18px;
  letter-spacing: 0.4px;
}

/* ===== Body ===== */
.dropdown-menu .body {
  padding: 10px 15px;
}

.dropdown-menu .body p {
  font-size: 1.2em;
  color: #455a64;
  line-height: 1.5;
}

/* Quita estilos feos heredados */
.dropdown-menu .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===== Footer botón ===== */
.dropdown-menu .footer {
  background: #1a237e;
  padding: 0;
}

.dropdown-menu .footer a {
  color: #fff !important;
  font-size: 1.2em;
  font-weight: 600;
  text-align: left;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.25s ease;
}

.dropdown-menu .footer a:hover {
  background: #f2b705;
  color: #0b2c55 !important;
}

/* Ícono enviar */
.dropdown-menu .footer i {
  font-size: 20px;
}

/* ===== Evitar sombreado del ícono al hacer click ===== */
.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
  background-color: transparent !important;
}

.miStyle {
  margin-top: -20px !important;
  border-radius: 10px 10px 10px 10px !important;
  width: 250px;
  background-color: #fff !important;
}
.dropdown-menuR {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  margin-top: -5px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: none;
}
.dropdown-menuR .divider {
  margin: 5px 0;
}
.dropdown-menuR .header {
  font-size: 13px;
  font-weight: bold;
  min-width: 270px;
  border-bottom: 1px solid #eee;
  text-align: center;
  padding: 4px 0 6px 0;
}
.dropdown-menuR ul.menu {
  padding-left: 0;
}
.dropdown-menuR ul.menu.tasks h4 {
  color: #333;
  font-size: 13px;
  margin: 0 0 8px 0;
}
.dropdown-menuR ul.menu.tasks h4 small {
  float: right;
  margin-top: 6px;
}
.dropdown-menuR ul.menu.tasks .progress {
  height: 7px;
  margin-bottom: 7px;
}
.dropdown-menuR ul.menu .icon-circle {
  width: 36px;
  height: 36px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  display: inline-block;
}
.dropdown-menuR ul.menu .icon-circle i {
  font-size: 18px;
  line-height: 36px;
}
.dropdown-menuR ul.menu li {
  border-bottom: 1px solid #eee;
}
.dropdown-menuR ul.menu li:last-child {
  border-bottom: none;
}
.dropdown-menuR ul.menu li a {
  padding: 7px 11px;
  text-decoration: none;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.dropdown-menuR ul.menu li a:hover {
  background-color: #e9e9e9;
}
.dropdown-menuR ul.menu .menu-info {
  display: inline-block;
  position: relative;
  top: 3px;
  left: 5px;
}
.dropdown-menuR ul.menu .menu-info h4 {
  margin: 0;
  font-size: 13px;
  color: #333;
}
.dropdown-menuR ul.menu .menu-info p {
  margin: 0;
  font-size: 11px;
  color: #aaa;
}
.dropdown-menuR ul.menu .menu-info p .material-icons {
  font-size: 13px;
  color: #aaa;
  position: relative;
  top: 2px;
}
.dropdown-menuR .footer a {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 5px 0 5px 0;
  font-size: 12px;
  margin-bottom: -5px;
}
.dropdown-menuR .footer a:hover {
  background-color: transparent;
}
.dropdown-menuR > li > a {
  padding: 7px 18px;
  color: #666;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  font-size: 14px;
  line-height: 25px;
}
.dropdown-menuR > li > a:hover {
  background-color: #d3ab55;
}
.dropdown-menuR > li > a i.material-icons {
  float: left;
  margin-right: 7px;
  margin-top: 2px;
  font-size: 20px;
}

.dropdown-animated {
  -webkit-animation-duration: 0.3s !important;
  -moz-animation-duration: 0.3s !important;
  -o-animation-duration: 0.3s !important;
  animation-duration: 0.3s !important;
}
.sombra {
  transition: box-shadow 0.2s ease;
}

.sombra:hover {
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}
.notificacion-icon {
  position: relative;
  display: inline-block;
}

.notificacion-icon i {
  font-size: 2.2em;
}

.label-count {
  position: absolute;
  top: 8px;
  right: 2px;

  background-color: #e53935; /* rojo tipo notificación */
  color: #fff;

  font-size: 0.65em;
  font-weight: bold;

  min-width: 18px;
  height: 18px;
  line-height: 18px;

  text-align: center;
  border-radius: 50%;

  padding: 0 4px;
}

.iframe-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* ajusta proporción */
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.live-clock {
  position: absolute;
  left: 100px;
  top: -30px;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.container-form {
  display: flex;
  border-radius: 20px;
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
  height: 500px;
  max-width: 600px;
  transition: all 1s ease;
  margin: 50px auto;
}

.information {
  width: 50%;
  display: flex;
  align-items: center;
  text-align: center;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.information img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Rellena el div y mantiene proporción */
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.informationR {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.informationR img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Rellena el div y mantiene proporción */
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.info-childs {
  width: 100%;
  padding: 0 30px;
}

.info-childs h2 {
  font-size: 2.5rem;
  color: #a05334;
  text-align: center;
}

.info-childs p {
  margin: 15px 0;
  color: #555;
}

.info-childs input {
  background-color: transparent;
  outline: none;
  border: solid 2px #9191bd;
  border-radius: 20px;
  padding: 10px 20px;
  color: #9191bd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.info-childs input:hover {
  background-color: #9191bd;
  border: none;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-information {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  background-color: #f8f8f8;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.form-information-childs {
  padding: 0 30px;
}

.form-information-childs h2 {
  color: #a05334;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.form-information-childs p {
  color: #555;
}

.icons {
  margin: 15px 0;
}

.icons i {
  border-radius: 50%;
  padding: 15px;
  cursor: pointer;
  margin: 0 10px;
  color: #9191bd;
  border: solid thin #9191bd;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.icons i:hover {
  background-color: #c7c7f3;
  color: #fff;
}

.form {
  margin: 30px 0 0 0;
}

.form label {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 20px;
  padding: 0 10px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form label input {
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border: none;
  outline: none;
  border-radius: 20px;
  color: #333;
}

.form label i {
  color: #a7a7a7;
}

.form input[type="submit"] {
  background-color: #9191bd;
  color: #fff;
  border-radius: 20px;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form input[type="submit"]:hover {
  background-color: #7a7a9a;
}

.hide {
  position: absolute;
  transform: translateY(-300%);
}

/*PERSONALIZACION DE MIS ALERTAS Y MENSAJES */
.form div .alerta {
  width: 290px;
  text-align: left;
  border-radius: 7px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.form > .alerta-error,
.form > .alerta-exito {
  display: none;
}

.form .alertaError {
  display: block;
  background-color: #f66060;
  padding: 0.5rem 1rem;
  margin-top: 10px;
  font-weight: 500;
  font-size: 0.8rem;
}

.form .alertaExito {
  display: block;
  background-color: #0ca828;
  padding: 0.5rem 1rem;
  margin-top: 10px;
  font-weight: 500;
  font-size: 0.8rem;
}

.form .error {
  outline: solid 2px #9d2222;
}
@media screen and (max-width: 580px) {
  html {
    font-size: 15px;
  }

  .container-form {
    height: auto;
    flex-direction: column;
  }

  .information {
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0;
  }

  .information img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Rellena el div y mantiene proporción */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0;
  }

  .form-information {
    width: 100%;
    padding: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
  }
}
