@charset "UTF-8";

body {
  background-color: #ffffff;
  color: #1A1A1A;
}

:root {
  --color-primary: #006341;
  --color-primary-contrast: #ffffff;
}

body.dark-mode {
  background-color: #2E2E2E;
  color: #E0E0E0;
}

/* Minimal modern reset */
/* Based on modern reset patterns */
* {
  box-sizing: border-box;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  background: none;
  border: none;
}

:root {
  /* Expose a few CSS custom properties for runtime access */
  --color-primary: #006341;
  --color-primary-contrast: #ffffff;
  --color-bg: #ffffff;
  --font-family-primary: Segoe UI, Tahoma, sans-serif;
  --font-size-base: 0.85rem;
  --color-cinza-escuro: #1A1A1A;
}

html, body {
  /* Use CSS custom property defined in _root.scss so this file doesn't require direct access to Sass tokens. Provide a fallback font-family. */
  font-family: var(--font-family-primary, "Segoe UI", Tahoma, sans-serif);
  font-size: var(--font-size-base, 0.85rem);
  color: var(--color-cinza-escuro, #1A1A1A);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-primary, #006341);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: #1A1A1A;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.1rem;
}

p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

.input-wrapper {
  margin-bottom: 0.75rem;
}

input[type=text], input[type=email], input[type=password], textarea, select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  background: #ffffff;
  color: #1A1A1A;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* ============================================================================
 * 📦 UnifespIA – SCSS
 * 📄 Arquivo: _theme.scss
 * 📍 Localização: resources/scss/base/_theme.scss
 * 🎯 Objetivo: Variáveis CSS para suporte a dark mode
 * 👤 Autor: GitHub Copilot
 * 📅 Criado: 12/11/2025
 * ============================================================================ */
/* DARK MODE - EM DESENVOLVIMENTO
[data-bs-theme="dark"] {
    // Será implementado na próxima fase
}
*/
@media (prefers-reduced-motion: no-preference) {
  :root {
    --transition-theme: background-color 0.2s ease, color 0.2s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  *,
  *::before,
  *::after {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}
.header {
  padding: 1rem 0;
  background: linear-gradient(90deg, #006341 0%, #009B63 100%);
  color: #ffffff;
}

.header .brand {
  font-weight: 700;
}

.footer {
  padding: 1.5rem 0;
  background: #2E2E2E;
  color: #E0E0E0;
}

.footer a {
  color: #ffffff;
}

.navbar {
  background: transparent;
  padding: 0.75rem 0;
}

.navbar .nav-item {
  margin-right: 0.75rem;
}

.sidebar {
  width: 260px;
  background: #2E2E2E;
  color: #ffffff;
  min-height: 100vh;
  padding: 1rem;
}

.topbar {
  padding: 0.75rem;
  background: #ffffff;
  border-bottom: 1px solid #E0E0E0;
}

.btn, .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.btn-primary, .cta-button {
  background: #006341;
  color: #ffffff;
  border: 1px solid rgb(0, 68.4, 44.9090909091);
}

.btn-primary:hover, .cta-button:hover {
  background: #009B63;
}

.cta-button {
  padding: 0.75rem 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.card .card-title {
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 0.75rem;
  border-bottom: 1px solid #E0E0E0;
}

.table thead {
  background: hsl(0, 0%, 117.8431372549%);
}

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

.password-toggle {
  position: relative;
}

.password-toggle .toggle-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.alert {
  padding: 0.75rem;
  border-radius: 4px;
}

.alert-success {
  background: rgba(46, 125, 50, 0.08);
  color: #2E7D32;
}

.alert-error {
  background: rgba(198, 40, 40, 0.08);
  color: #C62828;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.badge--success {
  background: #2E7D32;
  color: #ffffff;
}

.tab-list {
  display: flex;
  gap: 0.5rem;
}

.tab-btn {
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
}

.tab-content {
  padding: 0.75rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  overflow: hidden;
  display: inline-block;
}

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

.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, 0.08);
  border-top-color: #006341;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ============================================================================
 * 📦 UnifespIA – Styles / Components
 * 📄 Arquivo: _header.scss
 * 📍 Localização: resources/scss/components/_header.scss
 * 🎯 Objetivo: Estilos do header com ActionSheet e menu do usuário
 * 👤 Autor: GitHub Copilot
 * 📅 Criado: 12/11/2025
 * ============================================================================ */
.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Light mode header uses Unifesp green; dark mode overrides below */
  background: var(--verde-unifesp, #009B63);
  /* use CSS color-mix so we can mix CSS variables at runtime */
  border-bottom: 1px solid color-mix(in srgb, var(--verde-unifesp, #009B63) 88%, black 12%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: 64px;
}
.dashboard-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .dashboard-header .header-content {
    padding: 0 1.5rem;
  }
}

/* Auth/header variant (bootstrap navbar) should match dashboard header colors */
.navbar.navbar-dark.bg-primary {
  background-color: var(--verde-unifesp, #009B63) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--verde-unifesp, #009B63) 88%, black 12%) !important;
}

/* Dark-mode overrides: dark header background and subtle border */
body.dark-mode .dashboard-header,
body.dark-mode .navbar.navbar-dark.bg-primary {
  background-color: #111213 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  color: #e6e6e6;
}

/* Ensure brand text contrasts in dark mode */
body.dark-mode .brand-name,
body.dark-mode .brand-logo,
body.dark-mode .navbar-brand,
body.dark-mode .header-brand .brand-link {
  color: #ffffff !important;
}

.dashboard-header:not(.header-light) .brand-name,
.dashboard-header:not(.header-light) .brand-logo,
.navbar.navbar-dark.bg-primary .brand-name,
.navbar.navbar-dark.bg-primary .brand-logo,
.auth-logo .brand-name,
.auth-logo .brand-logo {
  color: #ffffff !important;
}

/* Header light variant: white background and normal border (used on consent/interests) */
.dashboard-header.header-light {
  background: var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-border-color);
}

/* Reduce spacing between logo icon and brand name for light headers (consent/interests) */
.dashboard-header.header-light .header-brand .brand-link {
  gap: 0.25rem;
}

.dashboard-header.header-light .header-brand .brand-logo,
.dashboard-header.header-light .navbar-brand .brand-logo {
  margin-right: 0.15rem;
}

/* Brand/link container */
.header-brand .brand-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--bs-body-color);
  font-weight: 600;
  font-size: 1.25rem;
  transition: opacity 0.2s ease;
}
.header-brand .brand-link:hover, .header-brand .brand-link:focus {
  opacity: 0.8;
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
  border-radius: 0.375rem;
}
.header-brand .brand-link:active {
  transform: scale(0.98);
}

/* Brand logo */
.brand-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 0.35rem;
}

.brand-name {
  display: none;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
@media (min-width: 576px) {
  .brand-name {
    display: inline;
  }
}

/* Ensure brand styles apply in other header variations (auth, navbar-brand, mobile) */
.navbar-brand .brand-logo,
.auth-logo .brand-logo,
.mobile-menu-header .navbar-brand .brand-logo {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 0.35rem;
}

.navbar-brand .brand-name,
.auth-logo .brand-name,
.mobile-menu-header .navbar-brand .brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}

/* Global brand name color to ensure consistency across header variations */
/* Brand color in header (light mode): header background is green so logo/text should be white for contrast */
.dashboard-header .brand-name,
.dashboard-header .brand-logo,
.navbar.navbar-dark.bg-primary .brand-name,
.navbar.navbar-dark.bg-primary .brand-logo,
.auth-logo .brand-name,
.auth-logo .brand-logo {
  color: #ffffff !important;
}

/* Default (light mode): brand should be dark green for good contrast on white backgrounds */
.brand-name,
.brand-logo,
.header-brand .brand-name,
.header-brand .brand-logo {
  color: var(--verde-profundo, #004C31);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .header-actions {
    gap: 1rem;
  }
}

.action-sheet-wrapper {
  position: relative;
}
.action-sheet-wrapper .btn-action-sheet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--bs-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
}
.action-sheet-wrapper .btn-action-sheet svg {
  width: 20px;
  height: 20px;
}
.action-sheet-wrapper .btn-action-sheet:hover, .action-sheet-wrapper .btn-action-sheet:focus {
  background: var(--bs-primary);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  outline: 2px solid var(--bs-primary-light, #a5b4fc);
  outline-offset: 2px;
}
.action-sheet-wrapper .btn-action-sheet:active {
  transform: scale(0.95);
}
.action-sheet-wrapper .btn-action-sheet[aria-expanded=true] {
  background: var(--bs-primary-dark, #5568d3);
}

.action-sheet-menu {
  min-width: 220px;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.action-sheet-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.15s ease;
}
.action-sheet-menu .dropdown-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}
.action-sheet-menu .dropdown-item:hover, .action-sheet-menu .dropdown-item:focus {
  background: var(--bs-primary-bg-subtle, #f3f4f6);
  color: var(--bs-primary);
}
.action-sheet-menu .dropdown-item:hover svg, .action-sheet-menu .dropdown-item:focus svg {
  opacity: 1;
}
.action-sheet-menu .dropdown-item:active {
  background: var(--bs-primary-bg-subtle, #e5e7eb);
}



.user-menu-wrapper {
  position: relative;
}
.user-menu-wrapper .btn-user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  min-height: 36px;
  background: transparent;
  border: 1px solid var(--bs-border-color);
  border-radius: 2rem;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
  .user-menu-wrapper .btn-user-menu {
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  }
}
.user-menu-wrapper .btn-user-menu:hover, .user-menu-wrapper .btn-user-menu:focus {
  background: var(--bs-secondary-bg);
  border-color: var(--bs-primary);
  outline: 2px solid var(--bs-primary-light, #a5b4fc);
  outline-offset: 2px;
}
.user-menu-wrapper .btn-user-menu:active {
  transform: scale(0.98);
}
.user-menu-wrapper .btn-user-menu[aria-expanded=true] {
  background: var(--bs-secondary-bg);
  border-color: var(--bs-primary);
}
.user-menu-wrapper .user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.user-menu-wrapper .user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.125rem;
}
.user-menu-wrapper .user-info .user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-body-color);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu-wrapper .user-info .user-xp {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
}
.user-menu-wrapper .chevron-icon {
  flex-shrink: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}
[aria-expanded=true] .user-menu-wrapper .chevron-icon {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  min-width: 260px;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.user-dropdown-menu .dropdown-header {
  padding: 0.75rem 1rem;
}
.user-dropdown-menu .dropdown-header .user-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.user-dropdown-menu .dropdown-header .user-header-info strong {
  font-size: 0.9375rem;
  color: var(--bs-body-color);
}
.user-dropdown-menu .dropdown-header .user-header-info small {
  font-size: 0.8125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.15s ease;
}
.user-dropdown-menu .dropdown-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}
.user-dropdown-menu .dropdown-item:hover, .user-dropdown-menu .dropdown-item:focus {
  background: var(--bs-secondary-bg);
}
.user-dropdown-menu .dropdown-item:hover svg, .user-dropdown-menu .dropdown-item:focus svg {
  opacity: 1;
}
.user-dropdown-menu .dropdown-item.text-danger {
  color: var(--bs-danger);
}
.user-dropdown-menu .dropdown-item.text-danger:hover, .user-dropdown-menu .dropdown-item.text-danger:focus {
  background: var(--bs-danger-bg-subtle);
  color: var(--bs-danger);
}
.user-dropdown-menu .dropdown-form {
  margin: 0;
}
.user-dropdown-menu .dropdown-form button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media (prefers-color-scheme: dark) {
  .dashboard-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  .action-sheet-menu,
  .user-dropdown-menu {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .header-brand .brand-link,
  .btn-action-sheet,
  .btn-user-menu,
  .dropdown-item,
  .chevron-icon {
    transition: none;
  }
}
@media (prefers-contrast: high) {
  .dashboard-header {
    border-bottom-width: 2px;
  }
  .btn-action-sheet,
  .btn-user-menu {
    outline: 2px solid currentColor;
  }
  .user-avatar {
    outline: 2px solid var(--bs-body-color);
  }
}
/* -------------------------------------------------------------------------
   Explicit header overrides to restore dashboard header menu/buttons layout
   These rules are narrowly targeted to avoid interfering with other pages.
   ------------------------------------------------------------------------- */
.dashboard-header .header-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dashboard-header .header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.action-sheet-wrapper .btn-action-sheet,
.btn-theme-toggle {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-theme-toggle {
  background: transparent !important;
}

.user-menu-wrapper .btn-user-menu {
  background: transparent !important;
}

/* User menu should use its intrinsic width (avatar + name) */
.user-menu-wrapper .btn-user-menu {
  width: auto !important;
  min-width: 0 !important;
  padding: 4px 10px !important;
}

/* Ensure dropdowns appear above header elements */
.action-sheet-menu,
.user-dropdown-menu {
  z-index: 1200 !important;
}

/* --------------------------- Visual restore (screenshot) ------------------ */
/* Dark full-width header */
.dashboard-header {
  background: #0d1113 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  color: #fff;
}

/* Group actions into a subtle pill on the right */
.dashboard-header .header-actions {
  background: rgba(255, 255, 255, 0.02);
  padding: 6px;
  border-radius: 999px;
  align-items: center;
}

/* Create button: circular green outlined */
.action-sheet-wrapper .btn-action-sheet {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2px solid var(--color-primary, #00b37e) !important;
  color: var(--color-primary, #00b37e) !important;
  padding: 0 !important;
}

.action-sheet-wrapper .btn-action-sheet svg {
  stroke: currentColor !important;
}

/* Theme toggle: subtle circular button */
.btn-theme-toggle {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #fff !important;
}

/* User menu: compact pill with avatar */
.user-menu-wrapper .btn-user-menu {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 4px 8px !important;
  gap: 0.5rem !important;
}

.user-menu-wrapper .user-avatar {
  background: var(--color-primary, #00b37e) !important;
  color: #fff !important;
}

/* Ensure dropdown caret and spacing match screenshot */
.user-menu-wrapper .chevron-icon {
  opacity: 0.9;
}

/* Slightly reduce header height so content aligns like screenshot */
.dashboard-header {
  height: 56px !important;
}

/* ============================================================================
 * 📦 UnifespIA – Styles / Components
 * 📄 Arquivo: _breadcrumb.scss
 * 📍 Localização: resources/scss/components/_breadcrumb.scss
 * 🎯 Objetivo: Estilos do breadcrumb de navegação
 * 👤 Autor: GitHub Copilot
 * 📅 Criado: 12/11/2025
 * ============================================================================ */
.dashboard-breadcrumb {
  padding: 1rem 0;
  background: transparent;
}
.dashboard-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}
.dashboard-breadcrumb .breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  color: var(--bs-secondary-color);
}
.dashboard-breadcrumb .breadcrumb .breadcrumb-item a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--bs-secondary-color);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
.dashboard-breadcrumb .breadcrumb .breadcrumb-item a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.dashboard-breadcrumb .breadcrumb .breadcrumb-item a:hover, .dashboard-breadcrumb .breadcrumb .breadcrumb-item a:focus {
  color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
  outline: 2px solid var(--bs-primary-light, #a5b4fc);
  outline-offset: 2px;
}
.dashboard-breadcrumb .breadcrumb .breadcrumb-item.active {
  color: var(--bs-body-color);
  font-weight: 500;
}
.dashboard-breadcrumb .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--bs-border-color);
  padding: 0 0.5rem;
}

@media (max-width: 575.98px) {
  .dashboard-breadcrumb {
    padding: 0.75rem 0;
  }
  .dashboard-breadcrumb .breadcrumb {
    font-size: 0.8125rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dashboard-breadcrumb .breadcrumb::-webkit-scrollbar {
    height: 4px;
  }
  .dashboard-breadcrumb .breadcrumb::-webkit-scrollbar-thumb {
    background: var(--bs-border-color);
    border-radius: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .breadcrumb-item a {
    transition: none;
  }
}
/* ============================================================================
 * 📦 UnifespIA – Styles / Components
 * 📄 Arquivo: _status_sidebar.scss
 * 📍 Localização: resources/scss/components/_status_sidebar.scss
 * 🎯 Objetivo: Estilos da sidebar de status (direita)
 * 👤 Autor: GitHub Copilot
 * 📅 Criado: 12/11/2025
 * ============================================================================ */
.status-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 0;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding-right: 0.5rem;
}
.status-sidebar::-webkit-scrollbar {
  width: 6px;
}
.status-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.status-sidebar::-webkit-scrollbar-thumb {
  background: var(--bs-border-color);
  border-radius: 3px;
}
.status-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--bs-secondary-color);
}

.status-card {
  background: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.status-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--bs-primary-border-subtle);
}
.status-card .status-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--bs-border-color-translucent);
}
.status-card .status-card-header svg {
  width: 20px;
  height: 20px;
  color: var(--bs-primary);
  flex-shrink: 0;
}
.status-card .status-card-header .status-card-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bs-body-color);
}
.status-card .status-card-body {
  padding: 1rem;
}

