*,
*::before,
*::after {
  box-sizing: border-box;
}

.auditoria-total,
.auditoria-muted {
  color: #667085;
  font-size: .82rem;
}

.auditoria-muted {
  display: block;
  margin-top: .15rem;
}

.auditoria-filtros-panel {
  margin-top: 1rem;
}

.auditoria-filtros {
  align-items: end;
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(5, minmax(130px, 1fr)) minmax(220px, 1.4fr) auto;
  width: 100%;
}

.auditoria-filtros label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin: 0;
}

.auditoria-filtros span,
.auditoria-detail dt {
  color: #667085;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.auditoria-filtros input,
.auditoria-filtros select {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #101828;
  min-height: 42px;
  padding: .55rem .7rem;
}

.auditoria-filtros-actions {
  display: inline-flex;
  gap: .45rem;
  justify-content: flex-end;
}

.auditoria-table td {
  vertical-align: middle;
}

.auditoria-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.auditoria-detail {
  margin-top: 1rem;
}

.auditoria-detail-grid,
.auditoria-json-grid {
  display: grid;
  gap: 1rem;
}

.auditoria-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auditoria-detail-grid div {
  border-bottom: 1px solid #eaecf0;
  padding-bottom: .75rem;
}

.auditoria-detail dd {
  color: #101828;
  margin: .25rem 0 0;
}

.auditoria-detail dd span {
  color: #667085;
  margin-left: .35rem;
}

.auditoria-detail-description,
.auditoria-user-agent {
  margin-top: 1.2rem;
}

.auditoria-detail h6 {
  font-weight: 700;
  margin-bottom: .5rem;
}

.auditoria-json-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.auditoria-json-grid pre {
  background: #101828;
  border-radius: 8px;
  color: #f9fafb;
  font-size: .78rem;
  max-height: 460px;
  overflow: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

@media (max-width: 1100px) {
  .auditoria-filtros {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auditoria-busca,
  .auditoria-filtros-actions {
    grid-column: 1 / -1;
  }

  .auditoria-detail-grid,
  .auditoria-json-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --sidebar-width: 280px;
  --mobile-sidebar-width: min(20rem, 64vw);
  --brand-red: #d22824;
  --brand-red-dark: #b91f1b;
  --status-active: #16a34a;
  --status-inactive: #ff0000;
  --active-menu: #2563eb;
  --active-menu-dark: #1d4ed8;
  --surface: #ffffff;
  --page: #f4f7fb;
  --text: #263348;
  --muted: #667085;
  --line: #dfe7f1;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body.light-edition,
body.public-page,
body.update-aluno-page {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.light-edition {
  background: var(--page);
}

body.public-page,
body.update-aluno-page {
  background: #1a2035;
  color: #e5e7eb;
}

body.public-page:has(.login-modern-page) {
  background: #eef3f8;
  color: var(--text);
}

body.public-page:has(.login-modern-page) .footer {
  width: 100%;
  text-align: center;
}

body.public-page:has(.login-modern-page) .footer .container-fluid {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

body.public-page:has(.login-modern-page) .footer .stats {
  width: 100%;
  color: #667085 !important;
  text-align: center;
}

body.public-page:has(.login-modern-page) .error {
  border-color: #16a34a !important;
  background-color: #dcfce7 !important;
}

body.public-page:has(.login-modern-page) .errorLabel {
  color: #fff !important;
  background-color: #15803d !important;
}

body.public-page:has(.qr-page) > .public-shell > .footer {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden],
.hidden {
  display: none !important;
}

.wrapper {
  min-height: 100vh;
}

.public-shell,
.update-aluno-shell {
  min-height: 100vh;
  padding: 1rem;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.auth-page,
.home-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 2rem);
  min-width: 0;
  width: 100%;
}

.auth-panel {
  width: 100%;
  max-width: 28rem;
}

.auth-logo {
  padding: 1.5rem 1.5rem 0;
  text-align: center;
}

.auth-logo img {
  display: inline-block;
  max-height: 80px;
  border-radius: .45rem;
}

.auth-form {
  text-align: left;
}

.auth-password {
  padding-right: 2.5rem;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.auth-help {
  text-align: left;
}

.auth-help a {
  color: #64748b;
  font-size: .875rem;
}

.auth-help a:hover {
  color: #334155;
}

.password-recovery-modal .modal-content {
  color: var(--text);
}

.password-recovery-modal .modal-body {
  text-align: left;
}

.password-recovery-modal .modal-body p {
  margin: 0 0 .75rem;
}

.password-recovery-list {
  margin: 0 0 .75rem;
  padding-left: 1.2rem;
  color: #344054;
}

.password-recovery-list li + li {
  margin-top: .25rem;
}

.photo-capture-page {
  display: grid;
  gap: 1rem;
}

.photo-capture-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.photo-capture-header h2,
.photo-capture-header h5 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.photo-capture-header p {
  margin: .25rem 0 0;
  color: #667085;
  font-size: .88rem;
  font-weight: 600;
}

.photo-capture-public .photo-capture-header h2,
.photo-capture-public .photo-capture-header p {
  color: #f8fafc;
}

.photo-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 70%;
  max-width: 52rem;
  margin: 0 auto;
}

.photo-capture-panel {
  display: grid;
  gap: .75rem;
  min-width: 0;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.photo-capture-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}

.photo-capture-panel-header strong {
  color: var(--text);
  font-size: .92rem;
  font-weight: 800;
}

.photo-capture-panel-header span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  text-align: right;
}

.photo-capture-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
  border-radius: .5rem;
  background: #111827;
  aspect-ratio: 39 / 46;
}

.photo-capture-camera video,
.photo-capture-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-capture-preview.is-editing {
  cursor: grab;
  touch-action: none;
}

.photo-capture-preview.is-dragging {
  cursor: grabbing;
}

.photo-capture-preview img.is-editing {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  object-fit: fill;
  user-select: none;
  will-change: transform;
  pointer-events: none;
}

.photo-capture-frame {
  position: absolute;
  inset: 7%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, .86);
  border-radius: .5rem;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, .34);
  pointer-events: none;
}

.photo-capture-frame span {
  margin-bottom: .65rem;
  padding: .25rem .55rem;
  border-radius: .35rem;
  background: rgba(15, 23, 42, .76);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
}

.photo-capture-placeholder {
  display: grid;
  place-items: center;
  gap: .4rem;
  color: #cbd5e1;
  text-align: center;
}

.photo-capture-placeholder .material-icons {
  font-size: 3rem;
}

.photo-capture-placeholder span {
  font-size: .86rem;
  font-weight: 800;
}

.photo-capture-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}

.photo-capture-file {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.login-modern-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4.5rem);
  width: 100%;
  padding: clamp(1rem, 3vw, 2.5rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(22, 163, 74, .12) 0%, rgba(22, 163, 74, 0) 34%),
    linear-gradient(315deg, rgba(35, 66, 57, .16) 0%, rgba(35, 66, 57, 0) 38%),
    #eef3f8;
}

.login-modern-page::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 42, 61, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 42, 61, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  opacity: .55;
}

.login-modern-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 23.5rem);
  width: min(100%, 56rem);
  overflow: hidden;
  border: 1px solid rgba(216, 226, 238, .9);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 24px 70px rgba(31, 42, 61, .16);
}

.login-hero-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.1rem, 3vw, 1.65rem);
  background:
    linear-gradient(135deg, rgba(35, 66, 57, .98), rgba(22, 101, 52, .95)),
    #234239;
  color: #fff;
}

.login-hero-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 36%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 18px);
  content: "";
}

.login-hero-panel::after {
  position: absolute;
  right: -5rem;
  bottom: 3rem;
  width: 18rem;
  height: 5.5rem;
  border: 1px solid rgba(37, 99, 235, .26);
  border-radius: .5rem;
  content: "";
  transform: rotate(-18deg);
}

.login-hero-logo,
.login-hero-copy,
.login-hero-accent {
  position: relative;
  z-index: 1;
}

.login-hero-logo {
  width: min(100%, 17.5rem);
  padding: .65rem .8rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .5rem;
  background: rgba(8, 15, 21, .2);
  backdrop-filter: blur(8px);
}

.login-hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.login-hero-copy {
  max-width: 29rem;
}

.login-hero-copy p {
  margin: 0 0 .5rem;
  color: #60a5fa;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.login-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
}

.login-hero-accent {
  display: grid;
  grid-template-columns: 1.5fr .8fr .45fr;
  gap: .55rem;
  width: min(14rem, 72%);
}

.login-hero-accent span {
  height: .34rem;
  border-radius: 999px;
  background: #2563eb;
}

.login-hero-accent span:nth-child(2) {
  background: #ffffff;
}

.login-hero-accent span:nth-child(3) {
  background: #16a34a;
}

.login-modern-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: clamp(1.1rem, 3vw, 1.45rem);
  background: rgba(255, 255, 255, .98);
}

.login-brand-row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  padding-bottom: .9rem;
  border-bottom: 1px solid #e5edf6;
}

.login-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  border: 1px solid rgba(22, 163, 74, .22);
  border-radius: .5rem;
  background: #ecfdf5;
  color: #16a34a;
}

.login-brand-mark .material-icons {
  font-size: 1.45rem;
}

.login-brand-copy p {
  margin: 0 0 .15rem;
  color: #667085;
  font-size: .78rem;
  font-weight: 700;
}

.login-brand-copy h2 {
  margin: 0;
  color: #1f2a3d;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
}

.login-toast-slot {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 1100;
  width: min(calc(100vw - 2rem), 17rem);
  pointer-events: none;
  transform: translateX(-50%);
}

.login-toast-slot:empty {
  display: none;
}

.login-toast-slot .system-toast {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  opacity: 0;
  transform: translateY(-.35rem);
}

.login-modern-form {
  display: grid;
  gap: .8rem;
  margin-top: .9rem;
}

.login-field label {
  margin-bottom: .3rem;
  color: #344054;
  font-size: .82rem;
  font-weight: 700;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrap > .material-icons {
  position: absolute;
  left: .7rem;
  z-index: 1;
  color: #758195;
  font-size: 1.15rem;
  pointer-events: none;
}

.login-input-wrap .form-control-pessoal {
  width: 100%;
  min-height: 2.6rem;
  padding-left: 2.35rem;
  border-color: #ccd8e6;
  border-radius: .5rem;
  background: #fbfdff;
  color: #263348;
  font-size: .92rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.login-input-wrap .form-control-pessoal:focus {
  border-color: rgba(22, 163, 74, .58);
  background: #fff;
  box-shadow: 0 0 0 .18rem rgba(22, 163, 74, .1) !important;
}

.login-input-wrap .auth-password {
  padding-right: 2.8rem;
}

.login-password-toggle {
  position: absolute;
  right: .45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: .45rem;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
  background: #edf3f9;
  color: #263348;
  outline: none;
}

.login-password-toggle .material-icons {
  font-size: 1.15rem;
}

.login-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  min-height: 2.65rem;
  margin-top: .1rem;
  padding: .55rem .9rem;
  border: 0;
  border-radius: .5rem;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.login-primary-button:hover,
.login-primary-button:focus {
  background: #15803d;
  box-shadow: 0 12px 24px rgba(22, 163, 74, .26);
  outline: none;
  transform: translateY(-1px);
}

.login-primary-button:disabled {
  cursor: wait;
  opacity: .75;
  transform: none;
  box-shadow: none;
}

.login-primary-button .material-icons {
  font-size: 1.1rem;
}

.login-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .2rem;
}

.login-footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: #526174;
  font-size: .82rem;
  font-weight: 700;
}

.login-footer-actions a:hover,
.login-footer-actions a:focus {
  color: #15803d;
}

.login-footer-actions .material-icons {
  font-size: 1rem;
}

.home-card {
  position: relative;
  width: 100%;
  max-width: 64rem;
  overflow: hidden;
  padding: .75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .28);
}

.home-card img {
  display: block;
  width: 100%;
  border-radius: .45rem;
  background: #fff;
  object-fit: contain;
}

.home-login {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.update-check-card {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: .5rem;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .26);
}

.update-check-hint,
.update-check-footer p {
  color: #cbd5e1;
  font-size: .75rem;
}

.update-check-hint {
  margin-top: .5rem;
}

.update-check-footer {
  margin-top: 1rem;
  text-align: center;
}

.update-check-footer p {
  margin-bottom: 0;
}

