/* src/styles/base.css */
:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-card: #222;
  --bg-card-hover: #2a2a2a;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666;
  --accent: #6c63ff;
  --accent-hover: #5a52d5;
  --accent-glow: rgba(108, 99, 255, 0.3);
  --border: #333;
  --gradient-1: #6c63ff;
  --gradient-2: #e040fb;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}
[data-theme=light] {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #999;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  animation: pageFadeIn 0.3s ease;
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-hover);
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
section {
  padding: 100px 0;
}
.page-section {
  padding-top: 100px;
  min-height: 100vh;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  font-size: 1rem;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .page-section {
    padding-top: 80px;
  }
  .container {
    padding: 0 16px;
  }
  .section-desc {
    margin-bottom: 32px;
  }
}

/* src/styles/nav.css */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background var(--transition), border var(--transition);
}
body.panel-body nav {
  display: none;
}
[data-theme=light] nav {
  background: rgba(248, 249, 250, 0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.2rem;
  background:
    linear-gradient(
      135deg,
      var(--gradient-1),
      var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
  margin-left: 8px;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}
.btn-nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition);
}
.btn-nav-auth:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
    z-index: 999;
  }
  .nav-links.open a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .mobile-btn {
    display: block;
  }
  .nav-logo {
    font-size: 1rem;
  }
}

/* src/styles/hero.css */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background:
    radial-gradient(
      circle,
      var(--accent-glow),
      transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text {
  flex: 1;
  min-width: 0;
}
.hero-photo {
  flex-shrink: 0;
}
.hero-photo img {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
  box-shadow: 0 0 40px var(--accent-glow);
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero h1 .highlight {
  background:
    linear-gradient(
      135deg,
      var(--gradient-1),
      var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 40px;
  overflow-x: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--gradient-1),
      var(--gradient-2));
  color: #fff;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.hero-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all var(--transition);
}
.hero-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-glow);
}
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    gap: 24px;
    text-align: center;
  }
  .hero-photo img {
    width: 160px;
    height: 160px;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
  }
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .hero-actions .btn {
    padding: 10px 16px;
    font-size: 0.82rem;
  }
  .hero-social {
    justify-content: center;
  }
  .hero::before {
    width: 300px;
    height: 300px;
  }
}

/* src/styles/experiencia.css */
.exp-total {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 28px;
}
.exp-total-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      var(--gradient-1),
      var(--gradient-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  flex-shrink: 0;
}
.exp-total-number {
  font-size: 1.6rem;
  font-weight: 800;
  background:
    linear-gradient(
      135deg,
      var(--gradient-1),
      var(--gradient-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.exp-total-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}
.timeline {
  position: relative;
  padding-left: 0;
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 28px;
  border-left: 2px solid var(--border);
  padding-bottom: 4px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.timeline-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.timeline-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.timeline-logo span {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.timeline-content {
  flex: 1;
  min-width: 0;
}
.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.timeline-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.timeline-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .exp-total {
    padding: 16px 20px;
    gap: 14px;
  }
  .exp-total-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
  .exp-total-number {
    font-size: 1.3rem;
  }
  .timeline-item {
    padding-left: 20px;
  }
  .timeline-body {
    gap: 12px;
  }
  .timeline-logo {
    width: 34px;
    height: 34px;
  }
  .timeline-item h3 {
    font-size: 0.95rem;
  }
  .timeline-item p {
    font-size: 0.83rem;
  }
}

/* src/styles/certificacoes.css */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}
.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.cert-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(108, 99, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.cert-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.cert-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cert-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.cert-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  position: relative;
  max-width: 700px;
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.25s ease;
}
.modal-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius) - 4px);
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
  .cert-card {
    padding: 16px;
    gap: 12px;
  }
  .modal-content {
    max-width: 100%;
  }
}

