:root {
  --navy: #102a43;
  --navy-2: #163d5c;
  --teal: #20b8c5;
  --teal-dark: #1197a4;
  --cyan-soft: #eaf9fb;
  --red: #e34d4d;
  --ink: #1c2b39;
  --muted: #718096;
  --line: #e7edf2;
  --surface: #ffffff;
  --bg: #f5f8fb;
  --shadow: 0 18px 50px rgba(16, 42, 67, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  display: block;
}
.form-control,
.form-select,
.input-group-text {
  border-color: #dce5ec;
  border-radius: 12px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 0.2rem rgba(32, 184, 197, 0.14);
}
.btn {
  border-radius: 12px;
  font-weight: 700;
}
.btn-brand {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 42, 67, 0.16);
}
.btn-brand:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline-brand {
  color: var(--navy);
  border: 1px solid #cbd9e4;
  background: #fff;
}
.btn-outline-brand:hover {
  background: var(--cyan-soft);
  color: var(--navy);
  border-color: var(--teal);
}
.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

/* Authentication */
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(480px, 1.1fr);
  background: var(--bg);
}
.auth-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0b263e 0%, #123f5e 58%, #087d8b 100%);
  color: #fff;
  padding: 7vh 7vw;
  align-items: center;
}
.auth-visual::before,
.auth-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.auth-visual::before {
  width: 520px;
  height: 520px;
  right: -250px;
  top: -160px;
}
.auth-visual::after {
  width: 430px;
  height: 430px;
  left: -300px;
  bottom: -180px;
}
.visual-content {
  max-width: 590px;
  position: relative;
  z-index: 1;
}
.brand-mark {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  padding: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.eyebrow,
.section-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 800;
}
.eyebrow {
  color: #9cebf0;
}
.visual-content h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 14px 0 22px;
}
.visual-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.76);
  max-width: 540px;
}
.visual-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.visual-points span {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}
.visual-points i {
  color: #78e2e8;
  margin-right: 7px;
}
.auth-panel {
  display: grid;
  place-items: center;
  padding: 44px;
  background: #fbfcfd;
}
.auth-card {
  width: min(100%, 510px);
}
.auth-heading {
  margin-bottom: 30px;
}
.auth-heading .section-kicker {
  color: var(--teal-dark);
}
.auth-heading h2 {
  margin: 8px 0 7px;
  font-size: 2rem;
  letter-spacing: -0.035em;
}
.auth-heading p {
  color: var(--muted);
  margin: 0;
}
.field-group {
  margin-bottom: 20px;
}
.input-icon {
  position: relative;
}
.input-icon > i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #91a3b3;
  z-index: 2;
}
.input-icon .form-control {
  padding-left: 46px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #718096;
  font-size: 1.1rem;
}
.password-wrap .form-control {
  padding-right: 48px;
}
.small-link,
.register-prompt a {
  color: var(--teal-dark);
  font-weight: 700;
}
.small-link:hover,
.register-prompt a:hover {
  color: var(--navy);
}
.robot-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--cyan-soft);
  border: 1px solid #cbeef1;
  border-radius: 14px;
  margin: 22px 0;
}
.robot-box > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.robot-box i {
  font-size: 1.3rem;
  color: var(--teal-dark);
}
.robot-box strong {
  display: block;
  font-size: 0.9rem;
}
.robot-box small {
  color: var(--muted);
}
.robot-question {
  font-weight: 800;
  white-space: nowrap;
}
.robot-question input {
  width: 65px;
  margin-left: 5px;
  border: 1px solid #c9dfe2;
  border-radius: 9px;
  padding: 7px;
  text-align: center;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 28px 0 18px;
  color: #9aa9b6;
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.auth-divider span {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.register-prompt {
  text-align: center;
  color: var(--muted);
}
.security-note {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #8a99a6;
  font-size: 0.76rem;
}
.security-note i {
  color: var(--teal-dark);
  font-size: 1rem;
}
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
}
.mobile-brand img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}
.mobile-brand strong,
.mobile-brand small {
  display: block;
}
.mobile-brand strong {
  font-size: 1.05rem;
}
.mobile-brand small {
  color: var(--muted);
}
.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
}