body.precadastro-body {
  min-height: 100vh;
  margin: 0;
  background: #eef3f8;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.precadastro-page {
  min-height: 100vh;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.precadastro-shell,
.precadastro-form {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.precadastro-check-page .precadastro-shell {
  width: min(100%, 24rem);
}

.precadastro-check-page {
  display: flex;
  align-items: center;
  justify-content: center;
}

.precadastro-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  text-align: center;
}

.precadastro-header > div {
  width: 100%;
}

.precadastro-header span,
.precadastro-section-title span {
  color: #15803d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.precadastro-header h1,
.precadastro-header h3 {
  margin: .1rem 0;
  color: #172033;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.precadastro-header small {
  color: #667085;
  font-weight: 700;
}

.precadastro-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.35rem;
  padding: 0 .85rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  background: #fff;
  color: #334155;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.precadastro-back-button:hover,
.precadastro-back-button:focus {
  color: #1f2937;
  text-decoration: none;
}

.precadastro-back-button .material-icons {
  font-size: 1.1rem;
}

.precadastro-header img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.precadastro-check-card,
.precadastro-section {
  border: 1px solid #dfe7f1;
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.precadastro-check-card {
  padding: 1rem;
}

.precadastro-cpf-form {
  display: grid;
  gap: .65rem;
}

.precadastro-cpf-form label,
.precadastro-section label {
  color: #344054;
  font-weight: 800;
}

.precadastro-check-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  width: 100%;
  min-height: 2.85rem;
  margin-top: .25rem;
  border-radius: .5rem;
  background: #16a34a;
  color: #fff;
  font-weight: 800;
}

.precadastro-status:empty {
  display: none;
}

.precadastro-cpf-status {
  margin-top: -.25rem;
}

.precadastro-input-invalid {
  border-color: #ef4444 !important;
  background: #fff1f2 !important;
  box-shadow: 0 0 0 .15rem rgba(239, 68, 68, .12) !important;
}

.precadastro-message {
  display: block;
  margin: 0;
  padding: .55rem .7rem;
  border-radius: .45rem;
  font-size: .82rem;
  font-weight: 800;
}

.precadastro-message-danger {
  background: #fee2e2;
  color: #991b1b;
}

.precadastro-message-success {
  background: #dcfce7;
  color: #166534;
}

.precadastro-client-error {
  margin-bottom: 1rem;
  padding: .75rem .9rem;
  border-radius: .5rem;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 800;
}

.precadastro-section {
  margin-bottom: 1rem;
  padding: 1rem;
}

.precadastro-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.precadastro-section-title h2 {
  margin: .1rem 0 0;
  color: #172033;
  font-size: 1.05rem;
  font-weight: 800;
}

.precadastro-section-hint {
  display: block;
  margin-top: .25rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}

.precadastro-section-title strong {
  padding: .35rem .55rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: .75rem;
}

.precadastro-selfie-grid {
  display: grid;
  grid-template-columns: 7.5rem minmax(12rem, 18rem) minmax(12rem, 18rem);
  justify-content: center;
  gap: .85rem;
  align-items: start;
}

.precadastro-selfie-grid[hidden] {
  display: none !important;
}

.precadastro-current-grid {
  grid-template-columns: 7.5rem;
}

.precadastro-capture-grid {
  grid-template-columns: minmax(12rem, 18rem) minmax(12rem, 18rem);
  margin-top: .85rem;
}

.precadastro-current-photo,
.precadastro-camera-box,
.precadastro-preview-box {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: .5rem;
  background: #f8fafc;
}

.precadastro-photo-start {
  display: flex;
  justify-content: center;
  margin-top: .85rem;
}

.precadastro-photo-start-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 2.65rem;
  border-radius: .5rem;
  font-weight: 800;
}

.precadastro-current-photo {
  display: grid;
  align-content: start;
  gap: .5rem;
  padding: .6rem;
}

.precadastro-current-photo span {
  color: #667085;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.precadastro-current-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: .45rem;
  background: #fff;
  object-fit: cover;
}

.precadastro-selfie-alert {
  margin: 0;
  color: #b91c1c;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
}

.precadastro-camera-box,
.precadastro-preview-box {
  padding: .6rem;
}

.precadastro-camera-box .photo-capture-stage,
.precadastro-preview-box .photo-capture-stage {
  max-height: 20rem;
}

.precadastro-photo-actions {
  display: flex;
  justify-content: center;
  gap: .65rem;
  margin-top: .6rem;
}

.precadastro-fields-grid {
  align-items: end;
}

.precadastro-status-field {
  opacity: .8;
}

.precadastro-form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.precadastro-save-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.85rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: .5rem;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(22, 163, 74, .25);
  cursor: pointer;
}

.precadastro-carteira-section {
  display: flex;
  justify-content: center;
}

.precadastro-carteira-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.85rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: .5rem;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(37, 99, 235, .22);
  cursor: pointer;
}

.precadastro-carteira-button:disabled,
.precadastro-carteira-button.is-disabled {
  background: #cbd5e1;
  color: #64748b;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .precadastro-selfie-grid {
    grid-template-columns: 1fr;
  }

  .precadastro-current-photo {
    grid-template-columns: 5.5rem minmax(0, 1fr);
    align-items: center;
    width: min(100%, 18rem);
    justify-self: center;
  }

  .precadastro-current-photo span {
    grid-column: 1 / -1;
  }

  .precadastro-current-photo img {
    width: 5.5rem;
  }

  .precadastro-camera-box,
  .precadastro-preview-box {
    width: min(100%, 18rem);
    justify-self: center;
  }

  .precadastro-fields-grid {
    grid-template-columns: 1fr;
  }

  .precadastro-fields-grid > .aluno-field,
  .precadastro-fields-grid > [class*="aluno-span-"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .precadastro-page {
    padding: .75rem .75rem 6rem;
  }

  .precadastro-header {
    align-items: center;
  }

  .precadastro-header img {
    width: 2.75rem;
    height: 2.75rem;
  }

  .precadastro-section,
  .precadastro-check-card {
    padding: .85rem;
  }

  .precadastro-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .precadastro-form-actions {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    justify-content: flex-end;
  }

  .precadastro-form-actions .precadastro-back-button {
    min-height: 3rem;
    padding: 0 .9rem;
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .16);
  }

  .precadastro-save-float {
    width: 4rem;
    height: 4rem;
    min-height: 4rem;
    padding: 0;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 16px 34px rgba(22, 101, 52, .38);
  }

  .precadastro-save-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .precadastro-save-float .material-icons {
    font-size: 1.7rem;
  }
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.dashboard-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 1rem;
  border-radius: .5rem;
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
}

.dashboard-stat-warning {
  background: #f59e0b;
}

.dashboard-stat-success {
  background: var(--status-active);
}

.dashboard-stat-danger {
  background: #dc2626;
}

.dashboard-stat-info {
  background: #2563eb;
}

.dashboard-stat-neutral {
  background: #64748b;
}

.dashboard-stat-primary {
  background: #0f766e;
}

.dashboard-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .18);
}

.dashboard-stat-icon i {
  font-size: 2rem;
}

.dashboard-stat-content {
  min-width: 0;
  width: 100%;
}

.dashboard-stat-content h3 {
  margin: 0 0 .75rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.dashboard-stat-table,
.dashboard-stat-table th,
.dashboard-stat-table td {
  color: #fff;
}

.dashboard-stat-table {
  table-layout: fixed;
}

.dashboard-stat-table th,
.dashboard-stat-table td {
  width: 33.333%;
  border-color: rgba(255, 255, 255, .22);
  text-align: center;
}

.dashboard-stat-table th {
  background: rgba(15, 23, 42, .18);
}

.dashboard-report-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
}

.dashboard-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}

.dashboard-report-header span {
  display: block;
  margin-bottom: .15rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-report-header h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.dashboard-report-table {
  min-width: 60rem;
  margin-bottom: 0;
}

.dashboard-report-table th,
.dashboard-report-table td {
  padding: .55rem .65rem;
  border-color: var(--line-soft);
  color: var(--text);
  font-size: .82rem;
  vertical-align: middle;
}

.dashboard-report-table th {
  background: #f6f8fa;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.dashboard-report-table td > strong,
.dashboard-report-table td > span {
  display: block;
}

.dashboard-report-table td > span,
.dashboard-lesson-stack span + span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.dashboard-lesson-stack {
  display: grid;
  gap: .15rem;
  min-width: 0;
}

.dashboard-report-number {
  color: var(--text);
  font-size: .9rem !important;
  font-weight: 800;
  text-align: center;
}

.dashboard-lesson-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #eaeef2;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-lesson-status.is-open {
  background: #dcfce7;
  color: #166534;
}

.dashboard-lesson-status.is-closed {
  background: #fee2e2;
  color: #991b1b;
}

.dashboard-lesson-status.is-canceled {
  background: #fef3c7;
  color: #92400e;
}

.dashboard-recognition-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.45rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: #eaeef2;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-recognition-status.has-alert {
  background: #fee2e2;
  color: #991b1b;
}

.dashboard-report-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  color: var(--active-menu);
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-report-link:hover,
.dashboard-report-link:focus {
  border-color: #0969da;
  background: #eef6ff;
  color: #0550ae;
}

.dashboard-report-empty {
  color: var(--muted) !important;
  font-weight: 700;
  text-align: center;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: var(--sidebar-width);
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(31, 41, 55, .12);
  transition: transform .25s ease;
}

.sidebar .logo {
  border-bottom: 1px solid var(--line);
}

.sidebar-user-card {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  width: 100%;
  padding: .75rem;
}

.sidebar-avatar-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.sidebar-avatar {
  display: block;
  flex: 0 0 auto;
  width: 5rem !important;
  height: 5rem !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: .75rem;
  background: #fff;
}

.sidebar-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sidebar-user-info {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.sidebar-user-name-link {
  display: block;
  min-width: 0;
  color: var(--text);
}

.sidebar-user-name {
  display: block;
  width: 100%;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.16;
}

.sidebar-user-actions {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .25rem;
  min-width: 0;
  flex-wrap: wrap;
}

.sidebar-logout {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  min-height: 1.65rem;
  padding: .25rem .45rem;
  border-radius: .45rem;
  color: var(--brand-red);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color .15s ease, color .15s ease;
}

.sidebar-logout:hover,
.sidebar-logout:focus {
  background: #fee2e2;
  color: var(--brand-red-dark);
}

.sidebar-logout .material-icons {
  font-size: .95rem;
}

.sidebar-wrapper {
  padding: .75rem;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-bottom: .25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 42px;
  padding: .65rem .8rem;
  border-radius: .45rem;
  color: #344767;
  font-size: .9rem;
  font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}

.nav-link p {
  margin: 0;
  font-size: inherit;
}

.nav-link:hover,
.dropdown-menu a:hover {
  background: #f1f5f9;
  color: #111827;
}

.nav-item.active > .nav-link {
  background: var(--active-menu);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
}

.nav-item.active > .nav-link i,
.nav-item.active > .nav-link p {
  color: #fff !important;
}

.nav-item.active > .nav-link:hover,
.nav-item.active > .nav-link:focus {
  background: var(--active-menu-dark);
  color: #fff !important;
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  min-width: 12rem;
  margin: .25rem 0 .5rem 1rem;
  padding: .35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .5rem;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}

.dropdown-menu.show,
.dropdown.open > .dropdown-menu {
  display: block;
}

.dropdown-item,
.dropdown-menu .nav-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  min-height: 36px;
  padding: .5rem .65rem;
  border-radius: .4rem;
  color: #344767;
  font-size: .85rem;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.navbar .dropdown-menu {
  position: absolute;
  top: calc(100% + .35rem);
  right: 0;
  z-index: 70;
  margin: 0;
}

.main-panel {
  min-height: 100vh;
  max-width: 100%;
  margin-left: var(--sidebar-width);
  transition: margin-left .25s ease;
}

.content {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding: 5.5rem 1rem 1.5rem;
}

.container-fluid {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar-width);
  z-index: 40;
  min-height: 70px;
  background: rgba(244, 247, 251, .92);
  border-bottom: 1px solid rgba(223, 231, 241, .8);
  backdrop-filter: blur(10px);
  transition: left .25s ease;
}

.navbar > .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 70px;
  padding: 0 1rem;
}

.navbar-title {
  min-width: 0;
  gap: .75rem;
}

.navbar-brand {
  min-width: 0;
  color: var(--text);
  font-weight: 700;
}

.navbar-brand p {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-toast-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 .75rem;
  pointer-events: none;
}

.system-toast {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  max-width: min(34rem, 100%);
  padding: .65rem .75rem .65rem .9rem;
  overflow: hidden;
  border: 0;
  border-radius: .5rem;
  background: #334155;
  color: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .16);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .2s ease, transform .2s ease;
}

