@charset "utf-8";

body.student-report-body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 5% 0%, rgba(5, 186, 238, 0.1), transparent 25%),
    linear-gradient(180deg, #edf3f9 0%, #e7eef6 100%);
  color: #243b5a;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.student-report-shell.container {
  width: min(1440px, 100%);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(14px, 2.2vw, 30px);
}

.student-report-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(22px, 2.5vw, 30px);
  background:
    radial-gradient(circle at 88% 8%, rgba(5, 186, 238, 0.28), transparent 29%),
    linear-gradient(130deg, #071f48 0%, #0b336c 54%, #0a75a8 100%);
  box-shadow: 0 25px 65px rgba(7, 35, 76, 0.22);
  color: #fff;
}

.student-report-masthead::before,
.student-report-masthead::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.student-report-masthead::before {
  top: -260px;
  right: -90px;
  width: 520px;
  height: 520px;
  border: 72px solid rgba(5, 186, 238, 0.11);
}

.student-report-masthead::after {
  bottom: -360px;
  left: 28%;
  width: 620px;
  height: 620px;
  background: rgba(43, 99, 176, 0.2);
}

.student-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.78rem, 1.4vw, 1rem) clamp(1.15rem, 3.2vw, 2.7rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.student-topbar .top-brand {
  gap: 0.8rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 750;
  text-decoration: none;
}

.student-topbar .top-brand:hover,
.student-topbar .top-brand:focus-visible {
  color: #fff;
  text-decoration: none;
}

.student-topbar .top-brand:focus-visible {
  border-radius: 12px;
  outline: 3px solid rgba(99, 214, 246, 0.45);
  outline-offset: 4px;
}

.student-topbar .top-brand img {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.45rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 19, 48, 0.2);
}

.student-topbar .top-brand small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 1;
}

.student-file-button.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.3rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 750;
  box-shadow: none;
}

.student-file-button.btn:hover,
.student-file-button.btn:focus-visible,
.student-file-button.btn.show {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.student-report-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(355px, 0.8fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 4rem);
  padding: clamp(1.55rem, 3vw, 2.5rem) clamp(1.2rem, 4.5vw, 4rem);
}

.student-report-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  color: #76daf8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.student-report-title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  font-weight: 720;
  letter-spacing: -0.048em;
  line-height: 1.04;
}

.student-report-person {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.9rem, 1.25vw, 1.05rem);
  line-height: 1.55;
}

.student-report-person strong {
  color: #fff;
  font-weight: 700;
}

.student-report-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.student-report-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.68rem;
  font-weight: 650;
}

.student-report-chip i {
  color: #64d6f6;
}