/* src/styles/cursos.css */
.cursos-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cursos-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.cursos-tab:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.cursos-tab.active {
  background:
    linear-gradient(
      135deg,
      var(--gradient-1),
      var(--gradient-2));
  color: #fff;
  border-color: transparent;
}
.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.2);
}
.cursos-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.cursos-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.cursos-search i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.cursos-search input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border var(--transition);
}
.cursos-search input:focus {
  outline: none;
  border-color: var(--accent);
}
.cursos-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cursos-filters select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border var(--transition);
}
.cursos-filters select:focus {
  outline: none;
  border-color: var(--accent);
}
.cursos-content {
  min-height: 200px;
}
.cursos-loading,
.cursos-error,
.cursos-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
}
.skeleton-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0;
}
.skeleton-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.skeleton-cell {
  height: 14px;
  border-radius: 6px;
  background:
    linear-gradient(
      90deg,
      var(--bg-card) 25%,
      var(--bg-card-hover) 50%,
      var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-cell.wide {
  flex: 3;
}
.skeleton-cell.medium {
  flex: 1.5;
}
.skeleton-cell.short {
  flex: 0.8;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.skeleton-badge {
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 25%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.cursos-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.cursos-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cursos-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.cursos-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.cursos-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.cursos-table tbody tr {
  transition: background var(--transition);
}
.cursos-table tbody tr:hover {
  background: var(--bg-card-hover);
}
.curso-title-cell {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.curso-title-cell a {
  font-weight: 500;
  color: var(--text-primary);
}
.curso-title-cell a:hover {
  color: var(--accent);
}
.cursos-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 0;
}
.page-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: inherit;
}
.page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}
.page-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
  background: none;
  cursor: pointer;
  color: var(--accent);
  font-family: inherit;
}
.cert-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.text-muted {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: certFadeIn .2s ease;
}
@keyframes certFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cert-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cert-modal-content {
  position: relative;
  width: min(95vw, 1100px);
  height: min(90vh, 800px);
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, .3);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  flex-shrink: 0;
}
.cert-modal-title {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 12px;
}
.cert-modal-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.cert-modal-btn {
  background: rgba(255, 255, 255, .08);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.cert-modal-btn:hover {
  background: rgba(255, 255, 255, .15);
}
.cert-modal-close:hover {
  background: rgba(255, 60, 60, .4);
}
.cert-modal-body {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
}
.cert-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.cert-modal-body object {
  width: 100%;
  height: 100%;
  border: none;
}
.cert-modal-body img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 20px;
}
@media (max-width: 768px) {
  .cert-modal-content {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .cert-modal {
    padding: 0;
  }
  .cursos-tabs {
    gap: 6px;
  }
  .cursos-tab {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
  .cursos-toolbar {
    flex-direction: column;
  }
  .cursos-search {
    min-width: 100%;
  }
  .cursos-filters {
    width: 100%;
  }
  .cursos-filters select {
    flex: 1;
  }
  .curso-title-cell {
    max-width: 180px;
  }
  .cursos-table th,
  .cursos-table td {
    padding: 8px;
    font-size: 0.78rem;
  }
}

/* src/styles.css */
.login-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: var(--card-bg, #1e1e2e);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.login-card h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.85rem;
  opacity: 0.7;
}
.form-group input {
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  font-size: 1rem;
  outline: none;
}
.form-group input:focus {
  border-color: var(--accent, #7c3aed);
}
.login-error {
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.btn-login {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: none;
  background: var(--accent, #7c3aed);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: opacity 0.2s;
}
.btn-login:hover {
  opacity: 0.85;
}
.dashboard-wrapper {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dashboard-card {
  background: var(--card-bg, #1e1e2e);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.dashboard-card h1 {
  margin-bottom: 0.5rem;
}
.dashboard-card p {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.btn-logout {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--accent, #7c3aed);
  background: transparent;
  color: var(--accent, #7c3aed);
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}
.btn-logout:hover {
  background: var(--accent, #7c3aed);
  color: #fff;
}
.dash-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg-primary, #0f0f0f);
}
.dash-sidebar {
  width: 270px;
  flex-shrink: 0;
  background: var(--bg-secondary, #161616);
  border-right: 1px solid var(--border, #333);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.dash-sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--border, #333);
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dash-brand-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background:
    linear-gradient(
      135deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.dash-sidebar-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary, #f0f0f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.collapse-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border, #333);
  color: var(--text-secondary, #a0a0a0);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.collapse-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.dash-sidebar-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  border-bottom: 1px solid var(--border, #333);
}
.dash-avatar-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}
.dash-avatar-fire-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  animation: fire-rotate 1.5s linear infinite;
}
.dash-avatar-fire-wrap::before,
.dash-avatar-fire-wrap::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background:
    conic-gradient(
      #ff4500,
      #ff6a00,
      #ffae00,
      #ff6a00,
      #ff4500,
      #ff2200,
      #ff6a00,
      #ffae00,
      #ff4500);
  animation: fire-spin 1.2s linear infinite;
  filter: blur(4px);
  z-index: 0;
}
.dash-avatar-fire-wrap::after {
  inset: -2px;
  filter: blur(2px);
  opacity: 0.7;
  animation-direction: reverse;
  animation-duration: 0.9s;
}
.dash-avatar {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #111;
  display: block;
  margin: 4px auto 0;
}
.dash-avatar-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.12);
  border: 1px solid var(--accent, #6c63ff);
  border-radius: 20px;
  padding: 2px 12px;
}
.fire-tag {
  color: #ff6a00;
  background: rgba(255, 100, 0, 0.12);
  border-color: #ff6a00;
  text-shadow: 0 0 8px #ff4500, 0 0 16px #ffae00;
  animation: fire-flicker 1.2s ease-in-out infinite alternate;
}
.neon-blue-tag {
  color: #00cfff;
  background: rgba(0, 180, 255, 0.1);
  border-color: #00cfff;
  text-shadow: 0 0 8px #00cfff, 0 0 16px #0088ff;
  animation: neon-blue-flicker 1.4s ease-in-out infinite alternate;
}
@keyframes neon-blue-flicker {
  from {
    text-shadow: 0 0 6px #00cfff, 0 0 12px #0088ff;
    opacity: 1;
  }
  to {
    text-shadow: 0 0 14px #00eeff, 0 0 28px #0055ff;
    opacity: 0.88;
  }
}
@keyframes fire-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fire-rotate {
  0%, 100% {
    filter: drop-shadow(0 0 6px #ff4500) drop-shadow(0 0 12px #ff6a00);
  }
  50% {
    filter: drop-shadow(0 0 10px #ffae00) drop-shadow(0 0 20px #ff4500);
  }
}
@keyframes fire-flicker {
  from {
    text-shadow: 0 0 6px #ff4500, 0 0 12px #ffae00;
    opacity: 1;
  }
  to {
    text-shadow: 0 0 12px #ff2200, 0 0 24px #ff6a00;
    opacity: 0.85;
  }
}
.dash-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px;
}
.dash-sidebar-body::-webkit-scrollbar {
  width: 6px;
}
nav.dash-nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  z-index: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 6px;
}
.dash-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ff6a00;
  padding: 14px 14px 6px;
  text-shadow: 0 0 8px #ff4500, 0 0 16px #ffae00;
  animation: fire-flicker 1.2s ease-in-out infinite alternate;
  background: transparent;
  border: none;
  cursor: pointer;
}
.dash-group-chevron {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.dash-group-chevron.collapsed {
  transform: rotate(-90deg);
}
.dash-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-link i {
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  font-size: 1rem;
}
.dash-link:hover {
  background: var(--bg-card-hover, #2a2a2a);
  color: var(--text-primary, #f0f0f0);
}
.dash-link.active {
  background: var(--accent, #6c63ff);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow, rgba(108, 99, 255, 0.3));
}
.dash-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 4px;
  background: #fff;
}
.dash-sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border, #333);
}
.dash-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: transparent;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-logout:hover {
  color: #f87171;
  border-color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}
.dash-content {
  flex: 1;
  min-width: 0;
  display: flex;
}
app-gmail-cleaner,
app-financeiro {
  flex: 1;
  min-width: 0;
  display: flex;
}
.module-wrapper {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 32px;
  box-sizing: border-box;
  background: var(--bg-primary);
  color: var(--text-primary);
}
.module-wrapper h4 {
  color: var(--text-primary, #f0f0f0);
}
.module-wrapper .nav-tabs {
  border-color: var(--border);
}
.module-wrapper .nav-tabs .nav-link {
  color: var(--text-secondary, #a0a0a0);
  border-color: transparent;
}
.module-wrapper .nav-tabs .nav-link.active {
  color: var(--text-primary, #f0f0f0);
  background: var(--bg-card);
  border-color: var(--border) var(--border) var(--bg-card);
}
.module-wrapper .nav-tabs .nav-link:hover:not(.active) {
  border-color: transparent;
  color: var(--text-primary);
}
.module-wrapper .table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-active-bg: rgba(108,99,255,0.12);
  --bs-table-hover-bg: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border);
}
.module-wrapper .table thead th {
  color: var(--text-primary);
  border-color: var(--border);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
}
.module-wrapper .table td {
  border-color: var(--border);
  vertical-align: middle;
}
.module-wrapper .table-active td {
  background: rgba(108, 99, 255, 0.12) !important;
}
.module-wrapper .form-select,
.module-wrapper .form-control {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border);
  color-scheme: dark;
}
.module-wrapper .form-select:focus,
.module-wrapper .form-control:focus {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem var(--accent-glow);
}
.module-wrapper .form-check-input {
  background-color: var(--bg-secondary);
  border-color: var(--border);
}
.module-wrapper .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.module-wrapper .btn-outline-secondary {
  color: var(--text-secondary);
  border-color: var(--border);
}
.module-wrapper .btn-outline-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border);
}
.module-wrapper .alert-danger {
  background: rgba(239, 68, 68, .12);
  border-color: rgba(239, 68, 68, .3);
  color: #fca5a5;
}
.module-wrapper .text-body-secondary {
  color: var(--text-primary) !important;
}
app-hello-world {
  flex: 1;
  min-width: 0;
  display: flex;
}
.hw-card {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
  min-height: 70vh;
}
.hw-card h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  background:
    linear-gradient(
      90deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hw-card p {
  color: var(--text-secondary, #a0a0a0);
  font-size: 1.2rem;
}
app-fisico {
  flex: 1;
  min-width: 0;
  display: flex;
}
.fisico-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 32px;
  min-height: 70vh;
}
.fisico-card {
  width: 100%;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
}
.fisico-page-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 18px;
  background:
    linear-gradient(
      90deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fisico-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.fisico-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
  text-transform: capitalize;
}
.fisico-arrow {
  background: transparent;
  border: 1px solid var(--border, #333);
  color: var(--text-secondary, #a0a0a0);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}
.fisico-arrow:hover {
  color: var(--accent, #6c63ff);
  border-color: var(--accent, #6c63ff);
}
.fisico-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.fisico-head {
  margin-bottom: 8px;
}
.fisico-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fisico-dayname {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted, #666);
  padding: 4px 0;
}
.fisico-day {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.fisico-day:hover {
  border-color: var(--accent, #6c63ff);
}
.fisico-day.inactive {
  opacity: 0.25;
  pointer-events: none;
}
.fisico-day.selected {
  background: var(--accent, #6c63ff);
  border-color: var(--accent, #6c63ff);
  color: #fff;
  box-shadow: 0 3px 12px var(--accent-glow, rgba(108, 99, 255, 0.4));
}
.fisico-day.today {
  background: #2e9e5b;
  border-color: #2e9e5b;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(46, 158, 91, 0.35), 0 3px 12px rgba(46, 158, 91, 0.4);
}
.fisico-day.today.selected {
  background: #2e9e5b;
  border-color: #2e9e5b;
}
.fisico-hint {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border, #333);
}
.fisico-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary, #a0a0a0);
}
.fisico-swatch {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
}
.fisico-swatch.selected {
  background: var(--accent, #6c63ff);
  border-color: var(--accent, #6c63ff);
}
app-habits {
  flex: 1;
  min-width: 0;
  display: flex;
}
.habits-wrap {
  flex: 1;
  width: 100%;
  padding: 32px;
}
.habits-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  background:
    linear-gradient(
      90deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.habits-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 24px;
  align-items: start;
}
.habits-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.habits-cal-card,
.habits-log-card,
.habits-history-full {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
}
.habits-history-card {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
}
.habits-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.habits-cal-label {
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
  text-transform: capitalize;
}
.habits-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.habits-cal-head {
  margin-bottom: 6px;
}
.habits-cal-dayname {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #666);
  padding: 4px 0;
}
.habits-cal-cell {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.habits-cal-cell:hover {
  border-color: var(--accent, #6c63ff);
}
.habits-cal-cell.inactive {
  opacity: 0.2;
  pointer-events: none;
}
.habits-cal-cell.today {
  background: #2e9e5b;
  border-color: #2e9e5b;
  color: #fff;
}
.habits-cal-cell.has-log {
  border-color: var(--accent, #6c63ff);
}
.habits-cal-cell.selected {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent, #6c63ff);
}
.habits-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.habits-stat {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.habits-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent, #6c63ff);
}
.habits-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted, #666);
}
.habits-log-title,
.habits-history-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border, #333);
  font-size: 0.98rem;
}
.habits-log-title i,
.habits-history-title i {
  color: var(--accent, #6c63ff);
}
.habits-log-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--border, #333);
}
.habits-log-row > i {
  width: 22px;
  text-align: center;
  color: var(--text-secondary, #a0a0a0);
}
.habits-log-label {
  flex: 1;
  color: var(--text-primary, #f0f0f0);
  font-size: 0.92rem;
}
.habits-hours {
  display: flex;
  align-items: center;
  gap: 6px;
}
.habits-hours input {
  width: 64px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.9rem;
  outline: none;
  text-align: right;
}
.habits-hours input:focus {
  border-color: var(--accent, #6c63ff);
}
.habits-hours span {
  color: var(--text-muted, #666);
  font-size: 0.8rem;
}
.habits-kcal {
  color: var(--accent, #6c63ff);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}
.habits-remove-entry {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s;
}
.habits-remove-entry:hover {
  color: #f87171;
}
.habits-calories-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-radius: 10px;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.9rem;
}
.habits-calories-total strong {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.05rem;
}
.habits-entry-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.habits-entry-form input[type=text] {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.9rem;
  outline: none;
}
.habits-entry-form input[type=number] {
  width: 90px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.9rem;
  outline: none;
}
.habits-entry-form input:focus {
  border-color: var(--accent, #6c63ff);
}
.habits-entry-form button {
  background: var(--accent, #6c63ff);
  border: none;
  color: #fff;
  width: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.habits-entry-form button:hover {
  opacity: 0.85;
}
app-simulado {
  flex: 1;
  min-width: 0;
  display: flex;
}
.mat-wrap {
  flex: 1;
  width: 100%;
  padding: 32px;
}
.mat-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mat-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0;
  background:
    linear-gradient(
      90deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mat-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.mat-stat {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mat-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent, #6c63ff);
}
.mat-stat-label {
  color: var(--text-muted, #666);
  font-size: 0.85rem;
}
.mat-new {
  margin-top: 30px;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
  text-align: center;
}
.mat-new h2 {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.mat-new p {
  color: var(--text-muted, #666);
  margin-bottom: 20px;
}
.mat-levels {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.mat-level {
  padding: 14px 30px;
  border-radius: 12px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.mat-level:hover {
  transform: translateY(-2px);
}
.mat-level.simples {
  border-color: #2e9e5b;
  color: #4fd17b;
}
.mat-level.medio {
  border-color: #d69a2d;
  color: #e9b74c;
}
.mat-level.dificil {
  border-color: #e05a5a;
  color: #ff7a7a;
}
.mat-level.az204 {
  border-color: #4f8ef7;
  color: #6ba8ff;
}
.mat-level.dp900 {
  border-color: #2e9e5b;
  color: #4fd17b;
}
.mat-level.sc900 {
  border-color: #c757d6;
  color: #e57ff2;
}
.mat-active {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
}
.mat-active-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mat-active-level {
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
}
.mat-active-q {
  color: var(--text-muted, #666);
}
.mat-active-counts {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.mat-count-correct {
  color: #4fd17b;
  font-weight: 700;
}
.mat-count-wrong {
  color: #ff7a7a;
  font-weight: 700;
}
.mat-count-total {
  color: var(--text-muted, #666);
  margin-left: auto;
}
.mat-active-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mat-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.mat-btn:hover {
  opacity: 0.85;
}
.mat-btn-correct {
  background: #2e9e5b;
  color: #fff;
}
.mat-btn-wrong {
  background: #e05a5a;
  color: #fff;
}
.mat-btn-undo {
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-secondary, #a0a0a0);
  border: 1px solid var(--border, #333);
}
.mat-btn-finish {
  background: var(--accent, #6c63ff);
  color: #fff;
  margin-left: auto;
}
.mat-history {
  margin-top: 28px;
}
.mat-history h2 {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.mat-history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mat-history-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 12px;
  padding: 14px 16px;
}
.mat-history-level {
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
  width: 90px;
}
.mat-history-questions {
  color: var(--text-secondary, #a0a0a0);
}
.mat-history-ok {
  color: #4fd17b;
  font-weight: 600;
}
.mat-history-no {
  color: #ff7a7a;
  font-weight: 600;
  margin-left: auto;
}
.mat-recent {
  margin-top: 28px;
}
.mat-recent h2 {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.mat-recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mat-recent-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
}
.mat-recent-level {
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
  width: 100px;
}
.mat-recent-date {
  color: var(--text-muted, #666);
  width: 90px;
}
.mat-recent-dur,
.mat-recent-q {
  color: var(--text-secondary, #a0a0a0);
}
.mat-recent-ok {
  color: #4fd17b;
  font-weight: 600;
  margin-left: auto;
}
.mat-recent-no {
  color: #ff7a7a;
  font-weight: 600;
  width: 40px;
  text-align: right;
}
.mat-empty {
  color: var(--text-muted, #666);
}
.mat-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  background: var(--bg-card, #222);
  border: 1px dashed var(--border, #333);
  border-radius: 16px;
  text-align: center;
}
.mat-empty-state-icon {
  font-size: 2.8rem;
  color: var(--accent, #6c63ff);
  opacity: 0.5;
}
.mat-empty-state-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
}
.mat-empty-state-sub {
  font-size: 0.88rem;
  color: var(--text-muted, #666);
}
.habits-save {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border: none;
  border-radius: 10px;
  background: var(--accent, #6c63ff);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
}
.habits-save:hover {
  opacity: 0.85;
}
.habits-empty {
  color: var(--text-muted, #666);
  font-size: 0.88rem;
}
.habits-history-day {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border, #333);
}
.habits-history-date {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-secondary, #a0a0a0);
  display: block;
  margin-bottom: 6px;
}
.habits-history-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.habits-history-chip {
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-radius: 30px;
  padding: 3px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary, #a0a0a0);
}
@media (max-width: 900px) {
  .habits-layout {
    grid-template-columns: 1fr;
  }
}
@keyframes sk-shimmer {
  from {
    background-position: -400px 0;
  }
  to {
    background-position: 400px 0;
  }
}
.sk-line {
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      var(--bg-card, #222) 25%,
      var(--bg-card-hover, #2a2a2a) 50%,
      var(--bg-card, #222) 75%);
  background-size: 800px 100%;
  animation: sk-shimmer 1.4s infinite linear;
  display: block;
  width: 100%;
}
.sk-line-light {
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      #e9ecef 25%,
      #f8f9fa 50%,
      #e9ecef 75%);
  background-size: 800px 100%;
  animation: sk-shimmer 1.4s infinite linear;
  display: block;
  width: 100%;
}
app-tarefas {
  flex: 1;
  min-width: 0;
  display: flex;
}
app-rotina {
  flex: 1;
  min-width: 0;
  display: flex;
}
.tarefas-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.tarefas-top {
  padding: 28px 32px 0;
  flex-shrink: 0;
}
.tarefas-page-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  background:
    linear-gradient(
      90deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tarefas-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border, #333);
}
.tarefas-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted, #666);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -1px;
}
.tarefas-tab:hover {
  color: var(--text-primary, #f0f0f0);
}
.tarefas-tab.active {
  color: var(--accent, #6c63ff);
  border-bottom-color: var(--accent, #6c63ff);
}
.tarefas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 24px 32px;
  overflow-y: auto;
  align-items: start;
}
.tarefas-grid-fill {
  flex: 1;
  min-height: 0;
  align-items: stretch;
  overflow-y: auto;
}
.tarefas-grid-prof {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .tarefas-grid-prof {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .tarefas-grid-prof {
    grid-template-columns: 1fr;
  }
}
.tarefas-card {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
  min-height: 0;
}
.tarefas-grid-fill .tarefas-card {
  overflow: hidden;
}
.tarefas-grid-fill .tarefas-list {
  overflow-y: auto;
}
.tarefas-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary, #f0f0f0);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border, #333);
}
.tarefas-card-title i {
  color: var(--accent, #6c63ff);
}
.tarefas-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tarefa-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-left: 3px solid var(--accent, #6c63ff);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  color: var(--text-primary, #f0f0f0);
  transition: all 0.2s;
}
.tarefa-item:hover {
  background: var(--bg-card-hover, #2a2a2a);
  border-color: var(--accent, #6c63ff);
  border-left-color: var(--accent, #6c63ff);
  transform: translateX(2px);
}
.tarefa-item.done {
  border-left-color: #2e9e5b;
  opacity: 0.7;
}
.tarefa-item.done .tarefa-text {
  text-decoration: line-through;
  opacity: 0.55;
}
.tarefa-check {
  accent-color: var(--accent, #6c63ff);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.tarefa-text {
  flex: 1;
  line-height: 1.4;
}
.tarefa-done-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.tarefa-done-btn:hover {
  color: #2e9e5b;
  background: rgba(46, 158, 91, 0.1);
}
.tarefa-item.done .tarefa-done-btn {
  color: #2e9e5b;
}
.tarefa-remove {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.tarefa-remove:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}
.tarefa-date {
  background: transparent;
  border: 1px solid var(--border, #333);
  color: var(--text-muted, #666);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 0.72rem;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  color-scheme: dark;
}
.tarefa-date:hover,
.tarefa-date:focus {
  border-color: var(--accent, #6c63ff);
  color: var(--text-secondary, #a0a0a0);
}
.tarefa-date.overdue {
  border-color: rgba(248, 113, 113, 0.5);
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}
.tarefa-add {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.tarefa-add-row {
  display: flex;
  gap: 6px;
}
.tarefa-add-row input[type=text] {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s;
}
.tarefa-add-row input[type=text]:focus {
  border-color: var(--accent, #6c63ff);
}
.tarefa-add-row button {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--accent, #6c63ff);
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
  flex-shrink: 0;
}
.tarefa-add-row button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.tarefa-edit {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.tarefa-edit:hover {
  color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.1);
}
.tarefa-edit-input {
  flex: 1;
  min-width: 0;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--accent, #6c63ff);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.92rem;
  outline: none;
}
.tarefa-edit-confirm {
  background: transparent;
  border: none;
  color: #2e9e5b;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.tarefa-edit-confirm:hover {
  background: rgba(46, 158, 91, 0.1);
}
.tarefa-edit-full {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.tarefa-edit-actions {
  display: flex;
  gap: 6px;
}
.tarefa-edit-actions .tarefa-edit-confirm {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}
.tarefa-edit-actions .tarefa-remove {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 0.82rem;
  border: 1px solid var(--border, #333);
  border-radius: 8px;
  color: var(--text-muted, #666);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.tarefa-edit-actions .tarefa-remove:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
}
.tarefa-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.tarefa-body-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.tarefa-body-top .tarefa-text {
  flex: 1;
  min-width: 0;
}
.tarefa-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.15s;
}
.tarefa-item:hover .tarefa-actions {
  opacity: 1;
}
.tarefa-item.done .tarefa-actions {
  opacity: 1;
}
.tarefa-dates {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tarefa-date-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid;
  letter-spacing: 0.2px;
}
.tarefa-date-chip i {
  font-size: 0.62rem;
}
.tarefa-date-chip.start {
  color: #4fd17b;
  border-color: rgba(79, 209, 123, 0.3);
  background: rgba(79, 209, 123, 0.07);
}
.tarefa-date-chip.end {
  color: var(--text-muted, #666);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.tarefa-date-chip.due {
  color: #e9b74c;
  border-color: rgba(233, 183, 76, 0.3);
  background: rgba(233, 183, 76, 0.07);
}
.tarefa-item.done .tarefa-date-chip {
  opacity: 0.45;
}
.tarefa-dates-row {
  display: flex;
  gap: 6px;
}
.tarefa-date-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  transition: border-color 0.15s;
  min-width: 0;
}
.tarefa-date-field:focus-within {
  border-color: var(--accent, #6c63ff);
}
.tarefa-date-field i {
  font-size: 0.65rem;
  flex-shrink: 0;
}
.tarefa-date-field.start i {
  color: #4fd17b;
}
.tarefa-date-field.end i {
  color: var(--text-muted, #666);
}
.tarefa-date-field.due i {
  color: #e9b74c;
}
.tarefa-date-field input[type=date] {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.75rem;
  color-scheme: dark;
  cursor: pointer;
}
@media (max-width: 860px) {
  .dash-sidebar {
    width: 270px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.45);
  }
  .dash-shell.menu-open .dash-sidebar {
    transform: translateX(0);
  }
  .collapse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .dash-content {
    min-height: 100vh;
  }
}
app-questoes {
  flex: 1;
  min-width: 0;
  display: flex;
}
.ques-wrap {
  flex: 1;
  width: 100%;
  padding: 32px;
}
.ques-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  background:
    linear-gradient(
      90deg,
      var(--gradient-1, #6c63ff),
      var(--gradient-2, #e040fb));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ques-filters {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ques-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted, #666);
  font-size: 0.85rem;
  font-weight: 600;
}
.ques-filters select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-card, #222);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.95rem;
  min-width: 220px;
}
.ques-cadastro {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ques-cadastro h2 {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.2rem;
  margin: 0;
}
.ques-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted, #666);
  font-size: 0.85rem;
  font-weight: 600;
}
.ques-field textarea {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-family: inherit;
  resize: vertical;
}
.ques-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border, #333);
  border-radius: 10px;
  background: var(--bg-secondary, #1a1a1a);
}
.ques-option.is-correct {
  border-color: #2e9e5b;
  background: rgba(46, 158, 91, 0.08);
}
.ques-option input[type=text] {
  flex: 1;
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: var(--text-primary, #f0f0f0);
}
.ques-actions {
  display: flex;
  gap: 10px;
}
.ques-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ques-btn:hover {
  opacity: 0.85;
}
.ques-btn.save {
  background: var(--accent, #6c63ff);
  color: #fff;
}
.ques-btn.cancel {
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-secondary, #a0a0a0);
  border: 1px solid var(--border, #333);
}
.ques-btn.edit {
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-secondary, #a0a0a0);
  border: 1px solid var(--border, #333);
  padding: 8px 12px;
}
.ques-btn.del {
  background: rgba(224, 90, 90, 0.15);
  color: #ff7a7a;
  padding: 8px 12px;
}
.ques-list-section h2 {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.ques-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ques-item {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 12px;
  padding: 14px 16px;
}
.ques-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ques-item-q {
  color: var(--text-primary, #f0f0f0);
  font-weight: 600;
}
.ques-item-ok {
  color: #4fd17b;
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 8px;
}
.ques-item-btns {
  display: flex;
  gap: 8px;
}
.ques-item-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.ques-item-opt {
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-secondary, #a0a0a0);
}
.ques-item-opt.is-correct {
  border-color: #2e9e5b;
  color: #4fd17b;
}
.ques-empty {
  color: var(--text-muted, #666);
}
.ques-empty.error {
  color: #ff7a7a;
}
.quiz-card {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
}
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.quiz-title {
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
}
.quiz-progress {
  color: var(--text-muted, #666);
  font-size: 0.9rem;
}
.quiz-question {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border, #333);
}
.quiz-q {
  color: var(--text-primary, #f0f0f0);
  font-weight: 600;
  margin-bottom: 12px;
}
.quiz-num {
  color: var(--accent, #6c63ff);
  font-weight: 800;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.15s;
}
.quiz-option:hover {
  border-color: var(--accent, #6c63ff);
}
.quiz-option.selected {
  border-color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.15);
}
.quiz-letter {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent, #6c63ff);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.quiz-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.quiz-hint {
  color: var(--text-muted, #666);
  font-size: 0.85rem;
}
.mat-btn-finish:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.quiz-result {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 24px;
}
.quiz-grade {
  text-align: center;
  margin-bottom: 24px;
}
.quiz-grade-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent, #6c63ff);
}
.quiz-grade-label {
  display: block;
  color: var(--text-muted, #666);
  margin-bottom: 14px;
}
.quiz-grade-bars {
  display: flex;
  height: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-secondary, #1a1a1a);
}
.quiz-bar-ok {
  background: #2e9e5b;
}
.quiz-bar-no {
  background: #e05a5a;
}
.quiz-review {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.quiz-review-item {
  border: 1px solid var(--border, #333);
  border-left: 4px solid var(--border, #333);
  border-radius: 10px;
  padding: 12px 14px;
}
.quiz-review-item.is-ok {
  border-left-color: #2e9e5b;
}
.quiz-review-item.is-no {
  border-left-color: #e05a5a;
}
.quiz-review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.quiz-review-q {
  color: var(--text-primary, #f0f0f0);
  font-weight: 600;
}
.quiz-review-badge.is-ok,
.quiz-review-badge {
  color: #4fd17b;
}
.quiz-review-item.is-no .quiz-review-badge {
  color: #ff7a7a;
}
.quiz-review-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.quiz-review-opt {
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--text-secondary, #a0a0a0);
}
.quiz-review-opt.is-correct {
  border-color: #2e9e5b;
  color: #4fd17b;
}
.quiz-review-opt.is-chosen-wrong {
  border-color: #e05a5a;
  color: #ff7a7a;
}
.mat-levels {
  justify-content: center;
}
.mat-level.az204 {
  border-color: #4f8ef7;
  color: #6ba8ff;
}
.mat-level.dp900 {
  border-color: #2e9e5b;
  color: #4fd17b;
}
.mat-level.sc900 {
  border-color: #c757d6;
  color: #e57ff2;
}
.mat-topicos {
  margin-top: 32px;
}
.mat-topicos h2 {
  color: var(--text-primary, #f0f0f0);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.mat-topicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.mat-topico-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border, #333);
  background: var(--bg-card, #222);
  color: var(--text-primary, #f0f0f0);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  font-size: 0.92rem;
}
.mat-topico-btn:hover {
  border-color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.08);
  transform: translateX(3px);
}
.mat-topico-id {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.12);
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.mat-topico-label {
  flex: 1;
  font-weight: 500;
}
.mat-topico-btn i {
  color: var(--text-muted, #666);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.sim-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border, #333);
  padding-bottom: 0;
}
.sim-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted, #666);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: -1px;
}
.sim-tab:hover {
  color: var(--text-primary, #f0f0f0);
}
.sim-tab.active {
  color: var(--accent, #6c63ff);
  border-bottom-color: var(--accent, #6c63ff);
}
.topico-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.topico-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topico-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border, #333);
  color: var(--text-secondary, #a0a0a0);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s;
  flex-shrink: 0;
}
.topico-back:hover {
  color: var(--text-primary, #f0f0f0);
  border-color: var(--text-secondary, #a0a0a0);
}
.topico-detail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.topico-detail-title h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-primary, #f0f0f0);
}
.topico-stats {
  display: flex;
  gap: 16px;
}
.topico-questions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.topico-q-item {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.topico-q-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.topico-q-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent, #6c63ff);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topico-q-text {
  flex: 1;
  color: var(--text-primary, #f0f0f0);
  font-weight: 600;
  line-height: 1.5;
}
.topico-q-level {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}
.topico-q-level.simples {
  background: rgba(46, 158, 91, 0.15);
  color: #4fd17b;
}
.topico-q-level.medio {
  background: rgba(214, 154, 45, 0.15);
  color: #e9b74c;
}
.topico-q-level.dificil {
  background: rgba(224, 90, 90, 0.15);
  color: #ff7a7a;
}
.topico-q-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 36px;
}
.topico-q-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary, #a0a0a0);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
}
.topico-q-opt.correct {
  border-color: #2e9e5b;
  color: #4fd17b;
  background: rgba(46, 158, 91, 0.08);
}
.mat-topico-btn {
  justify-content: space-between;
}
.topico-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 8px;
  flex-shrink: 0;
}
.topico-meta-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted, #666);
}
.topico-meta-ok {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4fd17b;
}
.topico-meta-no {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff7a7a;
}
app-diario {
  flex: 1;
  min-width: 0;
  display: flex;
}
.diario-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted, #666);
  margin: 16px 0 10px;
}
.diario-section-label i {
  color: var(--accent, #6c63ff);
}
.diario-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.diario-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-secondary, #a0a0a0);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s;
  min-width: 68px;
}
.diario-option-btn:hover {
  border-color: var(--accent, #6c63ff);
  color: var(--text-primary, #f0f0f0);
}
.diario-option-btn.selected {
  border-color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.15);
  color: var(--text-primary, #f0f0f0);
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.25);
}
.diario-option-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.diario-option-label {
  white-space: nowrap;
}
.diario-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.diario-textarea:focus {
  border-color: var(--accent, #6c63ff);
}
.diario-chip-nota {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}
.peso-chart-wrap {
  padding: 4px 0 0;
}
.peso-chart-wrap svg {
  display: block;
  overflow: visible;
}
.peso-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted, #666);
  margin-top: 4px;
  padding: 0 20px;
}
.peso-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: peso-spin 0.6s linear infinite;
  vertical-align: middle;
}
@keyframes peso-spin {
  to {
    transform: rotate(360deg);
  }
}
.peso-feedback {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: peso-fadein 0.2s ease;
}
@keyframes peso-fadein {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.peso-feedback--ok {
  background: rgba(46, 158, 91, 0.15);
  border: 1px solid rgba(46, 158, 91, 0.4);
  color: #4fd17b;
}
.peso-feedback--err {
  background: rgba(224, 90, 90, 0.15);
  border: 1px solid rgba(224, 90, 90, 0.4);
  color: #ff7a7a;
}
app-peso {
  flex: 1;
  min-width: 0;
  display: flex;
}
.peso-page {
  flex: 1;
  width: 100%;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.peso-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.peso-stat {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.peso-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent, #6c63ff);
}
.peso-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #666);
}
.peso-main {
  display: grid;
  grid-template-columns: 280px 300px 1fr;
  gap: 16px;
  align-items: start;
}
.peso-col-cal,
.peso-col-form,
.peso-col-charts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.peso-card {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.3));
}
.peso-input-group {
  margin-bottom: 14px;
}
.peso-input-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #666);
  margin-bottom: 8px;
}
.peso-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.peso-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.15s;
}
.peso-input:focus {
  border-color: var(--accent, #6c63ff);
}
.peso-input-unit {
  font-size: 0.9rem;
  color: var(--text-muted, #666);
  font-weight: 600;
}
.peso-imc-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid;
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 14px;
}
.peso-imc-value {
  font-weight: 800;
  font-size: 1rem;
}
.peso-imc-label {
  font-size: 0.8rem;
  opacity: 0.8;
}
.peso-history-card {
  max-height: 320px;
  overflow-y: auto;
}
.peso-history-card::-webkit-scrollbar {
  width: 4px;
}
.peso-history-card::-webkit-scrollbar-thumb {
  background: var(--border, #333);
  border-radius: 4px;
}
.peso-history-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.peso-history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 4px;
  border-bottom: 1px dashed var(--border, #333);
  font-size: 0.88rem;
}
.peso-history-date {
  color: var(--text-muted, #666);
  flex: 1;
}
.peso-history-val {
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
}
.peso-history-imc {
  font-size: 0.78rem;
  color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.1);
  border-radius: 20px;
  padding: 2px 8px;
}
.peso-svg {
  display: block;
  width: 100%;
  height: 130px;
  overflow: visible;
}
@media (max-width: 1100px) {
  .peso-main {
    grid-template-columns: 260px 1fr;
  }
  .peso-col-charts {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .peso-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .peso-main {
    grid-template-columns: 1fr;
  }
  .peso-col-charts {
    grid-template-columns: 1fr;
  }
  .peso-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.diario-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.diario-edit-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border, #333);
  color: var(--text-muted, #666);
  border-radius: 7px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.diario-edit-btn:hover {
  color: var(--accent, #6c63ff);
  border-color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.08);
}
app-dividas {
  flex: 1;
  min-width: 0;
  display: flex;
}
.dividas-wrap {
  flex: 1;
  width: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.dividas-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.dividas-header-row .habits-title {
  margin-bottom: 0;
}
.dividas-grid-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dividas-stat-card {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dividas-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted, #666);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dividas-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
}
.dividas-val-total {
  color: var(--text-primary, #f0f0f0);
}
.dividas-val-pago {
  color: #4fd17b;
}
.dividas-val-restante {
  color: #f87171;
}
.dividas-stat-donut {
  align-items: center;
}
.dividas-donut-wrap {
  width: 90px;
  height: 90px;
}
.dividas-donut-svg {
  width: 100%;
  height: 100%;
}
.dividas-card {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 16px;
  padding: 18px;
}
.dividas-cat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.dividas-cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dividas-cat-name {
  width: 140px;
  flex-shrink: 0;
  font-size: 0.88rem;
  color: var(--text-secondary, #a0a0a0);
}
.dividas-cat-bar-wrap {
  flex: 1;
}
.dividas-cat-bar-bg {
  height: 10px;
  border-radius: 6px;
  background: var(--bg-secondary, #1a1a1a);
  overflow: hidden;
}
.dividas-cat-bar-fill {
  height: 100%;
  border-radius: 6px;
  background:
    linear-gradient(
      90deg,
      #6c63ff,
      #4fd17b);
  transition: width 0.4s ease;
}
.dividas-cat-val {
  font-size: 0.8rem;
  color: #f87171;
  white-space: nowrap;
  width: 140px;
  text-align: right;
}
.dividas-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dividas-item {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-left: 4px solid var(--accent, #6c63ff);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s;
}
.dividas-item-vencida {
  border-left-color: #f87171;
}
.dividas-item-quitada {
  border-left-color: #4fd17b;
  opacity: 0.75;
}
.dividas-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dividas-item-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dividas-item-nome {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary, #f0f0f0);
}
.dividas-item-credor {
  font-size: 0.82rem;
  color: var(--text-muted, #666);
}
.dividas-item-cat {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(108, 99, 255, 0.12);
  color: var(--accent, #6c63ff);
  border: 1px solid var(--accent, #6c63ff);
}
.dividas-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dividas-badge-vencida {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid #f87171;
}
.dividas-badge-quitada {
  background: rgba(79, 209, 123, 0.12);
  color: #4fd17b;
  border: 1px solid #4fd17b;
}
.dividas-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.dividas-item-actions .tarefa-edit,
.dividas-item-actions .tarefa-remove {
  opacity: 1;
}
.dividas-btn-del-confirm {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #f87171;
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  cursor: pointer;
}
.dividas-item-valores {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.dividas-val-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dividas-val-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted, #666);
}
.dividas-val-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
}
.dividas-val-num.dividas-val-pago {
  color: #4fd17b;
}
.dividas-val-num.dividas-val-restante {
  color: #f87171;
}
.dividas-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dividas-progress-bg {
  flex: 1;
  height: 8px;
  border-radius: 6px;
  background: var(--bg-secondary, #1a1a1a);
  overflow: hidden;
}
.dividas-progress-fill {
  height: 100%;
  border-radius: 6px;
  background:
    linear-gradient(
      90deg,
      #6c63ff,
      #4fd17b);
  transition: width 0.4s ease;
}
.dividas-progress-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted, #666);
  width: 36px;
  text-align: right;
}
.dividas-item-obs {
  font-size: 0.82rem;
  color: var(--text-muted, #666);
  margin: 0;
  padding-top: 4px;
  border-top: 1px dashed var(--border, #333);
}
.dividas-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
}
.dividas-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 201;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 18px;
  width: min(640px, 95vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.dividas-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border, #333);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary, #f0f0f0);
}
.dividas-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.15s;
}
.dividas-modal-close:hover {
  color: #f87171;
}
.dividas-modal-body {
  padding: 20px;
  overflow-y: auto;
}
.dividas-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--border, #333);
}
.dividas-btn-cancel {
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: transparent;
  color: var(--text-secondary, #a0a0a0);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.dividas-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dividas-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dividas-field-full {
  grid-column: 1 / -1;
}
.dividas-field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted, #666);
}
.dividas-field input,
.dividas-field select,
.dividas-field textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.15s;
}
.dividas-field input:focus,
.dividas-field select:focus,
.dividas-field textarea:focus {
  border-color: var(--accent, #6c63ff);
}
.dividas-field textarea {
  resize: vertical;
}
.dividas-input-prefix {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  border: 1px solid var(--border, #333);
  background: var(--bg-secondary, #1a1a1a);
  overflow: hidden;
  transition: border-color 0.15s;
}
.dividas-input-prefix:focus-within {
  border-color: var(--accent, #6c63ff);
}
.dividas-input-prefix > span {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted, #666);
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid var(--border, #333);
  white-space: nowrap;
  flex-shrink: 0;
}
.dividas-input-prefix input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: none !important;
  background: transparent;
  color: var(--text-primary, #f0f0f0);
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
}
@media (max-width: 1100px) {
  .dividas-grid-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .dividas-grid-stats {
    grid-template-columns: 1fr;
  }
  .dividas-form-grid {
    grid-template-columns: 1fr;
  }
  .dividas-field-full {
    grid-column: 1;
  }
}
app-notas {
  flex: 1;
  min-width: 0;
  display: flex;
}
.notas-shell {
  flex: 1;
  display: flex;
  min-width: 0;
  min-height: 0;
  height: calc(100vh - 0px);
}
.notas-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg-secondary, #161616);
  border-right: 1px solid var(--border, #333);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.notas-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 12px;
  border-bottom: 1px solid var(--border, #333);
}
.notas-sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
  display: flex;
  align-items: center;
  gap: 8px;
}
.notas-sidebar-title i {
  color: var(--accent, #6c63ff);
}
.notas-new-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  background: transparent;
  color: var(--text-secondary, #a0a0a0);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.notas-new-btn:hover {
  background: var(--accent, #6c63ff);
  color: #fff;
  border-color: var(--accent, #6c63ff);
}
.notas-search-wrap {
  position: relative;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border, #333);
}
.notas-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, #666);
  font-size: 0.8rem;
  pointer-events: none;
}
.notas-search {
  width: 100%;
  padding: 8px 10px 8px 30px;
  border-radius: 8px;
  border: 1px solid var(--border, #333);
  background: var(--bg-card, #222);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.85rem;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.notas-search:focus {
  border-color: var(--accent, #6c63ff);
}
.notas-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}
.notas-list::-webkit-scrollbar {
  width: 4px;
}
.notas-list::-webkit-scrollbar-thumb {
  background: var(--border, #333);
  border-radius: 4px;
}
.notas-list-item {
  padding: 12px 16px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
.notas-list-item:hover {
  background: var(--bg-card, #222);
}
.notas-list-item.active {
  background: var(--bg-card, #222);
  border-left-color: var(--accent, #6c63ff);
}
.notas-list-item-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.notas-list-titulo {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary, #f0f0f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notas-del-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-size: 0.72rem;
  padding: 3px 5px;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.15s;
  flex-shrink: 0;
}
.notas-list-item:hover .notas-del-btn {
  opacity: 1;
}
.notas-del-btn:hover {
  color: #f87171;
}
.notas-del-confirm {
  background: transparent;
  border: none;
  color: #4fd17b;
  cursor: pointer;
  font-size: 0.72rem;
  padding: 3px 5px;
  border-radius: 5px;
  flex-shrink: 0;
}
.notas-del-cancel {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  font-size: 0.72rem;
  padding: 3px 5px;
  border-radius: 5px;
  flex-shrink: 0;
}
.notas-list-preview {
  font-size: 0.78rem;
  color: var(--text-muted, #666);
  margin: 0 0 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notas-list-date {
  font-size: 0.68rem;
  color: var(--text-muted, #555);
}
.notas-empty-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 16px;
  color: var(--text-muted, #666);
  font-size: 0.85rem;
  text-align: center;
}
.notas-empty-list i {
  font-size: 2rem;
  opacity: 0.4;
}
.notas-editor-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary, #0f0f0f);
}
.notas-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 40px;
}
.notas-placeholder-icon {
  font-size: 3rem;
  color: var(--accent, #6c63ff);
  opacity: 0.3;
}
.notas-placeholder-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary, #f0f0f0);
}
.notas-placeholder-sub {
  font-size: 0.88rem;
  color: var(--text-muted, #666);
}
.notas-editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.notas-editor-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 32px 12px;
  border-bottom: 1px solid var(--border, #333);
}
.notas-titulo-input {
  flex: 1;
  min-width: 0;
  font-size: 1.6rem;
  font-weight: 800;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary, #f0f0f0);
  font-family: inherit;
}
.notas-titulo-input::placeholder {
  color: var(--text-muted, #555);
}
.notas-editor-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.notas-saving {
  font-size: 0.78rem;
  color: var(--text-muted, #666);
  display: flex;
  align-items: center;
  gap: 6px;
}
.notas-saved {
  font-size: 0.78rem;
  color: #4fd17b;
  display: flex;
  align-items: center;
  gap: 5px;
}
.notas-wordcount,
.notas-charcount {
  font-size: 0.72rem;
  color: var(--text-muted, #555);
}
.notas-textarea {
  flex: 1;
  width: 100%;
  min-height: 0;
  padding: 24px 32px;
  background: transparent;
  border: none;
  outline: none;
  resize: none;
  color: var(--text-primary, #f0f0f0);
  font-size: 1rem;
  line-height: 1.8;
  font-family: inherit;
  box-sizing: border-box;
}
.notas-textarea::placeholder {
  color: var(--text-muted, #444);
}
@media (max-width: 700px) {
  .notas-sidebar {
    width: 100%;
    height: 260px;
    border-right: none;
    border-bottom: 1px solid var(--border, #333);
  }
  .notas-shell {
    flex-direction: column;
  }
}
.dash-hamburger {
  display: none;
}
.dash-overlay {
  display: none;
}
@media (max-width: 860px) {
  .dash-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 200;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary, #161616);
    border: 1px solid var(--border, #333);
    border-radius: 10px;
    color: var(--text-primary, #f0f0f0);
    font-size: 1rem;
    cursor: pointer;
  }
  .dash-overlay.visible {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
}
.tarefa-limit-badge {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #666);
  background: var(--bg-secondary, #1a1a1a);
  border: 1px solid var(--border, #333);
  border-radius: 20px;
  padding: 1px 8px;
  flex-shrink: 0;
}
.tarefa-limit-badge.at-limit {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.08);
}
.tarefa-limit-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #666);
  cursor: pointer;
  font-size: 0.78rem;
  padding: 3px 5px;
  border-radius: 6px;
  transition: all 0.15s;
  flex-shrink: 0;
  opacity: 0;
}
.tarefas-card-title:hover .tarefa-limit-btn {
  opacity: 1;
}
.tarefa-limit-btn:hover {
  color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.1);
}
.tarefa-limit-input {
  width: 60px;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--accent, #6c63ff);
  background: var(--bg-secondary, #1a1a1a);
  color: var(--text-primary, #f0f0f0);
  font-size: 0.8rem;
  outline: none;
  flex-shrink: 0;
}
.tarefas-card.at-limit .tarefa-add-row input,
.tarefas-card.at-limit .tarefa-add-row button {
  opacity: 0.4;
  cursor: not-allowed;
}
.dash-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 52px;
  flex-shrink: 0;
  background: var(--bg-secondary, #161616);
  border-bottom: 1px solid var(--border, #333);
  gap: 12px;
}
.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.dash-topbar-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary, #f0f0f0);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-collapse-btn {
  background: transparent;
  border: 1px solid var(--border, #333);
  color: var(--text-secondary, #a0a0a0);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.dash-collapse-btn:hover {
  color: var(--accent, #6c63ff);
  border-color: var(--accent, #6c63ff);
}
.dash-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  color: var(--text-muted, #666);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-search-btn:hover {
  border-color: var(--accent, #6c63ff);
  color: var(--text-secondary, #a0a0a0);
}
.dash-search-hint {
  font-size: 0.7rem;
  background: var(--bg-secondary, #161616);
  border: 1px solid var(--border, #333);
  border-radius: 4px;
  padding: 1px 5px;
}
.dash-topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-topbar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border, #333);
}
.dash-topbar-name {
  font-size: 0.85rem;
  color: var(--text-secondary, #a0a0a0);
  font-weight: 600;
}
.dash-shell.sidebar-collapsed .dash-sidebar {
  width: 60px;
}
.dash-shell.sidebar-collapsed .dash-sidebar .dash-sidebar-avatar,
.dash-shell.sidebar-collapsed .dash-sidebar .dash-avatar-tags,
.dash-shell.sidebar-collapsed .dash-sidebar .dash-group-title,
.dash-shell.sidebar-collapsed .dash-sidebar .dash-link span,
.dash-shell.sidebar-collapsed .dash-sidebar .dash-logout span,
.dash-shell.sidebar-collapsed .dash-sidebar .dash-site-link span {
  display: none;
}
.dash-shell.sidebar-collapsed .dash-sidebar .dash-link {
  justify-content: center;
  padding: 10px 0;
}
.dash-shell.sidebar-collapsed .dash-sidebar .dash-link i {
  margin: 0;
  font-size: 1.1rem;
}
.dash-shell.sidebar-collapsed .dash-sidebar .dash-logout,
.dash-shell.sidebar-collapsed .dash-sidebar .dash-site-link {
  justify-content: center;
  padding: 10px 0;
}
.dash-site-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: var(--text-muted, #666);
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}
.dash-site-link:hover {
  color: var(--accent, #6c63ff);
  background: rgba(108, 99, 255, 0.08);
}
.dash-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
}
.dash-search-panel {
  background: var(--bg-card, #222);
  border: 1px solid var(--border, #333);
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.dash-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border, #333);
  color: var(--text-muted, #666);
}
.dash-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary, #f0f0f0);
  font-size: 0.95rem;
}
.dash-search-esc {
  font-size: 0.7rem;
  background: var(--bg-secondary, #161616);
  border: 1px solid var(--border, #333);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-muted, #666);
  cursor: pointer;
}
.dash-search-results {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  max-height: 360px;
  overflow-y: auto;
}
.dash-search-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted, #666);
  padding: 8px 16px 4px;
}
.dash-search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  color: var(--text-secondary, #a0a0a0);
  font-size: 0.9rem;
  transition: all 0.15s;
}
.dash-search-result-item:hover {
  background: rgba(108, 99, 255, 0.1);
  color: var(--text-primary, #f0f0f0);
}
.dash-search-result-item i {
  color: var(--accent, #6c63ff);
  width: 16px;
  text-align: center;
}
.dash-search-empty {
  padding: 20px 16px;
  color: var(--text-muted, #666);
  font-size: 0.88rem;
  text-align: center;
}
.dash-main > .dash-content {
  flex: 1;
  min-height: 0;
}
@media (max-width: 860px) {
  .dash-topbar {
    padding: 0 14px 0 60px;
  }
  .dash-collapse-btn {
    display: none;
  }
  .dash-search-hint {
    display: none;
  }
  .dash-topbar-name {
    display: none;
  }
}
.dash-sidebar {
  transition: width 0.25s ease;
}
@keyframes route-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
router-outlet + * {
  animation: route-enter 0.22s ease both;
}
.dash-group-items {
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition: grid-template-rows 0.22s ease;
}
.dash-group-items.collapsed {
  grid-template-rows: 0fr;
}
.dash-group-items > * {
  min-height: 0;
  overflow: hidden;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.dividas-modal,
.rotina-modal,
.notas-modal {
  animation: modal-in 0.2s ease both;
}
@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dividas-modal-backdrop,
.rotina-modal-backdrop {
  animation: overlay-in 0.18s ease both;
}
@keyframes search-panel-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.dash-search-panel {
  animation: search-panel-in 0.18s ease both;
}
.dash-search-result-item.keyboard-active {
  background: rgba(108, 99, 255, 0.18);
  color: var(--text-primary, #f0f0f0);
}
.mat-stat,
.habits-stat,
.peso-stat,
.tarefas-card,
.dividas-stat-card,
.dividas-item,
.mat-recent-item,
.peso-history-row {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mat-stat:hover,
.habits-stat:hover,
.peso-stat:hover,
.dividas-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
@keyframes list-item-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.mat-recent-item,
.dividas-item,
.tarefa-item,
.peso-history-row {
  animation: list-item-in 0.2s ease both;
}
.mat-recent-item:nth-child(1) {
  animation-delay: 0.03s;
}
.mat-recent-item:nth-child(2) {
  animation-delay: 0.06s;
}
.mat-recent-item:nth-child(3) {
  animation-delay: 0.09s;
}
.mat-recent-item:nth-child(4) {
  animation-delay: 0.12s;
}
.mat-recent-item:nth-child(5) {
  animation-delay: 0.15s;
}
.dividas-item:nth-child(1) {
  animation-delay: 0.04s;
}
.dividas-item:nth-child(2) {
  animation-delay: 0.08s;
}
.dividas-item:nth-child(3) {
  animation-delay: 0.12s;
}
.dividas-item:nth-child(4) {
  animation-delay: 0.16s;
}
.tarefa-item:nth-child(1) {
  animation-delay: 0.03s;
}
.tarefa-item:nth-child(2) {
  animation-delay: 0.06s;
}
.tarefa-item:nth-child(3) {
  animation-delay: 0.09s;
}
.tarefa-item:nth-child(4) {
  animation-delay: 0.12s;
}
.tarefa-item:nth-child(5) {
  animation-delay: 0.15s;
}
@keyframes option-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.quiz-option {
  animation: option-in 0.18s ease both;
}
.quiz-option:nth-child(1) {
  animation-delay: 0.04s;
}
.quiz-option:nth-child(2) {
  animation-delay: 0.08s;
}
.quiz-option:nth-child(3) {
  animation-delay: 0.12s;
}
.quiz-option:nth-child(4) {
  animation-delay: 0.16s;
}
@keyframes result-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.quiz-result {
  animation: result-in 0.25s ease both;
}
.time-value,
.countdown {
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