.system-toast::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, .65);
  content: "";
  transform-origin: left center;
}

.light-edition .content .system-toast,
.light-edition .alunos-status .system-toast {
  display: none;
}

.navbar-toast-slot .system-toast {
  display: inline-flex;
  opacity: 0;
  transform: translateY(-.35rem);
}

.system-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.system-toast.is-visible::after {
  animation: system-toast-progress 2.333s linear forwards;
}

.system-toast.is-hiding {
  opacity: 0;
  transform: translateY(-.25rem);
}

.system-toast-success {
  background: var(--status-active);
}

.system-toast-danger {
  background: #dc2626;
}

.system-toast-warning {
  background: #f59e0b;
  color: #1f2937;
}

.system-toast-message {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-toast-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 0;
  border-radius: .35rem;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  opacity: .82;
}

.system-toast-close:hover,
.system-toast-close:focus {
  background: rgba(255, 255, 255, .18);
  color: currentColor;
  opacity: 1;
}

.system-toast-close .material-icons {
  font-size: 1rem;
}

@keyframes system-toast-progress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

.painel-navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  margin-left: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.notification {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  margin-left: -.35rem;
  padding: 0 .25rem;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: .7rem;
}

.sidebar-toggle {
  position: static;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 60;
  background: #7c2d12 !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(124, 45, 18, .26);
}

.sidebar-toggle:hover,
.sidebar-toggle:focus {
  background: #9a3412 !important;
  color: #fff !important;
}

body.sidebar-collapsed .sidebar {
  transform: translateX(-100%);
  pointer-events: none;
}

body.sidebar-collapsed .main-panel {
  margin-left: 0;
}

body.sidebar-collapsed .navbar {
  left: 0;
}

.row,
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -.5rem;
  margin-left: -.5rem;
}

.row > *,
.form-row > * {
  padding-right: .5rem;
  padding-left: .5rem;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  width: 100%;
}

@media (min-width: 1px) {
  .col-1 { width: 8.333333%; }
  .col-2 { width: 16.666667%; }
  .col-3 { width: 25%; }
  .col-4 { width: 33.333333%; }
  .col-5 { width: 41.666667%; }
  .col-6 { width: 50%; }
  .col-7 { width: 58.333333%; }
  .col-8 { width: 66.666667%; }
  .col-9 { width: 75%; }
  .col-10 { width: 83.333333%; }
  .col-11 { width: 91.666667%; }
  .col-12 { width: 100%; }
}

@media (min-width: 640px) {
  .col-sm-1 { width: 8.333333%; }
  .col-sm-2 { width: 16.666667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.333333%; }
  .col-sm-5 { width: 41.666667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.333333%; }
  .col-sm-8 { width: 66.666667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.333333%; }
  .col-sm-11 { width: 91.666667%; }
  .col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
  .col { flex: 1 1 0; }
  .col-md-1 { width: 8.333333%; }
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333%; }
  .col-md-8 { width: 66.666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.333333%; }
  .col-md-11 { width: 91.666667%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 1024px) {
  .col-lg-1 { width: 8.333333%; }
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
  .col-lg-11 { width: 91.666667%; }
  .col-lg-12 { width: 100%; }
}

.justify-content-center,
.justify-content-md-center {
  justify-content: center;
}

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

.justify-content-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.float-right { float: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto !important; }
.mr-auto { margin-right: auto !important; }
.img-fluid { max-width: 100%; height: auto; }
.table-responsive { width: 100%; overflow-x: auto; }

.p-0 { padding: 0 !important; }
.p-1 { padding: .25rem !important; }
.p-2 { padding: .5rem !important; }
.px-2 { padding-left: .5rem !important; padding-right: .5rem !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; }
.pt-1 { padding-top: .25rem !important; }
.pt-3 { padding-top: .75rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-3 { padding-bottom: .75rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: .75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: .75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mr-2 { margin-right: .5rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-5 { margin-left: 3rem !important; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

.card-body {
  padding: 1rem;
}

.card-login {
  width: min(100%, 460px);
  overflow: hidden;
}

.card-title {
  color: var(--text);
  font-weight: 700;
}

.card-stats {
  overflow: hidden;
}

.card-header {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.card-header-warning,
.card-header-success,
.card-header-danger {
  color: #fff;
}

.card-header-warning { background: #f59e0b; }
.card-header-success { background: #16a34a; }
.card-header-danger { background: #dc2626; }

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 2.25rem;
  padding: .5rem .85rem;
  border: 0;
  border-radius: .45rem;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, .16);
}

.btn:disabled,
.btn.disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-sm {
  min-height: 2rem;
  padding: .4rem .65rem;
  font-size: .85rem;
}

.btn-round {
  border-radius: 999px;
}

.btn-just-icon {
  width: 2.3rem;
  min-width: 2.3rem;
  padding: .45rem;
}

.btn-success {
  background: var(--status-active);
}

.bg-gradient-success {
  background: var(--status-active);
}

.btn-danger {
  background: var(--brand-red);
}

.bg-gradient-danger {
  background: var(--status-inactive);
}

.btn-warning,
.bg-gradient-warning {
  background: #f59e0b;
}

.btn-info,
.btn-primary,
.btn-facebook {
  background: #2563eb;
}

.btn-alert {
  background: #0f766e;
}

.btn-default {
  background: #64748b;
}

.btn-block {
  display: flex;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .55rem;
  border-radius: .45rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.badge-sm {
  font-size: .7rem;
}

.text-light {
  color: #fff !important;
}

.text-dark {
  color: var(--text) !important;
}

.text-muted,
.text-secondary {
  color: #64748b !important;
}

.text-success {
  color: var(--status-active) !important;
}

.text-danger {
  color: var(--status-inactive) !important;
}

.bg-dark,
.titulo-tabela {
  background: #e9eff6 !important;
  color: var(--text) !important;
}

.bg-warning {
  background: #f59e0b !important;
}

.alert {
  padding: .85rem 1rem;
  border-radius: .5rem;
  border: 1px solid transparent;
  margin-bottom: 1rem;
}

.alert-success {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}

.alert-danger {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}

.alert-warning {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

.table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
}

.table th,
.table td {
  padding: .65rem .75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.table th {
  font-size: .78rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #475569;
  background: #f8fafc;
}

.table-striped tbody tr:nth-child(even) {
  background: #f8fafc;
}

.table-hover tbody tr:hover {
  background: #eef2f7;
}

.alunos-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alunos-panel {
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}

.alunos-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem 1rem;
  align-items: center;
  margin-bottom: 0;
}

.alunos-title h5 {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}

.alunos-status {
  grid-column: 1 / -1;
  order: 3;
}

.alunos-status:empty {
  display: none;
}

.alunos-wallet-progress {
  margin-top: 1rem;
  padding: .9rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: .65rem;
}

.alunos-wallet-progress[hidden] {
  display: none !important;
}

.alunos-wallet-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
  color: var(--text);
  font-size: .92rem;
}

.alunos-wallet-progress-header strong {
  font-weight: 800;
}

.alunos-wallet-progress-header span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
}

.alunos-wallet-progress-track {
  width: 100%;
  height: .55rem;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 999px;
}

.alunos-wallet-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #1f7a3f;
  border-radius: inherit;
  transition: width .2s ease;
}

.alunos-column-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #f8fafc;
}

.alunos-column-controls[hidden] {
  display: none !important;
}

.alunos-column-controls-title {
  margin-right: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.alunos-column-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.alunos-column-option input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--active-menu);
}

.alunos-columns-toggle[aria-expanded="true"] {
  border-color: #0969da !important;
  background: #eef6ff !important;
  color: #0969da !important;
}

.alunos-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}

.alunos-actions .btn {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
}

.alunos-actions .material-icons {
  font-size: 1.65rem;
}

.alunos-filters {
  display: grid;
  grid-template-columns: minmax(8rem, .9fr) minmax(16rem, 1.8fr) minmax(9rem, 1fr) minmax(9rem, 1fr) minmax(9rem, 1fr);
  gap: .85rem;
  align-items: end;
}

.alunos-field label {
  margin-bottom: .4rem;
  color: #344767;
}

.alunos-table-wrap,
.alunos-datatable-panel {
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #fff;
}

.alunos-datatable-panel {
  overflow: hidden;
}

.alunos-datatable-panel .datatable-top,
.alunos-datatable-panel .datatable-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: .85rem .9rem;
  color: #344767;
}

.alunos-datatable-panel .datatable-top {
  flex-direction: row-reverse;
  border-bottom: 1px solid var(--line);
}

.alunos-datatable-panel .datatable-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1 1 28rem;
  max-width: 50rem;
  margin-right: auto;
}

.alunos-datatable-panel .datatable-bottom {
  border-top: 1px solid var(--line);
}

.alunos-datatable-panel .datatable-dropdown label {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: #344767;
  font-weight: 700;
}

.alunos-datatable-panel .datatable-selector,
.alunos-datatable-panel .datatable-input {
  min-height: 2.45rem;
  border: 1px solid #cbd5e1;
  border-radius: .45rem;
  background: #fff;
  color: var(--text);
  outline: none;
}

.alunos-datatable-panel .datatable-selector {
  padding: .45rem 2rem .45rem .65rem;
}

.alunos-datatable-panel .datatable-input {
  flex: 1 1 22rem;
  min-width: 12rem;
  width: 100%;
  padding: .85rem .9rem;
}

.datatable-status-filter {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex: 0 0 auto;
  min-height: 2.45rem;
  margin: 0;
  padding: .2rem;
  border: 1px solid #cbd5e1;
  border-radius: .45rem;
  background: #f8fafc;
}

.datatable-status-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 1.95rem;
  margin: 0;
  padding: .35rem .65rem;
  border-radius: .35rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.datatable-status-option input {
  position: static;
  width: .9rem;
  height: .9rem;
  margin: 0;
  accent-color: var(--active-menu);
}

.datatable-status-option:has(input:checked) {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}

.datatable-status-option:focus-within {
  outline: 3px solid rgba(37, 99, 235, .14);
  outline-offset: 1px;
}

.alunos-datatable-panel .datatable-input:focus,
.alunos-datatable-panel .datatable-selector:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.alunos-datatable-panel .datatable-container {
  width: 100%;
  overflow-x: auto;
}

.alunos-datatable-panel .datatable-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.alunos-datatable-panel .datatable-table caption {
  padding: .85rem .9rem;
  border-bottom: 1px solid var(--line);
  caption-side: top;
  color: #24324a;
  font-weight: 800;
  text-align: left;
}

.alunos-datatable-panel .datatable-sorter,
.alunos-datatable-panel .datatable-filter {
  color: inherit;
  font-weight: inherit;
}

.alunos-datatable-panel .datatable-info {
  color: #24324a;
  font-weight: 700;
}

.alunos-datatable-panel .datatable-pagination ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alunos-datatable-panel .datatable-pagination a,
.alunos-datatable-panel .datatable-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: .35rem .65rem;
  border: 1px solid #c084fc;
  border-radius: .4rem;
  background: #faf5ff;
  color: #7e22ce;
  font-weight: 700;
}

.alunos-datatable-panel .datatable-pagination a:hover,
.alunos-datatable-panel .datatable-pagination button:hover {
  border-color: #a855f7;
  background: #f3e8ff;
  color: #6b21a8;
}

.alunos-datatable-panel .datatable-pagination .datatable-active a,
.alunos-datatable-panel .datatable-pagination .datatable-active button,
.alunos-datatable-panel .datatable-pagination .active a,
.alunos-datatable-panel .datatable-pagination .active button {
  border-color: #9333ea;
  background: #9333ea;
  color: #fff;
}

.alunos-datatable-panel .datatable-pagination .datatable-disabled a,
.alunos-datatable-panel .datatable-pagination .datatable-disabled button {
  opacity: .45;
  pointer-events: none;
}

.alunos-table {
  margin: 0;
}

.alunos-table th {
  padding: .85rem .9rem;
  color: #344767;
  font-size: .75rem;
  background: #f1f5f9;
  white-space: nowrap;
}

.alunos-table td {
  padding: .85rem .9rem;
  color: #344767;
  font-size: .95rem;
}

.alunos-table tbody tr {
  transition: background-color .15s ease;
}

.alunos-table tbody tr:hover {
  background: #f8fafc;
}

.alunos-matricula {
  color: #24324a !important;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.student-cell {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 18rem;
}

.student-photo-button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  background: transparent;
  cursor: zoom-in;
}