.xp-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: #fff;
}
.xp-card .status-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.xp-card .status-card-header svg {
  color: #fff;
}
.xp-card .status-card-header .status-card-title {
  color: #fff;
}
.xp-card .xp-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem 0;
}
.xp-card .xp-display .xp-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.xp-card .xp-display .xp-label {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}
.xp-card .progress {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.xp-card .progress .progress-bar {
  background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
}
.xp-card .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
  text-align: center;
}

.status-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.status-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.status-item .status-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.status-item .status-content .status-label {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}
.status-item .status-content .badge {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}
.status-item.status-success svg {
  color: var(--bs-success);
}
.status-item.status-success .status-label {
  color: var(--bs-success);
}
.status-item.status-warning svg {
  color: var(--bs-warning);
}
.status-item.status-warning .status-label {
  color: var(--bs-warning);
}

.status-description {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.status-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bs-primary);
  text-decoration: none;
  transition: all 0.15s ease;
  padding: 0.375rem 0;
}
.status-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.status-link:hover, .status-link:focus {
  color: var(--bs-primary);
  text-decoration: underline;
}
.status-link:hover svg, .status-link:focus svg {
  transform: translateX(2px);
}

.ranking-position {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--bs-secondary-bg);
  border-radius: 0.5rem;
}
.ranking-position .position-label {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}
.ranking-position .position-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-primary);
}

