/* Mi cuenta: cambio de contraseña */

.account-wrap {
  display: flex;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.account-card {
  width: 100%;
  max-width: 34rem;
}

.account-card h1 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.6rem;
}

.account-rules {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e3e6ec;
  border-left: 3px solid #1f5f8b;
  border-radius: 10px;
  background: #f7f9fb;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.55;
}

.account-rules strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #13233f;
}

.account-rules ul {
  margin: 0 0 0.6rem;
  padding-left: 1.1rem;
}

.account-rules p {
  margin: 0;
}

@media (max-width: 640px) {
  .account-wrap {
    padding: 1rem 0 2rem;
  }
}

/* Alertas de foros para profesores */

.topnav-alerts {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.notify-count,
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #c0392b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.sidebar-link {
  position: relative;
}

.sidebar-link .nav-badge {
  margin-left: auto;
}

.notify-summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid #e3e6ec;
  border-radius: 10px;
  background: #ffffff;
  color: #4b5563;
  font-size: 0.9rem;
}

.notify-summary strong {
  color: #13233f;
  font-size: 1.05rem;
}

.notify-summary small {
  margin-left: auto;
  color: #6b7280;
}

.notify-summary-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #9ca3af;
}

.notify-summary-dot.is-active {
  background: #c0392b;
}

.notify-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notify-item {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  background: #ffffff;
}

.notify-item.is-unread {
  border-color: #1f5f8b;
  box-shadow: inset 3px 0 0 #1f5f8b;
}

.notify-item.is-read {
  opacity: 0.78;
}

.notify-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #eef2f6;
  color: #1f5f8b;
  font-size: 1rem;
}

.notify-body {
  min-width: 0;
}

.notify-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  color: #6b7280;
  font-size: 0.8rem;
}

.notify-body h2 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  line-height: 1.4;
}

.notify-body h2 a {
  color: inherit;
  text-decoration: none;
}

.notify-body h2 a:hover {
  text-decoration: underline;
}

.notify-body p {
  margin: 0 0 0.7rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.55;
}

.notify-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.inline-form {
  display: inline;
}

@media (max-width: 640px) {
  .notify-item {
    flex-direction: column;
    gap: 0.6rem;
  }

  .notify-summary {
    flex-wrap: wrap;
  }

  .notify-summary small {
    margin-left: 0;
    width: 100%;
  }
}