.student-photo-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 2px;
}

.student-avatar {
  display: block;
  width: 2.45rem;
  height: 2.45rem;
  flex: 0 0 auto;
  border-radius: .5rem;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.attendance-photo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.attendance-photo-avatar {
  width: 2.75rem;
  height: 2.75rem;
}

.attendance-photo-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .35rem .7rem;
  border-radius: .5rem;
  background: #f1f5f9;
  color: #64748b;
  font-size: .8rem;
  font-weight: 800;
  white-space: nowrap;
}

.student-name-link {
  color: #24324a;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.student-name-link:hover,
.student-name-link:focus {
  color: #1d4ed8;
}

.student-name-pill {
  display: inline-flex;
  align-items: center;
  max-width: 24rem;
  min-height: 1.65rem;
  padding: .28rem .6rem;
  border-radius: .5rem;
  color: #fff !important;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 1px rgba(15, 23, 42, .28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

body.light-edition .alunos-table td .student-name-pill,
body.light-edition .datatable-table td .student-name-pill {
  color: #fff !important;
}

.datatable-status-token {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  color: transparent;
  font-size: 1px;
  line-height: 1px;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
}

.student-name-stack {
  display: flex;
  flex-direction: column;
  gap: .18rem;
  min-width: 0;
}

.student-subtitle {
  max-width: 22rem;
  color: #64748b;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.student-status-pill,
.professor-status-pill {
  display: inline-flex;
  align-items: center;
  max-width: 24rem;
  min-height: 1.65rem;
  padding: .28rem .6rem;
  border-radius: .5rem;
  color: #fff !important;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 1px rgba(15, 23, 42, .28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

body.light-edition .alunos-table td .student-status-pill,
body.light-edition .alunos-table td .professor-status-pill,
body.light-edition .datatable-table td .student-status-pill,
body.light-edition .datatable-table td .professor-status-pill {
  color: #fff !important;
}

.student-status-pill.recognition-status-neutral {
  background: #eef2f7;
  color: #334155 !important;
  text-shadow: none;
  box-shadow: inset 0 0 0 1px #cbd5e1;
}

body.light-edition .alunos-table td .student-status-pill.recognition-status-neutral,
body.light-edition .datatable-table td .student-status-pill.recognition-status-neutral {
  color: #334155 !important;
}

.modal-dialog.student-photo-dialog {
  width: min(80vw, 22.4rem);
  max-width: calc(100vw - 1.5rem);
  margin: 0;
}

.modal-content.student-photo-content {
  background: #f8fafc;
}

.modal-body.student-photo-body {
  display: block;
  padding: 0;
  background: #fff;
}

.student-photo-body .student-photo-preview {
  display: block;
  width: 100%;
  max-height: min(56vh, 27.2rem);
  border-radius: 0 0 .5rem .5rem;
  background: #fff;
  object-fit: contain;
  box-shadow: none;
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: #334155;
  transition: background-color .15s ease, color .15s ease;
}

.table-action:hover,
.table-action:focus {
  background: #e0e7ff;
  color: #1d4ed8;
}

.table-action-danger:hover,
.table-action-danger:focus {
  background: #fee2e2;
  color: var(--brand-red-dark);
}

.table-action .material-icons {
  font-size: 1.45rem;
}

.alunos-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .1rem;
}

.alunos-pagination {
  min-width: 0;
}

.alunos-total {
  color: #24324a;
  font-weight: 800;
  white-space: nowrap;
}

.list-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-panel {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.list-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.list-title h5 {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 800;
}

.list-status {
  grid-column: 1 / -1;
  order: 3;
}

.list-status:empty {
  display: none;
}

.list-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
}

.list-actions .btn {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
}

.list-actions .material-icons {
  font-size: 1.65rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  flex-wrap: wrap;
}

.form-actions .btn {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  padding: .45rem;
}

.form-control-pessoal + .btn.btn-just-icon,
form .btn.btn-just-icon {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
}

.form-actions .material-icons {
  font-size: 1.65rem;
}

form .btn.btn-just-icon .material-icons {
  font-size: 1.65rem;
}

.aula-disciplina-picker {
  display: flex;
  align-items: stretch;
  gap: .5rem;
}

.aula-disciplina-picker .custom-select {
  flex: 1 1 auto;
  min-width: 0;
}

.aula-disciplina-picker .btn.btn-just-icon {
  flex: 0 0 3rem;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
}

.quick-discipline-professor {
  margin: 0 0 .85rem;
  color: #475569;
  font-weight: 700;
}

.quick-discipline-feedback {
  display: block;
  min-height: 1.25rem;
  margin-top: .45rem;
  color: #64748b;
  font-weight: 800;
}

.quick-discipline-feedback.is-error {
  color: var(--status-inactive);
}

.quick-discipline-feedback.is-success {
  color: var(--status-active);
}

.form-actions .btn b,
.form-actions .btn strong {
  display: none;
}

.form-actions-start {
  justify-content: flex-start;
}

.aluno-form,
.professor-form,
.user-form {
  width: 100%;
}

.aluno-form-header,
.professor-form-header,
.user-form-header {
  align-items: center;
  margin-bottom: 1rem;
}

.aluno-completion-card {
  display: grid;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  border: 1px solid #d8dee8;
  border-radius: .5rem;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
}

.aluno-completion-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.aluno-completion-main strong {
  display: block;
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
}

.aluno-completion-main small {
  display: block;
  margin-top: .15rem;
  color: #64748b;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.35;
}

.aluno-completion-main [data-completion-label] {
  flex: 0 0 auto;
  min-width: 3.6rem;
  color: #344767;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
}

.aluno-completion-track {
  width: 100%;
  height: .45rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.aluno-completion-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ef4444;
  transition: width .25s ease, background-color .25s ease;
}

.aluno-completion-card.is-medium .aluno-completion-track span {
  background: #f59e0b;
}

.aluno-completion-card.is-complete {
  border-color: #22c55e;
  background: #f0fdf4;
}

.aluno-completion-card.is-complete .aluno-completion-track span {
  background: #22c55e;
}

.aluno-completion-card.is-complete [data-completion-label] {
  color: #166534;
}

.aluno-form-body,
.professor-form-body,
.user-form-body {
  width: 100%;
}

.aluno-photo-box,
.professor-photo-box,
.user-photo-box {
  display: flex;
  justify-content: flex-start;
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  min-width: 0;
  padding-top: .35rem;
}

.aluno-photo-box a,
.professor-photo-box a,
.user-photo-box a {
  display: block;
  width: min(100%, 10rem);
}

.aluno-photo-box img,
.professor-photo-box img,
.user-photo-box img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: .5rem;
  background: #fff;
  object-fit: cover;
  object-position: center;
}

.aluno-fields-grid,
.professor-fields-grid,
.user-fields-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .85rem 1rem;
  align-items: end;
  min-width: 0;
  width: 100%;
}

.aluno-form-meta,
.aluno-field,
.professor-field,
.user-field {
  position: relative;
  min-width: 0;
}

.aluno-form-meta {
  grid-column: 3 / -1;
  min-height: 1.5rem;
}

.aluno-form-meta label {
  margin-right: .35rem;
}

.aluno-matricula-value {
  color: var(--text);
  font-weight: 800;
}

.aluno-field label,
.professor-field label,
.user-field label {
  margin-bottom: .4rem;
  color: #344767;
}

.aluno-field .text-muted,
.professor-field .text-muted,
.user-field .text-muted {
  margin-left: .25rem;
  font-weight: 600;
}

.form-field-hint {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.aluno-field input[type="color"].form-control-pessoal {
  min-height: 36px;
  padding: 3px;
  cursor: pointer;
}

.configuracoes-form-stack {
  display: grid;
  gap: 16px;
}

.configuracoes-form-stack .aluno-fields-grid {
  align-items: start;
}

.settings-card-title {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.settings-card-title h6 {
  margin: 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.settings-card-title p {
  margin: 2px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.settings-range-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 10px;
  min-height: 36px;
}

.settings-range-field input[type="range"] {
  width: 100%;
  accent-color: #2563eb;
}

.settings-range-field output {
  color: #344767;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.settings-inline-control {
  margin-top: 10px;
}

.settings-inline-control label {
  margin-bottom: 6px;
}

.settings-checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  margin: 0 0 10px;
  padding: 6px 10px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #f8fafc;
  color: #344767;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.settings-checkbox-field input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #2563eb;
}

.report-logo-setting {
  display: flex;
  align-items: center;
  gap: 16px;
}

.report-logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  min-width: 132px;
  height: 74px;
  padding: 8px;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
}

.report-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.report-logo-control {
  flex: 1;
  min-width: 0;
}

@media (max-width: 640px) {
  .report-logo-setting {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-logo-preview {
    width: 100%;
    min-width: 0;
  }
}

.aluno-field .form-control-pessoal,
.aluno-field .custom-select,
.professor-field .form-control-pessoal,
.professor-field .custom-select,
.user-field .form-control-pessoal,
.user-field .custom-select {
  width: 100%;
}

.aluno-field-nome {
  grid-column: 3 / span 7;
}

.aluno-field-cep {
  grid-column: span 3;
}

.professor-field-nome {
  grid-column: 3 / span 7;
}

.professor-field-cep {
  grid-column: span 3;
}

.professor-field-endereco {
  grid-column: 3 / span 4;
}

.user-field-nome {
  grid-column: 3 / span 5;
}

.user-field-email {
  grid-column: span 5;
}

.aluno-span-1 { grid-column: span 1; }
.aluno-span-2 { grid-column: span 2; }
.aluno-span-3 { grid-column: span 3; }
.aluno-span-4 { grid-column: span 4; }
.aluno-span-5 { grid-column: span 5; }
.aluno-span-6 { grid-column: span 6; }
.aluno-span-7 { grid-column: span 7; }
.aluno-span-8 { grid-column: span 8; }
.aluno-span-9 { grid-column: span 9; }
.aluno-span-10 { grid-column: span 10; }
.aluno-span-11 { grid-column: span 11; }
.aluno-span-12 { grid-column: span 12; }

.aluno-documents-section {
  padding-top: .25rem;
}

.aluno-documents-header {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .65rem;
}

.aluno-documents-header strong {
  color: var(--text);
  font-size: .9rem;
  font-weight: 800;
}

.aluno-documents-header small {
  color: #64748b;
  font-size: .78rem;
  font-weight: 600;
}

.aluno-documents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.aluno-document-upload {
  position: relative;
  display: grid;
  align-content: center;
  gap: .25rem;
  min-width: 0;
  min-height: 3.35rem;
  padding: .4rem .5rem;
  border: 1px solid #d8dee8;
  border-radius: .5rem;
  background: #f8fafc;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.aluno-document-upload.is-loading {
  border-color: #86efac;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .12);
}

.aluno-document-upload.is-loaded {
  border-color: #22c55e;
  background: #dcfce7;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .16);
}

.aluno-document-upload.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.aluno-document-upload input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.aluno-document-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem;
  flex: 0 0 auto;
  width: 100%;
  min-height: 2.25rem;
  padding: 0 .75rem;
  border: 1px solid #cfd8e5;
  border-radius: .45rem;
  background: #fff;
  color: #344767;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.aluno-document-button span {
  padding: .1rem .3rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #991b1b;
  font-size: .62rem;
  line-height: 1.1;
}

.aluno-document-button:hover,
.aluno-document-button:focus {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
  outline: none;
}

.aluno-document-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
}

.aluno-document-upload small {
  color: #64748b;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.aluno-document-upload small:empty {
  display: none;
}

.aluno-document-main-row {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.aluno-document-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 auto;
  gap: .35rem;
  min-width: 0;
  min-height: 1.15rem;
}

.aluno-document-file-row:has(small:empty):not(:has(.aluno-document-delete)) {
  display: none;
}

.aluno-document-file-row small {
  min-width: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aluno-document-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: .35rem;
  background: #fee2e2;
  color: #dc2626;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.aluno-document-delete:hover,
.aluno-document-delete:focus {
  background: #fecaca;
  color: #b91c1c;
  outline: none;
  transform: translateY(-1px);
}

.aluno-document-delete .material-icons {
  color: inherit;
  font-size: .95rem;
}

.aluno-document-upload.is-loaded small {
  color: #166534;
}

.aluno-document-upload.is-invalid small {
  color: #b91c1c;
}

.aluno-document-progress {
  display: none;
  width: 100%;
  height: .35rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .32);
}

.aluno-document-upload.is-loading .aluno-document-progress {
  display: block;
}

.aluno-document-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #22c55e;
  transition: width .18s ease;
}