@media (max-width: 991.98px) {
  .status-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding-right: 0;
    margin-top: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .status-sidebar {
    grid-template-columns: 1fr;
  }
  .status-card .status-card-header {
    padding: 0.875rem 0.875rem 0.625rem;
  }
  .status-card .status-card-header .status-card-title {
    font-size: 0.875rem;
  }
  .status-card .status-card-body {
    padding: 0.875rem;
  }
  .xp-display .xp-value {
    font-size: 2rem !important;
  }
  .xp-display .xp-label {
    font-size: 0.875rem !important;
  }
}
@media (prefers-color-scheme: dark) {
  .status-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
  .status-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  .xp-card .progress {
    background: rgba(255, 255, 255, 0.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .status-card,
  .status-link {
    transition: none;
  }
  .status-link svg {
    transition: none;
  }
}
@media (prefers-contrast: high) {
  .status-card {
    border-width: 2px;
  }
  .xp-card {
    outline: 2px solid currentColor;
  }
}
/* ============================================================================
 * 📦 UnifespIA – Components
 * 📄 Arquivo: _filters_sidebar.scss
 * 📍 Localização: resources/scss/components/_filters_sidebar.scss
 * 🎯 Objetivo: Estilos da sidebar de filtros (esquerda)
 * 👤 Autor: GitHub Copilot
 * 📅 Criado: 12/11/2025
 * ============================================================================ */
.filters-sidebar {
  position: sticky;
  top: 0;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: var(--bs-body-bg);
  border-radius: 1rem;
  border: 1px solid var(--bs-border-color);
  padding: 0;
}
.filters-sidebar::-webkit-scrollbar {
  width: 6px;
}
.filters-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.filters-sidebar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.filters-sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}
@media (prefers-color-scheme: dark) {
  .filters-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
  }
  .filters-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
  }
}