/* Application */
.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px 1fr;
}
.sidebar {
  background: #0d263d;
  color: #fff;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.sidebar-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}
.sidebar-brand strong,
.sidebar-brand small {
  display: block;
}
.sidebar-brand small {
  color: #8ca3b5;
  font-size: 0.72rem;
  margin-top: 2px;
}
.sidebar-nav {
  padding-top: 28px;
  display: grid;
  gap: 6px;
}
.sidebar-nav a {
  color: #a9bdca;
  padding: 13px 14px;
  border-radius: 11px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 11px;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: #fff;
  background: rgba(32, 184, 197, 0.14);
}
.sidebar-nav a.active {
  box-shadow: inset 3px 0 0 var(--teal);
}
.sidebar-nav i {
  font-size: 1.1rem;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 18px;
}
.sidebar-user {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.sidebar-user strong,
.sidebar-user small {
  display: block;
}
.sidebar-user strong {
  font-size: 0.86rem;
}
.sidebar-user small {
  color: #8ca3b5;
  font-size: 0.72rem;
  margin-top: 3px;
}
.avatar,
.student-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.avatar {
  background: #1a506c;
  color: #a6eef1;
}
.logout-link {
  color: #a9bdca;
  font-size: 0.85rem;
  padding: 8px 0;
  display: inline-flex;
  gap: 9px;
}
.logout-link:hover {
  color: #fff;
}
.main-content {
  min-width: 0;
}
.topbar {
  min-height: 92px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 38px;
}
.topbar h1 {
  font-size: 1.25rem;
  margin: 4px 0 0;
  letter-spacing: -0.02em;
}
.topbar .section-kicker {
  color: var(--teal-dark);
}
.topbar-actions {
  margin-left: auto;
}
.status-pill {
  padding: 9px 12px;
  background: #edf8f5;
  color: #287d66;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}
.content-wrap {
  padding: 34px 38px 80px;
  max-width: 1500px;
  margin: 0 auto;
}
.content-wrap.narrow {
  max-width: 1050px;
}
.welcome-banner {
  background: linear-gradient(120deg, var(--navy), #0e6172);
  color: #fff;
  border-radius: 22px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.welcome-banner::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  right: -80px;
  top: -120px;
}
.welcome-banner > * {
  position: relative;
  z-index: 1;
}
.welcome-banner .eyebrow {
  color: #7fe0e7;
}
.welcome-banner h2 {
  margin: 8px 0 8px;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.welcome-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 22px 0;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 22px;
  display: flex;
  gap: 15px;
  align-items: center;
  box-shadow: 0 8px 30px rgba(16, 42, 67, 0.035);
}
.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--cyan-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.stat-card small,
.stat-card span {
  color: var(--muted);
  display: inline-block;
  font-size: 0.76rem;
}
.stat-card strong {
  display: inline-block;
  margin-right: 5px;
  font-size: 1.45rem;
}
.panel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(16, 42, 67, 0.035);
}
.panel-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel-header .section-kicker {
  color: var(--teal-dark);
}
.panel-header h3 {
  margin: 4px 0 0;
  font-size: 1.08rem;
}
.panel-card > .table-responsive {
  padding: 4px 10px 10px;
}
.modern-table {
  margin: 0;
}
.modern-table thead th {
  color: #81909d;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom-color: var(--line);
  padding: 15px 14px;
}
.modern-table tbody td {
  padding: 17px 14px;
  border-bottom-color: #eef2f5;
}
.student-cell {
  display: flex;
  align-items: center;
  gap: 11px;
}
.student-avatar {
  background: #edf6f8;
  color: var(--teal-dark);
}
.student-avatar.large {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  font-size: 1.5rem;
}
.student-cell strong,
.student-cell small {
  display: block;
}
.student-cell small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.72rem;
}
.badge-soft {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-block;
}
.badge-soft.success {
  background: #eaf8f2;
  color: #24765b;
}
.badge-soft.warning {
  background: #fff5df;
  color: #9a6916;
}
.badge-soft.info {
  background: var(--cyan-soft);
  color: var(--teal-dark);
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
}
.empty-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--cyan-soft);
  color: var(--teal-dark);
  font-size: 1.5rem;
}
.empty-state h4 {
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--muted);
  margin-bottom: 22px;
}
.floating-add {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(227, 77, 77, 0.3);
}
.floating-add:hover {
  color: #fff;
  transform: translateY(-2px);
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 850;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 1px dashed #dfe8ee;
}
.form-section-title i {
  color: var(--teal-dark);
}
.panel-card form {
  padding: 24px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.profile-hero {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.profile-hero h2 {
  margin: 9px 0 4px;
  font-size: 1.5rem;
}
.profile-hero p {
  color: var(--muted);
  margin: 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.detail-list {
  margin: 0;
  padding: 0 24px 20px;
}
.detail-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f5;
}
.detail-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.detail-list dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}
.robot-box.compact {
  margin: 0;
}
.robot-box.compact > div:first-child {
  min-width: 110px;
}
.alert {
  border-radius: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none !important;
  }
  .auth-panel {
    min-height: 100vh;
  }
}
@media (max-width: 991.98px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .topbar {
    padding: 18px 22px;
  }
  .content-wrap {
    padding: 24px 22px 90px;
  }
}
@media (max-width: 720px) {
  .auth-panel {
    padding: 26px 18px;
  }
  .auth-heading h2 {
    font-size: 1.7rem;
  }
  .robot-box {
    align-items: flex-start;
    flex-direction: column;
  }
  .welcome-banner {
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .topbar-actions {
    display: none;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .floating-add {
    right: 18px;
    bottom: 18px;
  }
  .floating-add span {
    display: none;
  }
  .floating-add {
    width: 52px;
    height: 52px;
    justify-content: center;
    padding: 0;
    font-size: 1.2rem;
  }
}

/* International telephone field */
.phone-input {
  width: 100%;
}
.iti {
  width: 100%;
}
.iti__tel-input,
.iti input.phone-input {
  padding-left: 92px !important;
}
.iti__selected-country {
  border-radius: 11px 0 0 11px;
}
.iti__country-list {
  z-index: 1000;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 12px;
  margin-top: 5px;
}
.iti__country {
  padding-top: 9px;
  padding-bottom: 9px;
}
.iti__country:hover {
  background: var(--cyan-soft);
}
.phone-help {
  color: var(--muted);
  font-size: 0.74rem;
  margin-top: 7px;
}
.phone-help i {
  color: var(--teal-dark);
  margin-right: 4px;
}

/* ================================================================
   ECOMIL — Professional international phone selector
   ================================================================ */
.phone-field {
  position: relative;
}

.iti {
  width: 100%;
  display: block;
}

.iti input.phone-input,
.iti__tel-input {
  width: 100%;
  min-height: 54px;
  padding-left: 98px !important;
}

/* Compact and premium country button inside the field. */
.iti__selected-country {
  min-width: 88px;
  padding: 0 11px 0 13px;
  border-radius: 12px 0 0 12px;
  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.iti__selected-country:hover,
.iti__selected-country:focus-visible {
  background: rgba(22, 181, 183, 0.08);
}

.iti__selected-dial-code {
  font-size: 0.91rem;
  font-weight: 700;
  color: #173b50;
  margin-left: 6px;
}

.iti__arrow {
  margin-left: auto;
  border-top-color: #6c8190;
}

.iti__dropdown-content {
  min-width: 360px;
  max-width: min(420px, calc(100vw - 28px));
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #dce6ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 50, 68, 0.18);
}

.iti__search-input {
  height: 46px;
  margin: 10px;
  width: calc(100% - 20px);
  padding: 0 13px 0 39px;
  border: 1px solid #d9e4ea;
  border-radius: 10px;
  outline: none;
  font-size: 0.9rem;
  color: #173b50;
}

.iti__search-input:focus {
  border-color: #16b5b7;
  box-shadow: 0 0 0 3px rgba(22, 181, 183, 0.12);
}

.iti__country-list {
  max-height: 330px;
  padding: 5px 6px 8px;
  border: 0;
  box-shadow: none;
  background: #fff;
}

.iti__country {
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 7px 10px;
  margin: 2px 0;
  border-radius: 9px;
  font-size: 0.88rem;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background: #eefafa;
}

.iti__country .iti__flag-box {
  width: 28px;
  margin-right: 10px;
}

.iti__country-name {
  flex: 1;
  color: #173b50;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iti__dial-code {
  color: #5f7785;
  font-weight: 700;
  margin-left: 12px;
  font-variant-numeric: tabular-nums;
}

.iti__divider {
  border-bottom-color: #edf2f5;
  margin: 4px 10px;
}

.iti__selected-country-primary {
  gap: 2px;
}

/* Mobile: keep the dropdown usable without overflowing the viewport. */
@media (max-width: 575.98px) {
  .iti__dropdown-content {
    min-width: 0;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    left: 12px !important;
    right: 12px !important;
  }

  .iti__country-list {
    max-height: 290px;
  }
}

/* =========================================================
   RESULTAT ELEVE
========================================================= */

.student-result-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  margin-top: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.student-result-inner {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.student-photo-wrapper {
  flex: 0 0 105px;
}

/* .student-photo {
        width: 105px;
        height: 105px;
        border-radius: 50%;
        object-fit: cover;
        display: block;
        } */

.student-photo {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.student-photo-placeholder {
  background: #f1f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8f98;
  font-size: 42px;
}

.student-information {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}

.student-name {
  margin-top: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #212529;
}

.student-name strong {
  font-weight: 800;
}

.student-school {
  margin-top: 7px;
  color: #555;
  font-size: 0.98rem;
}

.student-city {
  margin-top: 5px;
  color: #777;
  font-size: 0.9rem;
}

.student-action {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.student-action form {
  margin: 0;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {
  .student-result-card {
    padding: 18px;
  }

  .student-result-inner {
    align-items: flex-start;
    gap: 15px;
  }

  .student-photo-wrapper {
    flex: 0 0 78px;
  }

  .student-photo {
    width: 78px;
    height: 78px;
  }

  .student-name {
    font-size: 1.1rem;
  }

  .student-school {
    font-size: 0.88rem;
  }

  .student-action {
    justify-content: flex-start;
  }

  .student-action .btn {
    width: 100%;
  }
}

/* =========================================================
ECOMIL — SIDEBAR NAVIGATION
Navigation principale + élèves
========================================================= */

:root {
  --sidebar-bg: #0d263d;
  --sidebar-bg-soft: #12334d;
  --sidebar-text: #a9bdca;
  --sidebar-muted: #7892a4;

  --sidebar-active: #20b8c5;
  --sidebar-active-soft: rgba(32, 184, 197, 0.13);

  --sidebar-student-active: #20b8c5;
  --sidebar-student-active-soft: rgba(32, 184, 197, 0.12);

  --sidebar-border: rgba(255, 255, 255, 0.09);
}

/* =========================================================
NAVIGATION GÉNÉRALE
========================================================= */

.sidebar-nav {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* =========================================================
ITEM NAVIGATION PRINCIPALE
========================================================= */

.sidebar-nav-item {
  position: relative;

  display: flex !important;
  align-items: center;

  min-height: 48px;

  padding: 7px 10px !important;

  gap: 11px;

  border-radius: 12px;

  color: var(--sidebar-text) !important;

  font-size: 0.84rem;
  font-weight: 650;

  text-decoration: none;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

/* Icône */

.sidebar-nav-icon {
  width: 34px;
  height: 34px;

  flex: 0 0 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: rgba(255, 255, 255, 0.045);

  color: #8ea8b9;

  font-size: 0.95rem;

  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

/* Hover */

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.045);

  color: #fff !important;

  transform: translateX(2px);
}

/* Active */

.sidebar-nav-item.active {
  background: linear-gradient(
    90deg,
    rgba(32, 184, 197, 0.17),
    rgba(32, 184, 197, 0.07)
  );

  color: #fff !important;

  box-shadow: inset 3px 0 0 var(--sidebar-active);
}

/* Icône active */

.sidebar-nav-item.active .sidebar-nav-icon {
  background: rgba(32, 184, 197, 0.18);

  color: #6fe1e8;
}

/* Label */

.sidebar-nav-label {
  flex: 1;
  min-width: 0;
}

/* Indicateur */

.sidebar-nav-indicator {
  width: 23px;
  height: 23px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: rgba(32, 184, 197, 0.13);

  color: #65dce4;

  font-size: 0.64rem;
}

/* =========================================================
   ECOMIL — CORRECTION FINALE NOTIFICATIONS
   ---------------------------------------------------------
   Nouvelle architecture :
   - Sidebar = liste principale des élèves
   - ÉLÈVES = compteur d'élèves uniquement
   - Chaque élève = son compteur de notifications
   - Fiche élève = bouton cloche
   - Notifications = 2 colonnes :
       1. liste
       2. détail
   - Suppression complète du violet
========================================================= */

/* =========================================================
   1. SECTION ÉLÈVES — SIDEBAR
========================================================= */

.students-section {
  margin-top: 21px;
  padding-top: 15px;
  border-top: 1px solid var(--sidebar-border);
}

/* Header */

.sidebar-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 30px;

  padding: 0 8px 9px;

  margin-bottom: 4px;
}

/* Titre */

.sidebar-section-title {
  display: flex;
  align-items: center;

  gap: 8px;

  color: #8099aa;

  font-size: 0.66rem;
  font-weight: 850;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

/* Icône ÉLÈVES */

.sidebar-section-title-icon {
  width: 23px;
  height: 23px;

  flex: 0 0 23px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: rgba(32, 184, 197, 0.09);

  color: #55cdd5;

  font-size: 0.72rem;
}

/* Texte */

.sidebar-section-title-text {
  line-height: 1;
}

/* =========================================================
   2. COMPTEUR ÉLÈVES
========================================================= */

.students-section-stat {
  min-width: 23px;
  height: 23px;

  padding: 0 7px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(32, 184, 197, 0.18);

  border-radius: 7px;

  background: rgba(32, 184, 197, 0.09);

  color: #6ddce3;

  font-size: 0.67rem;
  font-weight: 850;

  line-height: 1;

  font-variant-numeric: tabular-nums;
}

/*
|--------------------------------------------------------------------------
| IMPORTANT
|--------------------------------------------------------------------------
|
| Ces anciennes classes ne doivent plus afficher quoi que ce soit.
|
| L'ancien système affichait une cloche globale à côté du nombre
| d'élèves. Ce comportement est désormais supprimé.
|
*/

.students-section-tools,
.students-notification-indicator,
.students-notification-badge {
  display: none !important;
}

/* =========================================================
   3. LISTE DES ÉLÈVES
========================================================= */

.sidebar-students-list {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

/* =========================================================
   4. ITEM ÉLÈVE
========================================================= */

.sidebar-student {
  position: relative;

  display: flex !important;

  align-items: center;

  width: 100%;

  min-height: 54px;

  padding: 7px 9px !important;

  gap: 10px;

  border-radius: 12px;

  color: #a9bdca !important;

  text-decoration: none;

  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

/* Hover */

.sidebar-student:hover {
  background: rgba(32, 184, 197, 0.055);

  color: #fff !important;

  transform: translateX(2px);
}

/* =========================================================
   5. ÉLÈVE ACTIF
========================================================= */

.sidebar-student.active {
  background: linear-gradient(
    90deg,
    rgba(32, 184, 197, 0.16),
    rgba(32, 184, 197, 0.055)
  );

  color: #fff !important;

  box-shadow: inset 3px 0 0 var(--sidebar-student-active);
}

/* =========================================================
   6. AVATAR ÉLÈVE
========================================================= */

.sidebar-student-avatar {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: rgba(255, 255, 255, 0.055);

  color: #a9bdca;

  font-size: 0.72rem;

  font-weight: 850;

  text-transform: uppercase;

  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.sidebar-student:hover .sidebar-student-avatar {
  background: rgba(32, 184, 197, 0.12);

  color: #6edce3;
}

.sidebar-student.active .sidebar-student-avatar {
  background: var(--sidebar-student-active);

  color: #fff;

  box-shadow: 0 4px 12px rgba(32, 184, 197, 0.2);
}

/* =========================================================
   7. INFORMATIONS ÉLÈVE
========================================================= */

.sidebar-student-info {
  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;
}

.sidebar-student-info strong {
  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: inherit;

  font-size: 0.75rem;

  font-weight: 750;

  line-height: 1.25;
}

.sidebar-student-info small {
  margin-top: 3px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: #7892a4;

  font-size: 0.62rem;

  line-height: 1.2;
}

.sidebar-student.active .sidebar-student-info small {
  color: rgba(255, 255, 255, 0.58);
}

/* =========================================================
   8. NOTIFICATIONS PAR ÉLÈVE
========================================================= */

.sidebar-student-notification {
  min-width: 23px;
  height: 23px;

  flex: 0 0 auto;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 3px;

  margin-left: auto;

  padding: 0 6px;

  border: 0;

  border-radius: 999px;

  background: #dc3545;

  color: #fff;

  font-size: 0.57rem;

  font-weight: 850;

  line-height: 1;

  box-shadow: 0 3px 9px rgba(220, 53, 69, 0.25);

  font-variant-numeric: tabular-nums;
}

.sidebar-student-notification i {
  font-size: 0.58rem;
}

/* =========================================================
   9. FLÈCHE ÉLÈVE
========================================================= */

.sidebar-student-arrow {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  color: #58778a;

  font-size: 0.62rem;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.sidebar-student:hover .sidebar-student-arrow {
  color: #6edce3;

  transform: translateX(2px);
}

/* =========================================================
   10. INDICATEUR ÉLÈVE ACTIF
========================================================= */

.sidebar-student-active {
  width: 21px;
  height: 21px;

  flex: 0 0 21px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: rgba(32, 184, 197, 0.18);

  color: #6edce3;

  font-size: 0.65rem;
}

/* =========================================================
   11. AJOUTER UN ÉLÈVE
========================================================= */

.sidebar-add-student {
  display: flex !important;

  align-items: center;

  width: 100%;

  gap: 9px;

  margin-top: 8px;

  padding: 8px 9px !important;

  border: 1px dashed rgba(32, 184, 197, 0.25);

  border-radius: 11px;

  background: transparent;

  color: #55cdd5 !important;

  text-decoration: none;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.sidebar-add-student:hover {
  background: rgba(32, 184, 197, 0.055);

  border-color: rgba(32, 184, 197, 0.45);

  color: #6edce3 !important;

  transform: translateX(2px);
}

.sidebar-add-student.active {
  background: rgba(32, 184, 197, 0.1);

  border-color: var(--sidebar-active);

  color: #fff !important;
}

.sidebar-add-icon {
  width: 32px;
  height: 32px;

  flex: 0 0 32px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: rgba(32, 184, 197, 0.09);

  color: #55cdd5;

  font-size: 0.85rem;
}

.sidebar-add-student.active .sidebar-add-icon {
  background: var(--sidebar-active);

  color: #fff;

  box-shadow: 0 4px 12px rgba(32, 184, 197, 0.2);
}

.sidebar-add-student > span:not(.sidebar-add-icon) {
  flex: 1;

  min-width: 0;

  font-size: 0.74rem;

  font-weight: 750;
}

.sidebar-add-arrow {
  width: 22px;
  height: 22px;

  flex: 0 0 22px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  color: #62899a;

  font-size: 0.67rem;

  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.sidebar-add-student:hover .sidebar-add-arrow {
  color: #6edce3;

  transform: translateX(2px);
}

.sidebar-add-student.active .sidebar-add-arrow {
  color: #fff;
}

/* =========================================================
   12. BOUTON CLOCHE — FICHE ÉLÈVE
========================================================= */

.profile-hero {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 25px;
}

/*
|--------------------------------------------------------------------------
| Bouton notification
|--------------------------------------------------------------------------
|
| Palette ECOMIL :
|   bleu nuit
|   turquoise
|   rouge uniquement pour les nouvelles notifications
|
| Aucun violet.
|
*/

.student-notification-button {
  position: relative;

  width: 62px;
  height: 62px;

  flex: 0 0 62px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 1px solid #dfe8ee;

  border-radius: 18px;

  background: #fff;

  color: var(--teal-dark);

  text-decoration: none;

  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.student-notification-button:hover {
  transform: translateY(-2px);

  color: var(--teal-dark);

  background: #fff;

  border-color: rgba(32, 184, 197, 0.35);

  box-shadow: 0 12px 28px rgba(16, 42, 67, 0.12);
}

.student-notification-button:focus-visible {
  outline: none;

  border-color: var(--teal);

  box-shadow:
    0 0 0 4px rgba(32, 184, 197, 0.12),
    0 10px 25px rgba(16, 42, 67, 0.1);
}

.student-notification-button > i {
  font-size: 1.65rem;

  line-height: 1;
}

/* =========================================================
   13. BADGE CLOCHE
========================================================= */

.student-notification-button-badge {
  position: absolute;

  top: -8px;
  right: -8px;

  min-width: 25px;
  height: 25px;

  padding: 0 6px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 3px solid #fff;

  border-radius: 999px;

  background: #dc3545;

  color: #fff;

  font-size: 0.62rem;

  font-weight: 850;

  line-height: 1;

  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.28);
}

/* =========================================================
   14. BREADCRUMB NOTIFICATIONS
========================================================= */

.notification-breadcrumb {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 14px;

  color: #737780;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.08em;

  line-height: 1.4;

  text-transform: uppercase;
}

.notification-breadcrumb > i {
  color: #b4bdc4;

  font-size: 0.6rem;
}

.notification-breadcrumb-link {
  color: #6f7d86;

  text-decoration: none;

  transition: color 0.18s ease;
}

.notification-breadcrumb-link:hover {
  color: var(--teal-dark);
}

/* =========================================================
   15. WORKSPACE NOTIFICATIONS
========================================================= */

.notifications-workspace {
  display: grid;

  /*
   * IMPORTANT :
   *
   * Ancien :
   * 245px + 350px + détail
   *
   * Nouveau :
   *
   * 350px = liste
   * reste   = détail
   */

  grid-template-columns:
    minmax(300px, 370px)
    minmax(0, 1fr);

  min-height: 570px;

  overflow: hidden;

  border: 1px solid #e3eaf0;

  border-radius: 18px;

  background: #fff;

  box-shadow: 0 12px 35px rgba(16, 42, 67, 0.055);
}

/* =========================================================
   16. SUPPRESSION DE L'ANCIENNE COLONNE ÉLÈVES
========================================================= */

.notifications-students {
  display: none !important;
}

/* =========================================================
   17. LISTE NOTIFICATIONS
========================================================= */

.notifications-list-panel {
  min-width: 0;

  display: flex;

  flex-direction: column;

  border-right: 1px solid #e7edf2;

  background: #fff;
}

/* =========================================================
   18. HEADER LISTE
========================================================= */

.notifications-panel-header {
  min-height: 76px;

  flex: 0 0 auto;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 15px 18px;

  border-bottom: 1px solid #e7edf2;

  background: #fff;
}

.notifications-panel-header h2 {
  margin: 4px 0 0;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;

  color: #102a43;

  font-size: 0.96rem;

  font-weight: 800;
}

/* =========================================================
   19. BADGE TOTAL NOTIFICATIONS
========================================================= */

.notification-total-badge {
  flex: 0 0 auto;

  display: inline-flex;

  align-items: center;

  gap: 5px;

  height: 24px;

  padding: 0 9px;

  border-radius: 999px;

  background: rgba(220, 53, 69, 0.08);

  color: #dc3545;

  font-size: 0.58rem;

  font-weight: 850;
}

.notification-total-badge span {
  font-weight: 700;
}

/* =========================================================
   20. LISTE SCROLLABLE
========================================================= */

.notifications-list {
  flex: 1;

  min-height: 0;

  max-height: none;

  overflow-y: auto;

  padding: 7px;

  scrollbar-width: thin;

  scrollbar-color: #ccd8df transparent;
}

.notifications-list::-webkit-scrollbar {
  width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
  background: transparent;
}

.notifications-list::-webkit-scrollbar-thumb {
  background: #ccd8df;

  border-radius: 999px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
  background: #aebfc9;
}

/* =========================================================
   21. FORMULAIRE NOTIFICATION
========================================================= */

.notification-form {
  margin: 0;

  padding: 0;
}

/* =========================================================
   22. ITEM NOTIFICATION
========================================================= */

.notification-item {
  width: 100%;

  min-height: 67px;

  display: flex;

  align-items: center;

  gap: 10px;

  padding: 9px 10px;

  margin: 0 0 2px;

  border: 0;

  border-bottom: 1px solid #edf1f4;

  border-radius: 10px;

  background: transparent;

  color: #4d5962;

  text-decoration: none;

  text-align: left;

  cursor: pointer;

  transition:
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.notification-item:hover {
  background: #f7fafb;

  color: #263842;
}

.notification-item:focus-visible {
  outline: none;

  box-shadow: inset 0 0 0 2px rgba(32, 184, 197, 0.28);
}

/* =========================================================
   23. NOTIFICATION SÉLECTIONNÉE
========================================================= */

.notification-item.selected {
  background: #eef9fa;

  box-shadow: inset 3px 0 0 var(--teal);
}

.notification-item.selected:hover {
  background: #eaf7f8;
}

/* =========================================================
   24. NOTIFICATION NON LUE
========================================================= */

.notification-item.unread {
  color: #172b38;
}

.notification-item.unread .notification-item-content strong {
  font-weight: 850;
}

/* =========================================================
   25. ICÔNE NOTIFICATION
========================================================= */

.notification-item-icon {
  width: 35px;
  height: 35px;

  flex: 0 0 35px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #f1f5f7;

  color: #82919a;

  font-size: 0.75rem;
}

.notification-item.unread .notification-item-icon {
  background: rgba(220, 53, 69, 0.09);

  color: #dc3545;
}

.notification-item.selected .notification-item-icon {
  background: rgba(32, 184, 197, 0.1);

  color: var(--teal-dark);
}

.notification-item.unread.selected .notification-item-icon {
  background: rgba(220, 53, 69, 0.09);

  color: #dc3545;
}

/* =========================================================
   26. TEXTE
========================================================= */

.notification-item-content {
  flex: 1;

  min-width: 0;

  display: flex;

  flex-direction: column;
}

.notification-item-content strong {
  display: -webkit-box;

  overflow: hidden;

  text-overflow: ellipsis;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  color: inherit;

  font-size: 0.7rem;

  font-weight: 500;

  line-height: 1.4;
}

.notification-item.unread .notification-item-content strong {
  font-weight: 850;
}

.notification-item-content small {
  margin-top: 4px;

  color: #9aa6ad;

  font-size: 0.58rem;

  line-height: 1.2;
}

/* =========================================================
   27. POINT NON LU
========================================================= */

.notification-unread-dot {
  width: 7px;
  height: 7px;

  flex: 0 0 7px;

  border-radius: 50%;

  background: #dc3545;

  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}

/* =========================================================
   28. ZONE DÉTAIL
========================================================= */

.notification-detail-panel {
  min-width: 0;

  min-height: 0;

  display: flex;

  flex-direction: column;

  background: #fbfcfd;
}

/* =========================================================
   29. HEADER DÉTAIL
========================================================= */

.notification-detail-header {
  min-height: 96px;

  flex: 0 0 auto;

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 20px 24px;

  border-bottom: 1px solid #e7edf2;

  background: #fff;
}

/* =========================================================
   30. ICÔNE DÉTAIL
========================================================= */

.notification-detail-icon {
  width: 46px;
  height: 46px;

  flex: 0 0 46px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: rgba(32, 184, 197, 0.1);

  color: var(--teal-dark);

  font-size: 1.05rem;
}

/* =========================================================
   31. TITRE DÉTAIL
========================================================= */

.notification-detail-header h2 {
  margin: 4px 0 0;

  color: #102a43;

  font-size: 1rem;

  font-weight: 800;

  line-height: 1.25;
}

/* =========================================================
   32. CORPS DÉTAIL
========================================================= */

.notification-detail-body {
  flex: 1;

  min-height: 0;

  overflow-y: auto;

  padding: 24px;
}

/* =========================================================
   33. DATE
========================================================= */

.notification-detail-date {
  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-bottom: 17px;

  color: #89979f;

  font-size: 0.67rem;

  font-weight: 650;
}

.notification-detail-date i {
  color: #6e858f;
}

/* =========================================================
   34. CONTENU
========================================================= */

.notification-detail-content {
  padding: 18px 19px;

  border: 1px solid #e6edf1;

  border-radius: 14px;

  background: #fff;

  color: #263842;

  font-size: 0.88rem;

  font-weight: 500;

  line-height: 1.65;

  box-shadow: 0 6px 20px rgba(16, 42, 67, 0.035);
}

/* =========================================================
   35. META
========================================================= */

.notification-detail-meta {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: 16px;

  padding: 12px 15px;

  border: 1px solid #edf1f3;

  border-radius: 11px;

  background: #f7f9fa;

  color: #788891;

  font-size: 0.68rem;
}

.notification-detail-meta strong {
  color: #263842;

  font-weight: 800;
}

/* =========================================================
   36. STATUT LU
========================================================= */

.notification-detail-status {
  display: flex;

  align-items: center;

  gap: 7px;

  margin-top: 14px;

  color: #6e7d85;

  font-size: 0.65rem;

  font-weight: 650;
}

.notification-detail-status i {
  color: #20a7b2;
}

/* =========================================================
   37. ÉTATS VIDES
========================================================= */

.notifications-empty,
.notification-detail-empty {
  min-height: 350px;

  flex: 1;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  gap: 8px;

  padding: 30px;

  color: #969fa5;

  text-align: center;
}

.notifications-empty-icon,
.notification-detail-empty-icon {
  width: 50px;
  height: 50px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 5px;

  border-radius: 14px;

  background: #f1f5f7;

  color: #89979f;

  font-size: 1.15rem;
}

.notifications-empty strong,
.notification-detail-empty strong {
  color: #56646c;

  font-size: 0.78rem;

  font-weight: 800;
}

.notifications-empty span,
.notification-detail-empty span {
  max-width: 280px;

  color: #919da4;

  font-size: 0.66rem;

  line-height: 1.5;
}

/* =========================================================
   38. RESPONSIVE NOTIFICATIONS
========================================================= */

@media (max-width: 1100px) {
  .notifications-workspace {
    grid-template-columns:
      minmax(280px, 340px)
      minmax(0, 1fr);
  }
}

@media (max-width: 850px) {
  .notifications-workspace {
    grid-template-columns:
      minmax(270px, 320px)
      minmax(0, 1fr);

    min-height: 520px;
  }

  .notification-detail-header {
    padding: 18px;
  }

  .notification-detail-body {
    padding: 18px;
  }
}

@media (max-width: 680px) {
  .notifications-workspace {
    display: flex;

    flex-direction: column;

    min-height: auto;
  }

  .notifications-list-panel {
    min-height: 390px;

    border-right: 0;

    border-bottom: 1px solid #e7edf2;
  }

  .notification-detail-panel {
    min-height: 390px;
  }

  .notifications-list {
    max-height: 390px;
  }
}

@media (max-width: 576px) {
  .sidebar-section-header {
    padding-left: 6px;
    padding-right: 6px;
  }

  .sidebar-student {
    min-height: 51px;

    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .sidebar-student-avatar {
    width: 34px;
    height: 34px;

    flex-basis: 34px;
  }

  .sidebar-student-info strong {
    font-size: 0.74rem;
  }

  .sidebar-student-info small {
    font-size: 0.61rem;
  }

  .sidebar-student-notification {
    min-width: 22px;
    height: 22px;

    padding-left: 5px;
    padding-right: 5px;
  }

  .student-notification-button {
    width: 50px;
    height: 50px;

    flex-basis: 50px;

    border-radius: 14px;
  }

  .student-notification-button > i {
    font-size: 1.25rem;
  }

  .student-notification-button-badge {
    min-width: 21px;
    height: 21px;

    font-size: 0.55rem;
  }

  .notifications-panel-header {
    min-height: 68px;

    padding: 13px;
  }

  .notifications-panel-header h2 {
    font-size: 0.88rem;
  }

  .notification-item {
    min-height: 62px;

    padding: 8px;
  }

  .notification-detail-header {
    min-height: 78px;

    padding: 15px;
  }

  .notification-detail-body {
    padding: 15px;
  }

  .notification-detail-content {
    padding: 15px;

    font-size: 0.82rem;
  }
}

.login-switch-message {
  margin-top: 10px;
  font-size: 12px;
}

.login-switch-message button {
  font-size: 14px;
  color: var(--teal-dark);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