.professor-span-1 { grid-column: span 1; }
.professor-span-2 { grid-column: span 2; }
.professor-span-3 { grid-column: span 3; }
.professor-span-4 { grid-column: span 4; }
.professor-span-5 { grid-column: span 5; }
.professor-span-6 { grid-column: span 6; }
.professor-span-7 { grid-column: span 7; }
.professor-span-8 { grid-column: span 8; }
.professor-span-9 { grid-column: span 9; }
.professor-span-10 { grid-column: span 10; }
.professor-span-11 { grid-column: span 11; }
.professor-span-12 { grid-column: span 12; }

.user-span-1 { grid-column: span 1; }
.user-span-2 { grid-column: span 2; }
.user-span-3 { grid-column: span 3; }
.user-span-4 { grid-column: span 4; }
.user-span-5 { grid-column: span 5; }
.user-span-6 { grid-column: span 6; }
.user-span-7 { grid-column: span 7; }
.user-span-8 { grid-column: span 8; }
.user-span-9 { grid-column: span 9; }
.user-span-10 { grid-column: span 10; }
.user-span-11 { grid-column: span 11; }
.user-span-12 { grid-column: span 12; }

.user-password-field {
  position: relative;
}

.user-password-field .form-control-pessoal {
  padding-right: 2.7rem;
}

.user-password-toggle {
  position: absolute;
  right: .8rem;
  bottom: .55rem;
  color: #64748b;
  font-size: 1.45rem;
  cursor: pointer;
}

.user-password-status {
  display: block;
  min-height: 1rem;
  margin-top: .35rem;
  color: #64748b;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}

.user-password-status.is-valid {
  color: #15803d;
}

.user-password-status.is-invalid {
  color: #b91c1c;
}

.user-password-status.is-loading {
  color: #92400e;
}

.user-password-change {
  display: grid;
  grid-column: 1 / -1;
  gap: .75rem;
  margin-top: .25rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #f8fafc;
}

.user-password-change-title {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text);
  font-size: .88rem;
  font-weight: 800;
}

.user-password-change-title .material-icons {
  color: var(--active-menu);
  font-size: 1.2rem;
}

.user-password-change-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .85rem 1rem;
  align-items: start;
}

.user-password-change .user-field {
  display: grid;
  align-content: start;
}

.user-password-change .form-control-pessoal {
  min-height: 2.55rem;
}

.user-password-change .user-password-toggle {
  top: calc(1.7rem + 1.275rem);
  bottom: auto;
  transform: translateY(-50%);
}

.user-permissions {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #fff;
}

.user-permissions > label {
  margin-bottom: .75rem;
  color: #344767;
  font-weight: 800;
}

.user-permission-group {
  padding: .75rem 0;
  border-top: 1px solid var(--line);
}

.user-permission-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.user-permission-group h6 {
  margin: 0 0 .6rem;
  color: #111827;
  font-size: .86rem;
  font-weight: 800;
}

.user-permissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: .65rem 1rem;
}

.user-permissions-grid label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  color: #344767;
  font-size: .86rem;
}

.user-permission-action {
  display: inline-flex;
  align-items: center;
  min-width: 4.2rem;
  color: #1f2937;
  font-weight: 800;
}

.user-permissions-grid input {
  width: 1rem;
  height: 1rem;
}

.user-permissions-grid input:disabled {
  cursor: not-allowed;
  opacity: .65;
}

.user-permissions-grid label:has(input:disabled) {
  color: #64748b;
}

.professor-disciplina-form {
  margin-top: 1.25rem;
}

.professor-disciplina-panel {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
}

.professor-disciplina-panel > label {
  margin-bottom: .45rem;
  color: #344767;
  font-weight: 800;
}

.professor-discipline-tools {
  display: flex;
  align-items: stretch;
  gap: .65rem;
}

.professor-discipline-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.professor-discipline-quick-add.btn.btn-just-icon {
  flex: 0 0 3.35rem;
  width: 3.35rem;
  min-width: 3.35rem;
  height: 3.35rem;
  margin: 0;
  border-radius: .45rem;
}

.professor-discipline-search-input {
  width: 100%;
  min-height: 3.35rem;
  padding: .65rem 3.1rem .65rem 1rem;
  border: 2px solid #cbd5e1;
  border-radius: .45rem;
  background: #fff;
  color: #24324a;
  font-size: 1rem;
  font-weight: 700;
  outline: 0;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.professor-discipline-search-input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.professor-discipline-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
}

.professor-discipline-toggle {
  position: absolute;
  top: 50%;
  right: .55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  transform: translateY(-50%);
  cursor: pointer;
}

.professor-discipline-toggle:hover {
  background: #f1f5f9;
  color: #24324a;
}

.professor-discipline-results {
  position: absolute;
  z-index: 30;
  top: calc(100% + .35rem);
  left: 0;
  right: 0;
  display: none;
  max-height: 16rem;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: .45rem;
  background: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .18);
}

.professor-discipline-results.is-open {
  display: block;
}

.professor-discipline-option,
.professor-discipline-empty {
  display: block;
  width: 100%;
  padding: .75rem 1rem;
  border: 0;
  background: #fff;
  color: #344767;
  font-size: .95rem;
  font-weight: 700;
  text-align: left;
}

.professor-discipline-option {
  cursor: pointer;
}

.professor-discipline-option:hover,
.professor-discipline-option:focus {
  background: #eff6ff;
  color: #1d4ed8;
  outline: 0;
}

.professor-discipline-empty {
  color: #94a3b8;
}

.professor-discipline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  min-height: 2.05rem;
  margin-top: .85rem;
}

.professor-discipline-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: 100%;
  padding: .38rem .38rem .38rem .8rem;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.professor-discipline-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  text-decoration: none;
  transition: background .16s ease, color .16s ease;
}

.professor-discipline-chip-remove:hover,
.professor-discipline-chip-remove:focus {
  background: #fee2e2;
  color: #dc2626;
  text-decoration: none;
}

.professor-discipline-chip-remove .material-icons {
  font-size: 1rem;
  line-height: 1;
}

.frequencia-edit-form {
  width: 100%;
}

.frequencia-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.frequencia-edit-header h5 {
  margin: 0;
  color: #24324a;
}

.frequencia-launch-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.frequencia-aula-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.25rem;
  background: linear-gradient(135deg, var(--status-active), #15803d);
  color: #fff;
}

.frequencia-aula-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .18);
}

.frequencia-aula-icon .material-icons {
  font-size: 1.9rem;
}

.frequencia-label {
  display: block;
  margin-bottom: .25rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.frequencia-aula-info .frequencia-label {
  color: rgba(255, 255, 255, .85);
}

.frequencia-aula-info strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.frequencia-launch-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-width: 14rem;
  padding: 1.25rem;
  border-left: 1px solid var(--line);
  background: #f8fafc;
}

.frequencia-launch-actions .frequencia-label {
  color: #344767;
  text-align: center;
}

.frequencia-launch-actions .form-actions {
  gap: .65rem;
  justify-content: center;
}

.frequencia-launch-buttons {
  width: 100%;
}

.frequencia-launch-actions .frequencia-action-btn {
  width: auto;
  min-width: 7.75rem;
  height: 3.25rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.frequencia-launch-actions .frequencia-action-btn .material-icons {
  font-size: 1.45rem;
}

.frequencia-launch-actions .frequencia-action-btn span {
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
}

.list-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .85rem;
  align-items: end;
}

.list-field-sm {
  min-width: 8rem;
}

.list-field-lg {
  grid-column: span 2;
}

.list-field label {
  margin-bottom: .4rem;
  color: #344767;
}

.list-table-wrap {
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #fff;
}

.list-table {
  margin: 0;
}

.list-table th {
  padding: .85rem .9rem;
  color: #344767;
  font-size: .75rem;
  background: #f1f5f9;
  white-space: nowrap;
}

.list-table td {
  padding: .85rem .9rem;
  color: #344767;
  font-size: .95rem;
}

.list-table tbody tr {
  transition: background-color .15s ease;
}

.list-table tbody tr:hover {
  background: #f8fafc;
}

.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .1rem;
}

.list-pagination {
  min-width: 0;
}

.list-total {
  color: #24324a;
  font-weight: 800;
  white-space: nowrap;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: .35rem .65rem;
  border: 1px solid #c084fc;
  border-radius: .4rem;
  background: #faf5ff;
  color: #7e22ce;
  font-weight: 700;
}

.page-link:hover {
  border-color: #a855f7;
  background: #f3e8ff;
  color: #6b21a8;
}

.page-item.active .page-link {
  border-color: #9333ea;
  background: #9333ea;
  color: #fff;
}

body.light-edition .table .text-light,
body.light-edition .table td,
body.light-edition .table td span,
body.light-edition .table thead .text-light,
body.light-edition .titulo-tabela .text-light {
  color: #344767 !important;
}

body.light-edition .dashboard-stat-card .table,
body.light-edition .dashboard-stat-card .table th,
body.light-edition .dashboard-stat-card .table td,
body.light-edition .dashboard-stat-card .table .text-light,
body.light-edition .dashboard-stat-card .table td span {
  color: #fff !important;
}

body.light-edition .dashboard-stat-card .dashboard-stat-table th {
  background: rgba(255, 255, 255, .9);
  color: #24324a !important;
}

body.light-edition .dashboard-stat-card .dashboard-stat-table td {
  color: #fff !important;
}