/* Filter Sections
   ========================================================================= */
.filter-section {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--bs-border-color);
}
.filter-section:last-child {
  border-bottom: none;
}
.filter-section:first-child {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Labels
   ========================================================================= */
.filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--bs-heading-color);
  margin-bottom: 0.75rem;
}
.filter-label svg {
  opacity: 0.6;
  flex-shrink: 0;
}

/* Search Input
   ========================================================================= */
.filter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
}
.filter-input:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
}
.filter-input::placeholder {
  color: var(--bs-secondary-color);
  opacity: 0.7;
}

.filter-help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--bs-secondary-color);
  font-style: italic;
}

/* Select Dropdown
   ========================================================================= */
.filter-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  background: var(--bs-body-bg) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center;
  background-size: 12px 8px;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--bs-body-color);
}
.filter-select:focus {
  outline: none;
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
}
.filter-select:hover {
  border-color: var(--bs-primary);
}

/* Checkbox & Radio Options
   ========================================================================= */
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.filter-checkbox input[type=checkbox],
.filter-checkbox input[type=radio] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: var(--bs-primary);
  flex-shrink: 0;
}
.filter-checkbox input[type=checkbox]:focus-visible,
.filter-checkbox input[type=radio]:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}
.filter-checkbox .checkbox-label {
  font-size: 0.9375rem;
  color: var(--bs-body-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.filter-checkbox:hover .checkbox-label {
  color: var(--bs-heading-color);
}

/* Role Badges in Filters
   ========================================================================= */
.role-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}
.role-badge.role-professor {
  background: rgba(var(--bs-success-rgb), 0.1);
  color: var(--bs-success);
  border: 1px solid rgba(var(--bs-success-rgb), 0.2);
}
.role-badge.role-student {
  background: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.2);
}

