.area-shell {
  background: #05070d;
  min-height: 100vh;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  overflow-x: hidden;
}
.area-shell::before,
.area-shell::after {
  content: '';
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.area-shell::before {
  background: rgba(255,122,0,0.35);
  top: -120px;
  left: -160px;
}
.area-shell::after {
  background: rgba(255,180,122,0.22);
  bottom: -120px;
  right: -140px;
}

/* Preloader - manter o mesmo loader animado em toda a plataforma */
.preloaders {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  background: rgba(11,15,26,0.86);
  backdrop-filter: blur(2px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.preloaders.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #ff6b35;
}
.loader svg {
  width: 96px;
  height: 96px;
}
.loader .kb-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: kb-draw 1.6s ease-in-out infinite;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes kb-draw {
  0%   { stroke-dashoffset: 260; opacity: .5; transform: rotate(0deg) translateY(0); }
  40%  { stroke-dashoffset: 60;  opacity: 1;  transform: rotate(3deg) translateY(-2px); }
  70%  { stroke-dashoffset: -120; opacity: .9; transform: rotate(-3deg) translateY(-2px); }
  100% { stroke-dashoffset: -260; opacity: .5; transform: rotate(0deg) translateY(0); }
}

.area-shell .section-top {
  background: radial-gradient(circle at top, rgba(31, 15, 7, 0.9), rgba(5, 7, 13, 0.95));
  padding: 80px 0 40px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.area-shell .section-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,122,0,0.12), transparent 50%), linear-gradient(200deg, rgba(255,122,0,0.12), transparent 40%);
  pointer-events: none;
}
.area-shell .dash-card {
  background: #101423;
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.45);
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.15);
  border: 1px solid rgba(255, 107, 53, 0.35);
  padding: 6px 14px;
  border-radius: 18px;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 10px 35px rgba(255,107,53,0.18);
  animation: planGlow 2.8s ease-in-out infinite;
}
@keyframes planGlow {
  0% { box-shadow: 0 10px 35px rgba(255,107,53,0.16); transform: translateY(0); }
  50% { box-shadow: 0 16px 40px rgba(255,122,0,0.28); transform: translateY(-1px); }
  100% { box-shadow: 0 10px 35px rgba(255,107,53,0.16); transform: translateY(0); }
}
.timeline {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.timeline li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b35;
}
.quick-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 12px 0 0;
  color: #ffb37f;
  font-weight: 600;
  text-decoration: none;
}
.quick-actions a:hover {
  color: #fff;
}
.area-nav {
  position: sticky;
  top: 100px;
  background: rgba(13, 16, 28, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 18px 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}
.area-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.area-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.area-nav li.is-active a,
.area-nav li a:hover {
  background: rgba(255, 107, 53, 0.18);
  color: #fff;
}
.area-nav i {
  font-size: 18px;
  color: #ffb37f;
}

.dash-card {
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.dash-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(255,107,53,0.18);
  border-color: rgba(255,122,0,0.3);
  position: relative;
  z-index: 1;
}
.area-nav li a {
  position: relative;
  overflow: hidden;
}
.area-nav li a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,122,0,0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.area-nav li.is-active a::after,
.area-nav li a:hover::after {
  opacity: 1;
}
.area-nav li a span,
.area-nav li a i {
  position: relative;
  z-index: 1;
}
.btn_one,
.btn_two {
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn_one:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 45px rgba(255,107,53,0.35);
}
.btn_one:active {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(255,107,53,0.26);
}
.btn_two:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255,122,0,0.25);
}
.btn_two:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(255,122,0,0.2);
}
.table-hover tbody tr:hover {
  background: rgba(255,122,0,0.08) !important;
  border-color: rgba(255,122,0,0.15);
}
.table-hover tbody tr:hover td {
  color: #fff;
}

.section-top-title h1,
.section-top h1 {
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 2px 12px rgba(255,122,0,0.24);
}
.section-top p {
  color: rgba(255,255,255,0.78);
}

/* Mobile-first ajustes para Área do Aluno */
@media (max-width: 767px) {
  .area-shell .section-top { padding: 60px 0 34px; }
  .dash-card { padding: 22px; }
  .plan-badge { display: inline-flex; width: 100%; justify-content: center; }
  .table-responsive { width: 100%; overflow-x: auto; }
  .btn_one,
  .btn_two { width: 100%; text-align: center; justify-content: center; }
}
@media (max-width: 575px) {
  .area-shell { padding-bottom: 24px; }
  .section-top-title h1,
  .section-top h1 { font-size: 28px; line-height: 1.2; }
  .dash-card { padding: 18px; }
  .area-nav ul { gap: 4px; }
}
@media (max-width: 991px) {
  .area-nav {
    position: static;
    margin-bottom: 24px;
  }
  .area-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .area-nav li {
    flex: 1 1 45%;
  }
}
@media (max-width: 575px) {
  .area-nav li {
    flex: 1 1 100%;
  }
}