.form-control,
.form-control-pessoal,
.custom-select {
  display: block;
  width: 100%;
  min-height: 2.45rem;
  padding: .5rem .7rem;
  border: 1px solid #cbd5e1;
  border-radius: .45rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-control:focus,
.form-control-pessoal:focus,
.custom-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

label {
  display: inline-block;
  margin-bottom: .35rem;
  color: #475569;
  font-size: .84rem;
  font-weight: 700;
}

body.public-page label,
body.update-aluno-page label {
  color: #e5e7eb;
}

body.public-page .card label,
body.update-aluno-page .card label,
.modal label {
  color: #475569;
}

.form-group {
  margin-bottom: 1rem;
}

.input-group {
  display: flex;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.input-group .form-control,
.input-group .form-control-pessoal {
  flex: 1 1 auto;
  min-width: 0;
  width: 1%;
  border-radius: .45rem 0 0 .45rem;
}

.input-group .btn {
  border-radius: 0 .45rem .45rem 0;
}

.input-group-prepend {
  display: inline-flex;
  align-items: stretch;
}

.input-group-prepend {
  min-height: 2.45rem;
  padding: .5rem .7rem;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: .45rem 0 0 .45rem;
  background: #e2e8f0;
  color: var(--text);
  font-weight: 700;
}

.input-group-prepend > span {
  display: inline-flex;
  align-items: center;
}

.input-group-prepend + .form-control,
.input-group-prepend + .form-control-pessoal {
  border-radius: 0 .45rem .45rem 0;
}

.no-border .form-control,
.no-border .form-control-pessoal {
  border-color: transparent;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, .55);
}

.modal.show {
  display: flex;
}

.modal-dialog {
  width: min(100%, 480px);
}

.modal-content {
  overflow: hidden;
  border-radius: .6rem;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.modal-title {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.modal-body {
  padding: 1rem;
}

.close {
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 1.5rem;
  cursor: pointer;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  color: #fff;
  background: #e5e7eb;
}

.avatar-lg {
  width: 58px !important;
  height: 58px !important;
}

.avatar-sm {
  width: 36px !important;
  height: 36px !important;
  font-size: .875rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.me-3 {
  margin-right: 1rem !important;
}

.border-radius-lg {
  border-radius: .75rem !important;
}

h7,
.h7 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.font-weight-bold { font-weight: 700 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-light { font-weight: 300 !important; }
.text-sm { font-size: .875rem !important; }
.text-xs { font-size: .75rem !important; }
.text-lg { font-size: 1.125rem !important; }
.h2 { font-size: 1.5rem !important; }
.h3 { font-size: 1.25rem !important; }
.h5 { font-size: 1rem !important; }

h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: .35rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: .85rem; }

.badge h6 {
  margin: 0;
  color: inherit;
  font-size: .7rem;
  line-height: 1.1;
}

.footer {
  padding: 1rem 0;
  color: #94a3b8;
}

.stats {
  font-size: .82rem;
}

.error,
.item-error {
  border-color: #dc2626 !important;
  background-color: #fff1f2;
}

.label-error {
  position: absolute;
  top: .05rem;
  right: 0;
  z-index: 5;
  max-width: min(100%, 15rem);
  margin: 0;
  color: #991b1b;
  pointer-events: none;
}

.label-error .badge {
  display: block;
  overflow: hidden;
  max-width: 100%;
  padding: .25rem .5rem;
  border-radius: .4rem;
  box-shadow: 0 8px 18px rgba(220, 38, 38, .18);
  font-size: .68rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esconde {
  visibility: hidden;
}

.col-data { width: 17%; }
.col-cep { width: 16%; }
.col-cpf { width: 17%; }
.col-turma { width: 22%; }
.col-obs { width: 50%; }
.colfoto { width: 11.2%; display: flex; align-items: center; }
.col-nomeAl { width: 82%; }
.col-endProf { width: 52%; }
.col-funcao { width: 25%; }
.col-emailProf { width: 47%; }
.colfotoUser { width: 70%; }
.colfotoFreq { width: 100%; }
.col-nomeProf { width: 84.002%; }
.pt-fotoProf { padding-top: 1rem !important; }
.freqGeralMobile { display: none; }
.freqGeralDesktop { display: inline; }

.borda,
.borda1 {
  border: 1px solid #2563eb;
}

/* Corporate UI refresh: dense SaaS layout */
:root {
  --sidebar-width: 248px;
  --mobile-sidebar-width: min(18rem, 72vw);
  --brand-red: #cf222e;
  --brand-red-dark: #a40e26;
  --status-active: #1a7f37;
  --status-inactive: #cf222e;
  --active-menu: #0969da;
  --active-menu-dark: #0550ae;
  --surface: #ffffff;
  --page: #f6f8fa;
  --text: #24292f;
  --muted: #57606a;
  --line: #d0d7de;
  --line-soft: #eaeef2;
  --shadow-soft: 0 1px 2px rgba(27, 31, 36, .06), 0 8px 24px rgba(140, 149, 159, .12);
}

body.light-edition,
body.public-page,
body.update-aluno-page {
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

body.light-edition {
  background: var(--page);
}

.container-fluid {
  max-width: 1440px;
}

.content {
  padding: 4.5rem 1rem 1.5rem;
}

.navbar {
  min-height: 56px;
  background: rgba(246, 248, 250, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.navbar > .container-fluid {
  min-height: 56px;
  gap: 12px;
  padding: 0 16px;
}

.navbar-title {
  gap: 8px;
}

.navbar-brand p {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.painel-navbar-actions {
  gap: 8px;
}

.notification {
  min-width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
}

.sidebar {
  border-right: 1px solid var(--line);
  box-shadow: none;
}

.sidebar .logo {
  min-height: auto;
  padding: 8px;
}

.sidebar-user-card {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
}

.sidebar-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 8px;
}

.sidebar-user-name {
  font-size: 1.0rem;
  line-height: 1.12;
}

.sidebar-user-actions {
  gap: 6px;
  margin-top: 4px;
  padding-left: 0;
}

.sidebar-logout {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.sidebar-wrapper {
  padding: 8px;
}

.nav-item {
  margin-bottom: 2px;
}

.nav-link {
  min-height: 36px;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-link i {
  width: 20px;
  color: #6e7781;
  font-size: 20px;
  text-align: center;
}

.nav-link:hover,
.dropdown-menu a:hover {
  background: #f3f4f6;
  color: var(--text);
}

.nav-item.active > .nav-link {
  background: #ddf4ff;
  color: var(--active-menu) !important;
  box-shadow: inset 3px 0 0 var(--active-menu);
}

.nav-item.active > .nav-link i,
.nav-item.active > .nav-link p {
  color: var(--active-menu) !important;
}

.nav-item.active > .nav-link:hover,
.nav-item.active > .nav-link:focus {
  background: #ddf4ff;
  color: var(--active-menu-dark) !important;
}

.dropdown-menu {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.dropdown-item,
.dropdown-menu .nav-link {
  min-height: 32px;
  padding: 6px 8px;
  font-size: 13px;
}

.card,
.alunos-table-wrap,
.alunos-datatable-panel,
.list-table-wrap,
.professor-disciplina-panel,
.modal-content,
.frequencia-launch-card {
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
}

.card-body,
.card-header,
.modal-body {
  padding: 16px;
}

.modal-header,
.modal-footer {
  padding: 12px 16px;
}

h4,
.h4 {
  font-size: 18px;
  font-weight: 600;
}

h5,
.h5,
.alunos-title h5,
.list-title h5,
.card-title h5,
.aluno-form-header h5,
.professor-form-header h5,
.user-form-header h5 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

h6,
.h6 {
  font-size: 13px;
  font-weight: 600;
}

label,
.aluno-field label,
.professor-field label,
.user-field label,
.alunos-field label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.text-muted,
.text-secondary {
  color: var(--muted) !important;
}

.btn {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: none;
  transform: none;
}

.btn:hover {
  box-shadow: none;
  transform: none;
  filter: brightness(.97);
}

.btn-round {
  border-radius: 8px;
}

.btn-just-icon,
.form-actions .btn,
.alunos-actions .btn,
.list-actions .btn,
.form-control-pessoal + .btn.btn-just-icon,
form .btn.btn-just-icon,
.aula-disciplina-picker .btn.btn-just-icon,
.professor-discipline-quick-add.btn.btn-just-icon {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 8px;
}

.btn .material-icons,
.form-actions .material-icons,
form .btn.btn-just-icon .material-icons,
.alunos-actions .material-icons,
.list-actions .material-icons {
  font-size: 20px;
  line-height: 1;
}

.btn-success {
  background: #1f883d;
}

.btn-danger {
  background: #cf222e;
}

.btn-warning,
.bg-gradient-warning {
  background: #bf8700;
}

.btn-info,
.btn-primary,
.btn-facebook {
  background: var(--active-menu);
}

.btn-default {
  background: #6e7781;
}

.form-control,
.form-control-pessoal,
.custom-select,
.professor-discipline-search-input,
.alunos-datatable-panel .datatable-selector,
.alunos-datatable-panel .datatable-input {
  min-height: 36px;
  padding: 7px 12px;
  border-color: var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.custom-select,
.alunos-datatable-panel .datatable-selector {
  padding-right: 32px;
}

.form-control:focus,
.form-control-pessoal:focus,
.custom-select:focus,
.professor-discipline-search-input:focus,
.alunos-datatable-panel .datatable-input:focus,
.alunos-datatable-panel .datatable-selector:focus {
  border-color: var(--active-menu);
  box-shadow: 0 0 0 3px rgba(9, 105, 218, .12);
}

.aluno-fields-grid,
.professor-fields-grid,
.user-fields-grid {
  gap: 12px 16px;
}

.aluno-form-header,
.professor-form-header,
.user-form-header {
  margin-bottom: 16px;
}

.aluno-photo-box a,
.professor-photo-box a,
.user-photo-box a {
  width: min(100%, 8rem);
}

.aluno-photo-box img,
.professor-photo-box img,
.user-photo-box img,
.student-avatar,
.attendance-photo-avatar {
  border-radius: 8px;
}

.table,
.alunos-table,
.list-table,
.alunos-datatable-panel .datatable-table {
  font-size: 13px;
}

.table th,
.table td,
.alunos-table th,
.alunos-table td,
.list-table th,
.list-table td,
.alunos-datatable-panel .datatable-table th,
.alunos-datatable-panel .datatable-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.45;
}

.table th,
.alunos-table th,
.list-table th,
.alunos-datatable-panel .datatable-table th {
  background: #f6f8fa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.table-striped tbody tr:nth-child(even) {
  background: transparent;
}

.table-hover tbody tr:hover,
.table tbody tr:hover,
.alunos-table tbody tr:hover,
.list-table tbody tr:hover,
.alunos-datatable-panel .datatable-table tbody tr:hover {
  background: #f6f8fa;
}

.alunos-page,
.list-page {
  gap: 12px;
}

.alunos-panel,
.list-panel {
  padding-bottom: 12px;
}

.alunos-toolbar,
.list-toolbar {
  gap: 8px 12px;
  margin-bottom: 0;
}

.alunos-actions,
.list-actions,
.form-actions {
  gap: 8px;
}

.alunos-datatable-panel .datatable-top,
.alunos-datatable-panel .datatable-bottom {
  gap: 8px 12px;
  padding: 8px 12px;
}

.alunos-datatable-panel .datatable-search {
  flex: 1 1 24rem;
  max-width: 52rem;
}

.alunos-datatable-panel .datatable-dropdown label {
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.alunos-datatable-panel .datatable-table caption {
  padding: 8px 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.alunos-datatable-panel .datatable-info {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.alunos-datatable-panel .datatable-pagination a,
.alunos-datatable-panel .datatable-pagination button,
.page-link {
  min-width: 28px;
  min-height: 28px;
  padding: 4px 8px;
  border-color: var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.alunos-datatable-panel .datatable-pagination a:hover,
.alunos-datatable-panel .datatable-pagination button:hover,
.page-link:hover {
  border-color: #8c959f;
  background: #f6f8fa;
  color: var(--text);
}

.alunos-datatable-panel .datatable-pagination .datatable-active a,
.alunos-datatable-panel .datatable-pagination .datatable-active button,
.alunos-datatable-panel .datatable-pagination .active a,
.alunos-datatable-panel .datatable-pagination .active button,
.page-item.active .page-link {
  border-color: var(--active-menu);
  background: var(--active-menu);
  color: #fff;
}

.student-cell {
  gap: 8px;
  min-width: 17rem;
}

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

.student-name-link {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.student-subtitle {
  font-size: 12px;
  font-weight: 500;
}

.student-status-pill,
.professor-status-pill,
.student-name-pill,
.badge {
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.table-action {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.table-action .material-icons {
  font-size: 20px;
}

.dashboard-grid {
  gap: 12px;
}

.dashboard-stat-card {
  align-items: center;
  gap: 12px;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid #bf8700;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
}

.dashboard-stat-warning,
.dashboard-stat-success,
.dashboard-stat-danger,
.dashboard-stat-info,
.dashboard-stat-neutral,
.dashboard-stat-primary {
  background: #fff;
}

.dashboard-stat-success {
  border-top-color: var(--status-active);
}

.dashboard-stat-danger {
  border-top-color: var(--status-inactive);
}

.dashboard-stat-info {
  border-top-color: var(--active-menu);
}

.dashboard-stat-neutral {
  border-top-color: var(--muted);
}

.dashboard-stat-primary {
  border-top-color: #0f766e;
}

.dashboard-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f6f8fa;
  color: var(--muted);
}

.dashboard-stat-icon i {
  font-size: 22px;
}

.dashboard-stat-content h3 {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

body.light-edition .dashboard-stat-card .table,
body.light-edition .dashboard-stat-card .table th,
body.light-edition .dashboard-stat-card .table td,
body.light-edition .dashboard-stat-card .table .text-light,
body.light-edition .dashboard-stat-card .table td span,
body.light-edition .dashboard-stat-card .dashboard-stat-table td {
  color: var(--text) !important;
}

body.light-edition .dashboard-stat-card .dashboard-stat-table th,
.dashboard-stat-table th {
  background: #f6f8fa;
  color: var(--muted) !important;
}

.dashboard-stat-table th,
.dashboard-stat-table td {
  padding: 6px 8px;
  border-color: var(--line-soft);
  font-size: 13px;
}

.professor-discipline-tools {
  gap: 8px;
}

.professor-discipline-quick-add.btn.btn-just-icon {
  flex-basis: 36px;
}

.professor-discipline-search-input {
  padding-right: 36px;
}

.professor-discipline-chip {
  padding: 4px 4px 4px 8px;
  border-color: var(--line);
  border-radius: 999px;
  background: #f6f8fa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.professor-discipline-chip-remove {
  width: 20px;
  height: 20px;
}

.work-form-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-shell-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.form-shell-title {
  min-width: 0;
}

.form-shell-title h5 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.form-status {
  margin-top: 6px;
}

.form-status:empty {
  display: none;
}

.form-shell-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
}

.aula-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: end;
}

.aula-field {
  min-width: 0;
}

.aula-field textarea {
  min-height: 72px;
  resize: vertical;
}

.aula-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.aula-section-title::after {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line-soft);
  content: "";
}

.aula-span-1 { grid-column: span 1; }
.aula-span-2 { grid-column: span 2; }
.aula-span-3 { grid-column: span 3; }
.aula-span-4 { grid-column: span 4; }
.aula-span-5 { grid-column: span 5; }
.aula-span-6 { grid-column: span 6; }
.aula-span-7 { grid-column: span 7; }
.aula-span-8 { grid-column: span 8; }
.aula-span-9 { grid-column: span 9; }
.aula-span-10 { grid-column: span 10; }
.aula-span-11 { grid-column: span 11; }
.aula-span-12 { grid-column: span 12; }

.frequencia-choice-page {
  max-width: 1120px;
}

.frequencia-context-card {
  display: grid;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--active-menu);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04);
}

.frequencia-context-card span,
.frequencia-choice-header span,
.frequencia-choice-text span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.frequencia-context-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.frequencia-choice-header {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.frequencia-choice-header h6 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.frequencia-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.frequencia-choice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
  box-shadow: none;
  transition: border-color .15s ease, background-color .15s ease;
}

.frequencia-choice-card:hover,
.frequencia-choice-card:focus {
  border-color: var(--active-menu);
  background: #f6f8fa;
  color: var(--text);
}

.frequencia-choice-button {
  width: 100%;
  cursor: pointer;
}

.frequencia-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ddf4ff;
  color: var(--active-menu);
}

.frequencia-choice-icon .material-icons {
  font-size: 22px;
}

.frequencia-choice-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.frequencia-choice-text strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.frequencia-choice-text small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.frequencias-open-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.frequencias-open-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.frequencias-general-panel,
.frequencias-open-panel {
  min-width: 0;
}

.frequencias-general-panel[hidden] {
  display: none !important;
}

.frequencias-general-card {
  min-height: 108px;
}

.frequencias-open-list {
  display: grid;
  gap: 8px;
}

.frequencia-aula-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 60px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}

.frequencia-aula-card:hover,
.frequencia-aula-card:focus {
  border-color: var(--active-menu);
  background: #f6f8fa;
  color: var(--text);
  text-decoration: none;
}

.frequencia-aula-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #dcfce7;
  color: #16a34a;
}

.frequencia-aula-icon .material-icons {
  font-size: 21px;
}

.frequencia-aula-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.frequencia-aula-text span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.frequencia-aula-text strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.frequencia-aula-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

.frequencia-aula-meta:empty {
  display: none;
}

.frequencia-context-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.frequencia-individual-page {
  max-width: 1120px;
}

.frequencia-confirm-card {
  padding: 0;
  overflow: hidden;
}

.frequencia-confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #f6f8fa;
}

.frequencia-confirm-header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.frequencia-confirm-header h6 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.frequencia-confirm-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.frequencia-confirm-photo {
  width: 112px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8fa;
}

.frequencia-confirm-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.frequencia-confirm-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.frequencia-confirm-details div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.frequencia-confirm-details dt {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.frequencia-confirm-details dd {
  min-height: 22px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.frequencia-confirm-actions {
  display: flex;
  justify-content: flex-end;
}

.frequencia-confirm-actions .btn {
  gap: 8px;
}

.frequencia-confirm-actions .material-icons {
  font-size: 20px;
}

.qr-page {
  display: grid;
  gap: 16px;
  width: min(100%, 1120px);
  min-height: calc(100vh - 32px);
  margin: 0 auto;
  padding: 24px 16px;
  color: var(--text);
}

.qr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.qr-title-block {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.qr-title-block span,
.qr-reader-heading span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.qr-title-block h1 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.qr-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.qr-back-button .material-icons {
  font-size: 20px;
}

.qr-reader-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 31, 36, .04), 0 12px 30px rgba(140, 149, 159, .12);
}

.qr-reader-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.qr-reader-heading h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.qr-reader-heading > .material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #ddf4ff;
  color: var(--active-menu);
  font-size: 22px;
}

.qr-reader-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 520px;
}

.qr-tool-button,
.qr-retry-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.qr-tool-button:hover,
.qr-tool-button:focus,
.qr-retry-button:hover,
.qr-retry-button:focus {
  border-color: #0969da;
  background: #eef6ff;
  color: #0550ae;
  outline: none;
}

.qr-tool-button[aria-pressed="true"] {
  border-color: #d97706;
  background: #fef3c7;
  color: #92400e;
}

.qr-tool-button .material-icons,
.qr-retry-button .material-icons {
  font-size: 18px;
}

.qr-camera-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid #eaeef2;
  border-radius: 7px;
  background: #f6f8fa;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.qr-reader {
  width: min(100%, 520px) !important;
  height: clamp(330px, 42vh, 400px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f172a;
}

.qr-reader video,
.qr-reader canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
  object-fit: cover;
}

.qr-result {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.qr-result:not(:empty),
#reader[hidden] + .qr-result {
  min-height: min(46vh, 460px);
  padding: 16px 0;
}

.qr-feedback {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 520px);
  padding: 12px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.qr-result:not(:empty) .qr-feedback,
#reader[hidden] + .qr-result .qr-feedback {
  gap: 28px;
  width: min(100%, 900px);
  min-height: clamp(280px, 40vh, 460px);
  padding: 32px;
  border-left-width: 8px;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(27, 31, 36, .14);
}

.qr-feedback > .material-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 20px;
}

.qr-result:not(:empty) .qr-feedback > .material-icons,
#reader[hidden] + .qr-result .qr-feedback > .material-icons {
  flex-basis: 96px;
  width: 96px;
  height: 96px;
  border-radius: 18px;
  font-size: 48px;
}

.qr-feedback-content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.qr-result:not(:empty) .qr-feedback-content,
#reader[hidden] + .qr-result .qr-feedback-content {
  gap: 10px;
}

.qr-feedback-content strong,
.qr-student-data strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.qr-result:not(:empty) .qr-feedback-content strong,
.qr-result:not(:empty) .qr-student-data strong,
#reader[hidden] + .qr-result .qr-feedback-content strong,
#reader[hidden] + .qr-result .qr-student-data strong {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
}

.qr-feedback-content span,
.qr-student-data span,
.qr-student-data p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.qr-result:not(:empty) .qr-feedback-content span,
.qr-result:not(:empty) .qr-student-data span,
.qr-result:not(:empty) .qr-student-data p,
#reader[hidden] + .qr-result .qr-feedback-content span,
#reader[hidden] + .qr-result .qr-student-data span,
#reader[hidden] + .qr-result .qr-student-data p {
  color: var(--text);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.28;
}

.qr-feedback-success {
  border-color: #00a63e;
  border-left-color: #00c853;
  background: linear-gradient(135deg, #00e676 0%, #69f0ae 100%);
  box-shadow: 0 18px 52px rgba(0, 200, 83, .28);
}

.qr-feedback-success > .material-icons {
  background: #008a2e;
  color: #fff;
}

.qr-feedback-warning {
  border-color: #f59e0b;
  border-left-color: #ffb300;
  background: linear-gradient(135deg, #ffea00 0%, #ffd54f 100%);
  box-shadow: 0 18px 52px rgba(245, 158, 11, .28);
}

.qr-feedback-warning > .material-icons {
  background: #f57c00;
  color: #fff;
}

.qr-feedback-danger {
  border-color: #d50000;
  border-left-color: #ff1744;
  background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
  color: #fff;
  box-shadow: 0 18px 52px rgba(213, 0, 0, .32);
}

.qr-feedback-danger > .material-icons {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.qr-feedback-info {
  border-color: #54aeef;
  border-left-color: #0969da;
  background: linear-gradient(135deg, #ddf4ff 0%, #b6e3ff 100%);
  box-shadow: 0 18px 52px rgba(9, 105, 218, .18);
}

.qr-feedback-info > .material-icons {
  background: #0969da;
  color: #fff;
}

.qr-feedback-success .qr-feedback-content strong,
.qr-feedback-success .qr-student-data strong,
.qr-feedback-success .qr-feedback-content span,
.qr-feedback-success .qr-student-data span,
.qr-feedback-success .qr-student-data p {
  color: #063b1a !important;
}

.qr-feedback-warning .qr-feedback-content strong,
.qr-feedback-warning .qr-student-data strong,
.qr-feedback-warning .qr-feedback-content span,
.qr-feedback-warning .qr-student-data span,
.qr-feedback-warning .qr-student-data p {
  color: #3d2700 !important;
}

.qr-feedback-danger .qr-feedback-content strong,
.qr-feedback-danger .qr-student-data strong,
.qr-feedback-danger .qr-feedback-content span,
.qr-feedback-danger .qr-student-data span,
.qr-feedback-danger .qr-student-data p {
  color: #fff !important;
}

.qr-feedback-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.qr-student-result {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.qr-result:not(:empty) .qr-student-result,
#reader[hidden] + .qr-result .qr-student-result {
  gap: 28px;
}

.qr-student-photo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-result:not(:empty) .qr-student-photo,
#reader[hidden] + .qr-result .qr-student-photo {
  flex-basis: 128px;
  width: 128px;
  height: 128px;
  border-radius: 16px;
}

.qr-student-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.qr-student-data {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.qr-result:not(:empty) .qr-student-data,
#reader[hidden] + .qr-result .qr-student-data {
  gap: 8px;
}

.qr-confirmation {
  align-items: center;
  border-color: #0ea5e9;
  border-left-color: #2563eb;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  box-shadow: 0 18px 52px rgba(37, 99, 235, .32);
}

.qr-confirmation .qr-student-data strong,
.qr-confirmation .qr-student-data span,
.qr-confirmation .qr-student-data p {
  color: #fff !important;
}

.qr-confirmation .qr-student-photo {
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}

.qr-confirm-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 12px;
}

.qr-confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
}

.qr-confirm-button .material-icons {
  font-size: 24px;
}

.qr-confirm-button:focus,
.qr-confirm-button:focus-visible {
  outline: 5px solid rgba(255, 255, 255, .9);
  outline-offset: 4px;
  box-shadow: 0 0 0 9px rgba(6, 182, 212, .38), 0 14px 34px rgba(15, 23, 42, .28);
  filter: brightness(1.08);
}

.qr-confirm-secondary:focus,
.qr-confirm-secondary:focus-visible {
  box-shadow: 0 0 0 9px rgba(107, 114, 128, .35), 0 14px 34px rgba(15, 23, 42, .28);
}

.qr-timer {
  flex: 0 0 96px;
  width: 96px;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid rgba(27, 31, 36, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.qr-result:not(:empty) .qr-timer,
#reader[hidden] + .qr-result .qr-timer {
  flex-basis: 160px;
  width: 160px;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 20px;
}

.qr-footer {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.qr-footer span,
.qr-footer small {
  display: block;
}

.qr-footer small {
  margin-top: 2px;
}

@media (max-width: 1023px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aluno-photo-box,
  .professor-photo-box,
  .user-photo-box {
    align-items: flex-start;
  }

  .aluno-photo-box a,
  .professor-photo-box a,
  .user-photo-box a {
    width: 8rem;
  }

  .alunos-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-field-lg {
    grid-column: span 1;
  }

  .sidebar {
    width: min(var(--sidebar-width), 92vw);
    transform: translateX(-100%);
    pointer-events: none;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-panel,
  .navbar {
    margin-left: 0;
    left: 0;
  }

  .sidebar-toggle {
    position: static;
    display: inline-flex !important;
  }

  body.sidebar-open .sidebar-toggle {
    position: fixed;
    top: 1rem;
    left: calc(min(var(--sidebar-width), 92vw) + .75rem);
    z-index: 80;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
  }
}

@media (max-width: 767px) {
  .navbar {
    min-height: 72px;
  }

  .navbar > .container-fluid {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .5rem;
    min-height: 72px;
    padding: 0 .75rem;
  }

  .navbar-title {
    flex: 1 1 auto;
    width: auto;
  }

  .navbar-toast-slot {
    flex: 0 1 auto;
    max-width: 38vw;
    padding: 0;
  }

  .navbar-toast-slot .system-toast {
    max-width: 100%;
    padding: .45rem .5rem .45rem .65rem;
    font-size: .72rem;
  }

  .navbar-toast-slot .system-toast-close {
    width: 1.35rem;
    height: 1.35rem;
  }

  .navbar-brand p {
    font-size: 1.05rem;
  }

  .painel-navbar-actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: .35rem;
    margin-left: 0;
    width: auto;
  }

  .content {
    padding-top: 5.5rem;
  }

  .aluno-form-header,
  .professor-form-header,
  .user-form-header {
    gap: .5rem;
  }

  .aluno-completion-main {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }

  .aluno-completion-main [data-completion-label] {
    text-align: left;
  }

  .aluno-fields-grid,
  .professor-fields-grid,
  .user-fields-grid,
  .aula-form-grid {
    grid-template-columns: 1fr;
  }

  .aluno-documents-header {
    align-items: flex-start;
    flex-direction: column;
    gap: .2rem;
  }

  .aluno-documents-grid {
    grid-template-columns: 1fr;
  }

  .frequencia-edit-header {
    align-items: center;
  }

  .frequencia-launch-card {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .frequencia-choice-grid {
    grid-template-columns: 1fr;
  }

  .frequencias-open-grid {
    grid-template-columns: 1fr;
  }

  .frequencia-confirm-form {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .frequencia-confirm-actions {
    grid-column: 1 / -1;
  }

  .frequencia-aula-info {
    align-items: flex-start;
    padding: 1rem;
  }

  .frequencia-launch-actions {
    min-width: 0;
    padding: 1rem;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .form-shell-header,
  .frequencia-confirm-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .frequencia-confirm-form {
    grid-template-columns: 1fr;
  }

  .frequencia-confirm-photo {
    width: min(8rem, 100%);
  }

  .frequencia-confirm-details {
    grid-template-columns: 1fr;
  }

  .frequencia-confirm-actions {
    justify-content: flex-start;
  }

  .qr-page {
    gap: 12px;
    padding: 16px 12px;
  }

  .qr-header {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .qr-title-block h1 {
    font-size: 20px;
  }

  .qr-back-button {
    justify-content: center;
    width: 100%;
  }

  .qr-reader-card {
    padding: 12px;
  }

  .qr-reader-heading {
    align-items: flex-start;
  }

  .qr-reader-tools {
    justify-content: flex-start;
  }

  .qr-camera-label {
    width: 100%;
  }

  .qr-reader-heading h2 {
    font-size: 16px;
  }

  .qr-reader {
    width: 100% !important;
    height: clamp(290px, 42vh, 340px);
    min-height: 0;
  }

  .qr-result:not(:empty),
  #reader[hidden] + .qr-result {
    min-height: 52vh;
    padding: 8px 0 0;
  }

  .qr-feedback,
  .qr-result:not(:empty) .qr-feedback,
  #reader[hidden] + .qr-result .qr-feedback {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 52vh;
    padding: 24px;
    text-align: center;
  }

  .qr-student-result,
  .qr-result:not(:empty) .qr-student-result,
  #reader[hidden] + .qr-result .qr-student-result {
    align-items: center;
    flex: 0 1 auto;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .qr-result:not(:empty) .qr-feedback > .material-icons,
  #reader[hidden] + .qr-result .qr-feedback > .material-icons {
    flex-basis: 84px;
    width: 84px;
    height: 84px;
    margin: 0 auto;
    font-size: 42px;
  }

  .qr-result:not(:empty) .qr-student-photo,
  #reader[hidden] + .qr-result .qr-student-photo {
    flex-basis: 112px;
    width: 112px;
    height: 112px;
  }

  .qr-result:not(:empty) .qr-feedback-content,
  .qr-result:not(:empty) .qr-student-data,
  #reader[hidden] + .qr-result .qr-feedback-content,
  #reader[hidden] + .qr-result .qr-student-data {
    width: 100%;
  }

  .qr-confirm-actions {
    flex-direction: column;
    width: 100%;
  }

  .qr-confirm-button {
    width: 100%;
  }

  .qr-timer {
    flex-basis: auto;
    width: 100%;
  }

  .aluno-photo-box,
  .aluno-form-meta,
  .aluno-field-nome,
  .aluno-field-cep,
  .professor-photo-box,
  .professor-field-nome,
  .professor-field-cep,
  .professor-field-endereco,
  .user-photo-box,
  .user-field-nome,
  .user-field-email,
  .aluno-span-1,
  .aluno-span-2,
  .aluno-span-3,
  .aluno-span-4,
  .aluno-span-5,
  .aluno-span-6,
  .aluno-span-7,
  .aluno-span-8,
  .aluno-span-9,
  .aluno-span-10,
  .aluno-span-11,
  .aluno-span-12,
  .professor-span-1,
  .professor-span-2,
  .professor-span-3,
  .professor-span-4,
  .professor-span-5,
  .professor-span-6,
  .professor-span-7,
  .professor-span-8,
  .professor-span-9,
  .professor-span-10,
  .professor-span-11,
  .professor-span-12,
  .user-span-1,
  .user-span-2,
  .user-span-3,
  .user-span-4,
  .user-span-5,
  .user-span-6,
  .user-span-7,
  .user-span-8,
  .user-span-9,
  .user-span-10,
  .user-span-11,
  .user-span-12,
  .aula-span-1,
  .aula-span-2,
  .aula-span-3,
  .aula-span-4,
  .aula-span-5,
  .aula-span-6,
  .aula-span-7,
  .aula-span-8,
  .aula-span-9,
  .aula-span-10,
  .aula-span-11,
  .aula-span-12 {
    grid-column: 1 / -1;
  }

  .aluno-photo-box,
  .professor-photo-box,
  .user-photo-box {
    justify-content: flex-start;
    grid-row: auto;
  }

  .sidebar {
    width: var(--mobile-sidebar-width);
    max-width: var(--mobile-sidebar-width);
    transform: translateX(-100%);
  }

  body.sidebar-open {
    overflow: hidden;
  }

  body.sidebar-open .sidebar {
    transform: translateX(0);
  }

  body.sidebar-open .sidebar-toggle {
    left: calc(var(--mobile-sidebar-width) + .75rem);
    right: auto;
  }

  .sidebar .logo {
    padding-right: 3.75rem;
  }
}

@media (max-width: 900px) {
  .login-modern-shell {
    grid-template-columns: 1fr;
    max-width: 30rem;
  }

  .login-hero-copy h1 {
    max-width: 21rem;
    font-size: 1.75rem;
  }

  .photo-capture-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 28rem);
  }

  .photo-capture-stage {
    max-height: 58vh;
  }
}

@media (max-width: 640px) {
  .public-shell,
  .update-aluno-shell {
    padding: .75rem;
  }

  .login-modern-page {
    align-items: flex-start;
    min-height: calc(100vh - 4rem);
    padding: .75rem 0;
  }

  .login-modern-shell {
    grid-template-columns: 1fr;
    width: 100%;
    border-radius: .5rem;
  }

  .login-hero-panel {
    min-height: auto;
    gap: 1rem;
    padding: 1rem;
  }

  .login-hero-panel::after {
    right: -8rem;
    bottom: 1rem;
  }

  .login-hero-logo {
    width: min(100%, 13.5rem);
    padding: .55rem .7rem;
  }

  .login-hero-copy h1 {
    max-width: 16rem;
    font-size: 1.42rem;
  }

  .login-hero-accent {
    width: 10rem;
  }

  .login-modern-card {
    padding: 1rem;
  }

  .login-brand-row {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: .7rem;
  }

  .login-brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .login-brand-copy h2 {
    font-size: 1.15rem;
  }

  .photo-capture-header {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-capture-grid {
    width: 100%;
    max-width: 22rem;
  }

  .photo-capture-panel {
    padding: .7rem;
  }

  .photo-capture-panel-header {
    align-items: flex-start;
    flex-direction: column;
    gap: .2rem;
  }

  .photo-capture-panel-header span {
    text-align: left;
  }

  .auth-panel,
  .card-login {
    width: 92%;
    max-width: 22rem;
  }

  .card-login {
    width: 100%;
    max-width: 100%;
  }

  .auth-form,
  .auth-form .form-group,
  .auth-actions,
  .input-group {
    min-width: 0;
    max-width: 100%;
  }

  .input-group-prepend {
    flex: 0 0 auto;
    padding-right: .6rem;
    padding-left: .6rem;
  }

  .auth-logo {
    padding: 1rem 1rem 0;
  }

  .auth-logo img {
    max-width: 100%;
    height: auto;
  }

  .alunos-toolbar {
    grid-template-columns: 1fr;
    gap: .6rem;
    margin-bottom: .25rem;
  }

  .alunos-panel {
    padding-bottom: .75rem;
  }

  .list-toolbar {
    grid-template-columns: 1fr;
  }

  .alunos-actions {
    justify-content: flex-start;
  }

  .list-actions {
    justify-content: flex-start;
  }

  .form-actions {
    justify-content: flex-start;
  }

  .alunos-filters {
    grid-template-columns: 1fr;
  }

  .list-filters {
    grid-template-columns: 1fr;
  }

  .student-photo-modal {
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: .75rem;
  }

  .modal-dialog.student-photo-dialog {
    width: min(80vw, 22.4rem);
    max-width: calc(100vw - 1.5rem);
    margin: 0;
  }

  .modal-content.student-photo-content {
    max-width: 100%;
  }

  .student-photo-content .modal-header {
    gap: .65rem;
    padding: .75rem;
  }

  .student-photo-content .modal-title {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .student-photo-content .close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .45rem;
    font-size: 1.4rem;
    line-height: 1;
  }

  .student-photo-content .close:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 2px;
  }

  .modal-body.student-photo-body {
    padding: 0;
  }

  .student-photo-body .student-photo-preview {
    width: 100%;
    max-height: calc(80vh - 6.4rem);
    border-radius: 0 0 .45rem .45rem;
  }

  .alunos-table-wrap,
  .alunos-datatable-panel {
    margin-right: -.75rem;
    margin-left: -.75rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .alunos-datatable-panel .datatable-top,
  .alunos-datatable-panel .datatable-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
    padding: .85rem .9rem;
  }

  .alunos-datatable-panel .datatable-search,
  .alunos-datatable-panel .datatable-input {
    flex-basis: auto;
    max-width: none;
    width: 100%;
  }

  .alunos-datatable-panel .datatable-search {
    flex-wrap: wrap;
  }

  .datatable-status-filter {
    width: 100%;
    justify-content: space-between;
  }

  .datatable-status-option {
    flex: 1 1 0;
  }

  .alunos-datatable-panel .datatable-dropdown,
  .alunos-datatable-panel .datatable-dropdown label {
    width: 100%;
  }

  .alunos-datatable-panel .datatable-selector {
    width: min(10rem, 100%);
  }

  .alunos-datatable-panel .datatable-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .alunos-datatable-panel .datatable-table {
    display: table;
    min-width: 56rem;
    border-collapse: collapse;
    border-spacing: 0;
  }

  .alunos-datatable-panel .datatable-table thead {
    display: table-header-group;
  }

  .alunos-datatable-panel .datatable-table tbody {
    display: table-row-group;
  }

  .alunos-datatable-panel .datatable-table tr {
    display: table-row;
  }

  .alunos-datatable-panel .datatable-table th,
  .alunos-datatable-panel .datatable-table td {
    display: table-cell;
    width: auto;
    white-space: nowrap;
  }

  .alunos-datatable-panel .datatable-table td {
    padding: .65rem .75rem;
    border-bottom: 1px solid var(--line);
    text-align: left !important;
  }

  .alunos-datatable-panel .datatable-table td::before {
    display: none;
    content: none;
  }

  .alunos-datatable-panel .datatable-table td.student-name-column {
    min-width: 18rem;
    white-space: normal;
  }

  .alunos-datatable-panel .datatable-table .student-cell {
    min-width: 18rem;
  }

  .list-table-wrap {
    margin-right: -.75rem;
    margin-left: -.75rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .student-cell {
    width: auto;
  }

  .student-status-pill {
    max-width: 12rem;
  }

  .alunos-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .list-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-login .card-body {
    padding: .9rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-stat-card {
    flex-direction: column;
  }

  .dashboard-stat-card .table-responsive {
    overflow-x: hidden;
  }

  .dashboard-stat-table th,
  .dashboard-stat-table td {
    padding: .45rem .15rem;
    font-size: .68rem;
  }

  .auth-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .auth-actions .btn,
  .auth-actions input[type="submit"] {
    width: 100%;
  }

  .home-card {
    padding: .5rem;
  }

  .home-login {
    top: .9rem;
    right: .9rem;
  }

  .content {
    padding: 5.5rem .75rem 1rem;
  }

  .ml-5 {
    margin-left: 0 !important;
  }

  [class*="col-"],
  .col-nomeAl,
  .col-endProf,
  .col-emailProf,
  .col-nomeProf,
  .col-funcao,
  .col-data,
  .col-cep,
  .col-cpf,
  .col-turma,
  .col-obs {
    width: 100% !important;
  }

  .colfoto,
  .colfotoUser {
    width: 30% !important;
  }

  .colfotoFreq {
    width: 70% !important;
  }

  .pt-fotoProf {
    padding-top: 0 !important;
  }

  .freqGeralDesktop {
    display: none;
  }

  .freqGeralMobile {
    display: inline-flex;
  }
}