/* Quick Stats
   ========================================================================= */
.filter-stats {
  background: rgba(var(--bs-primary-rgb), 0.03);
}
.filter-stats .stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.filter-stats .stat-item:not(:last-child) {
  border-bottom: 1px solid rgba(var(--bs-border-color-rgb), 0.5);
}
.filter-stats .stat-label {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}
.filter-stats .stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bs-heading-color);
}
.filter-stats .stat-value.text-success {
  color: var(--bs-success) !important;
}
.filter-stats .stat-value.text-primary {
  color: var(--bs-primary) !important;
}

/* Clear Filters Button
   ========================================================================= */
#clearFilters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
}
#clearFilters svg {
  opacity: 0.7;
}
#clearFilters:hover {
  background: var(--bs-secondary);
  color: white;
  border-color: var(--bs-secondary);
}
#clearFilters:hover svg {
  opacity: 1;
}
#clearFilters:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Responsive Design
   ========================================================================= */
@media (max-width: 991.98px) {
  .filters-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 1.5rem;
  }
  .filter-section {
    padding: 1rem;
  }
}
@media (max-width: 767.98px) {
  .filter-options {
    gap: 0.5rem;
  }
  .filter-label {
    font-size: 0.8125rem;
  }
  .filter-input,
  .filter-select {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }
  .filter-stats .stat-label {
    font-size: 0.8125rem;
  }
  .filter-stats .stat-value {
    font-size: 0.9375rem;
  }
}
/* Print Styles
   ========================================================================= */