.student-event-panel {
  padding: clamp(0.85rem, 1.6vw, 1.1rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 21px;
  background: rgba(5, 25, 57, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 50px rgba(2, 18, 46, 0.16);
  backdrop-filter: blur(15px);
}

.student-event-panel-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #75daf8;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.student-event-panel-title {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
}

.student-event-panel .form-select {
  min-height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  background-color: rgba(255, 255, 255, 0.96);
  color: #18395f;
  font-size: 0.76rem;
  font-weight: 650;
  box-shadow: none;
}

.student-event-panel .event-change-button {
  min-height: 2.65rem;
  border: 1px solid #69d5f5;
  border-radius: 11px;
  background: linear-gradient(135deg, #05a9da 0%, #087eae 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.student-event-panel .event-change-button:hover,
.student-event-panel .event-change-button:focus-visible {
  border-color: #8ce6ff;
  background: linear-gradient(135deg, #07b4e6 0%, #0788bb 100%);
}

.student-event-comparison {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  line-height: 1.5;
}

.student-event-comparison i {
  margin-top: 0.15rem;
  color: #65d8f7;
}

.student-report-card.card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.student-report-card > .card-body {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 0;
}

.student-report-card > .card-body > .student-overview-row {
  --bs-gutter-x: 0;
}

.student-overview-panel,
.student-chart-panel,
.student-radar-panel,
.study-roadmap,
.study-priority-panel,
.study-goal-panel,
.question-map-panel,
.discipline-detail-scroll {
  border: 1px solid #dce6f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 30px rgba(22, 49, 82, 0.06);
}

.student-overview-panel {
  padding: clamp(1.05rem, 2.4vw, 1.7rem);
}

.student-report-body .section-title {
  color: #16385f;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.student-report-body .section-title-icon,
.student-report-body .study-subsection-icon,
.student-report-body .study-roadmap-icon {
  border-radius: 10px;
  background: #eaf8fd;
  color: #087fae;
}

.student-report-body .summary-grid {
  gap: 0.85rem;
}

.student-report-body .summary-card {
  min-height: 8rem;
  padding: 1rem;
  border: 1px solid #dfe8f1;
  border-top-width: 4px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 55, 92, 0.045);
}

.student-report-body .summary-value {
  color: #17375e;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

.student-report-body .summary-callout {
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dce8f2;
  border-left: 4px solid #05baee;
  border-radius: 12px;
  background: #f4fbfe;
  color: #37536f;
}

.student-report-body .student-anchor-nav {
  top: 0.75rem;
  margin-top: 1rem;
  padding: 0.48rem;
  border: 1px solid rgba(207, 221, 235, 0.95);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(18, 48, 83, 0.11);
  backdrop-filter: blur(14px);
}

.student-report-body .student-anchor-nav a {
  border-radius: 9px;
  color: #526984;
  font-size: 0.74rem;
}

.student-report-body .student-anchor-nav a:hover {
  background: #eaf8fd;
  color: #087fae;
}

.student-report-body .student-anchor-nav a.active {
  background: linear-gradient(135deg, #164193 0%, #087fae 100%);
  color: #fff;
}

.student-report-body .student-section {
  margin-top: clamp(1.75rem, 3vw, 2.4rem);
}

.student-report-body .student-section-header {
  margin-bottom: 0.9rem;
}

.student-report-body .insight-grid,
.student-report-body .discipline-card-grid {
  gap: 1rem;
}

.student-report-body #evolucao.row,
.student-report-body .student-radar-row.row {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 0;
  row-gap: 1.75rem;
}

.student-report-body #evolucao > [class*="col-"],
.student-report-body .student-radar-row > [class*="col-"],
.student-report-body .student-radar-row > [class^="col-"] {
  margin-top: 0 !important;
}

.student-report-body .insight-panel,
.student-report-body .discipline-card {
  border-color: #dfe8f1;
  border-left-width: 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 55, 92, 0.045);
}

.student-report-body .insight-panel {
  padding: 1rem;
}

.student-report-body .discipline-card {
  padding: 1rem;
}

.student-report-body .discipline-card-score {
  color: #17375e;
  letter-spacing: -0.025em;
}

.student-report-body .discipline-meter {
  overflow: hidden;
  border-radius: 999px;
  background: #e7eef7;
}

.student-report-body .discipline-meter-fill {
  background: linear-gradient(90deg, #05baee 0%, #286bd1 100%);
}

.student-report-body .student-chart-panel,
.student-report-body .student-radar-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.student-report-body .discipline-detail-scroll {
  padding: 0.75rem;
}

.student-report-body .question-map-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.student-report-body .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: #f7fafd;
  --bs-table-hover-bg: #eef8fc;
  color: #354e6a;
}

.student-report-body .table thead th {
  border-bottom-color: #cfdeeb;
  background: #f4f8fc;
  color: #5e728d;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.student-report-body .table tbody td {
  border-color: #e4ebf2;
}

.student-report-body .btn-primary {
  border-color: #164193;
  background: linear-gradient(135deg, #164193 0%, #087fae 100%);
}

.student-report-body .btn-outline-primary {
  border-color: #8fb0d2;
  color: #164193;
}

.student-report-body .btn-outline-primary:hover,
.student-report-body .btn-outline-primary:focus-visible {
  border-color: #164193;
  background: #164193;
  color: #fff;
}

.student-report-body .form-control,
.student-report-body .form-select {
  border-color: #cfdeeb;
  border-radius: 10px;
  box-shadow: none;
}

.student-report-body .form-control:focus,
.student-report-body .form-select:focus {
  border-color: #05baee;
  box-shadow: 0 0 0 3px rgba(5, 186, 238, 0.13);
}

.student-report-body .dropdown-menu {
  padding: 0.45rem;
  border: 1px solid #d7e2ed;
  border-radius: 13px;
  box-shadow: 0 18px 45px rgba(8, 38, 83, 0.18);
}

.student-report-body .dropdown-item {
  border-radius: 8px;
  color: #37536f;
  font-size: 0.76rem;
}

.student-report-body .dropdown-item:hover,
.student-report-body .dropdown-item:focus {
  background: #eaf8fd;
  color: #087fae;
}

@media (max-width: 991.98px) {
  .student-report-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .student-event-panel {
    max-width: 700px;
  }
}

@media (max-width: 767.98px) {
  .student-report-shell.container {
    padding: 0;
  }

  .student-report-masthead {
    border: 0;
    border-radius: 0 0 24px 24px;
  }

  .student-report-card > .card-body {
    padding: 1rem 0.8rem 0;
  }

  .student-report-hero {
    padding-top: 1.9rem;
    padding-bottom: 2rem;
  }

  .student-report-title {
    font-size: clamp(1.9rem, 10vw, 2.75rem);
  }

  .student-report-body .student-anchor-nav {
    top: 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .student-topbar .top-brand small,
  .student-file-button .student-file-label {
    display: none;
  }

  .student-file-button.btn {
    justify-content: center;
    width: 2.65rem;
    padding: 0;
  }

  .student-event-panel .event-picker-row {
    grid-template-columns: 1fr;
  }

  .student-overview-panel,
  .student-report-body .student-chart-panel,
  .student-report-body .student-radar-panel,
  .student-report-body .question-map-panel,
  .student-report-body .discipline-detail-scroll {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-report-body *,
  .student-report-body *::before,
  .student-report-body *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