@media print {
  .filters-sidebar {
    display: none;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.u-text-center {
  text-align: center;
}

.home-hero {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(0, 155, 99, 0.06), rgba(255, 255, 255, 0));
}

.home-hero .hero-title {
  font-size: 1.6rem;
  color: #1A1A1A;
}

.main-content {
  padding: 1.5rem;
}

.custom-white-header {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
  color: #212529 !important;
  border-bottom: 1px solid #dee2e6 !important;
  padding: 1rem 1.25rem !important;
}
.custom-white-header h5, .custom-white-header .h5 {
  color: #212529 !important;
}
.custom-white-header i {
  color: #212529 !important;
}

.custom-white-badge {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
  color: #495057 !important;
  border: 1px solid #dee2e6 !important;
  font-size: 0.875rem !important;
  padding: 0.5rem 0.75rem !important;
  font-weight: 600 !important;
}

:root {
  --role-professor: #198754;
  --role-professor-light: #d1e7dd;
  --role-professor-border: #badbcc;
  --role-student: #0d6efd;
  --role-student-light: #cfe2ff;
  --role-student-border: #b6d4fe;
}

.class-card {
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.class-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #adb5bd;
}
.class-card.role-professor {
  border-left: 4px solid var(--role-professor);
}
.class-card.role-professor:hover {
  border-left-color: var(--role-professor);
  border-left-width: 4px;
}
.class-card.role-student {
  border-left: 4px solid var(--role-student);
}
.class-card.role-student:hover {
  border-left-color: var(--role-student);
  border-left-width: 4px;
}
.class-card .card-title {
  color: #212529;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
    line-clamp: 2;
  -webkit-box-orient: vertical;
}
.class-card .card-footer {
  padding: 0.75rem 1rem;
}

.copy-code-btn {
  transition: all 0.2s ease;
}
.copy-code-btn:hover {
  background-color: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
}
.copy-code-btn.copied {
  background-color: var(--bs-success);
  color: white;
  border-color: var(--bs-success);
}
.copy-code-btn.copied .bi-clipboard::before {
  content: "\f26b";
}

#emptyState svg {
  color: #6c757d;
}

@media (max-width: 767.98px) {
  #classesGrid .col-12 {
    margin-bottom: 1rem;
  }
}

.modal-success .modal-content {
  border-top: 4px solid var(--role-professor);
}
.modal-success .modal-header {
  background-color: var(--role-professor-light);
  border-bottom: 1px solid var(--role-professor-border);
}
.modal-success .modal-header .modal-title {
  color: var(--role-professor);
  font-weight: 600;
}

.modal-primary .modal-content {
  border-top: 4px solid var(--role-student);
}
.modal-primary .modal-header {
  background-color: var(--role-student-light);
  border-bottom: 1px solid var(--role-student-border);
}
.modal-primary .modal-header .modal-title {
  color: var(--role-student);
  font-weight: 600;
}

.modal-danger .modal-content {
  border-top: 4px solid #dc3545;
}
.modal-danger .modal-header {
  background-color: #f8d7da;
  border-bottom: 1px solid #f5c2c7;
}
.modal-danger .modal-header .modal-title {
  color: #842029;
  font-weight: 600;
}

.modal-footer .btn-success {
  background-color: var(--role-professor);
  border-color: var(--role-professor);
}
.modal-footer .btn-success:hover {
  background-color: rgb(17.03125, 91.96875, 57.225);
  border-color: rgb(17.03125, 91.96875, 57.225);
}
.modal-footer .btn-primary {
  background-color: var(--role-student);
  border-color: var(--role-student);
}
.modal-footer .btn-primary:hover {
  background-color: rgb(1.762295082, 87.2336065574, 213.237704918);
  border-color: rgb(1.762295082, 87.2336065574, 213.237704918);
}
.modal-footer .btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}
.modal-footer .btn-danger:hover {
  background-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
  border-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}

:root {
  --setup-menu-bg:#f8f9fa;
  --setup-menu-border:#e9ecef;
  --setup-footer-bg:#ffffff;
  --setup-accent:#0d6efd;
}

/* Layout container */
.setup-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Sidebar / menu */
.setup-menu {
  width: 260px;
  min-width: 220px;
  background: var(--setup-menu-bg);
  border-right: 1px solid var(--setup-menu-border);
  padding: 1rem;
  border-radius: 0.25rem;
  height: fit-content;
}

.setup-menu .nav-step {
  display: block;
  padding: 0.6rem 0.5rem;
  border-radius: 0.375rem;
  color: #212529;
  text-decoration: none;
}

.setup-menu .nav-step.active {
  background: rgba(13, 110, 253, 0.06);
  border-left: 3px solid var(--setup-accent);
  padding-left: 0.4rem;
}

.setup-menu .nav-step .step-num {
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--setup-menu-border);
  text-align: center;
  line-height: 26px;
  margin-right: 0.5rem;
  font-weight: 600;
}

/* Main content area */
.setup-main {
  flex: 1 1 auto;
}

/* Footer area for context actions */
.setup-footer {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--setup-footer-bg);
  border-top: 1px solid var(--setup-menu-border);
  width: 100%;
  border-radius: 0.25rem;
}

/* Small helpers */
.setup-help-card {
  font-size: 0.95rem;
}

/* Responsive: stack menu above content on small screens */
@media (max-width: 991.98px) {
  .setup-layout {
    flex-direction: column;
  }
  .setup-menu {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--setup-menu-border);
  }
  .setup-footer {
    position: static;
  }
}
/* Accessibility: focus state for nav steps */
.setup-menu .nav-step:focus {
  outline: 2px solid rgba(13, 110, 253, 0.25);
  outline-offset: 2px;
}

/* Minor utilities */
.setup-menu .muted-small {
  font-size: 0.85rem;
  color: #6c757d;
}

.invalid-feedback.d-block {
  display: block;
}

/*# sourceMappingURL=main.css.map */
