/* ==========================================================================
   COMPONENTES: BOTÃO TOGGLE DE TEMA E RELÓGIO DIGITAL
   ========================================================================== */

/* Botão de Alternância de Tema (Controle: 0.8rem) */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.35rem 0.65rem;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(f); /* 0.8rem - Controles */
  font-weight: 600;
  font-family: var(--font-family-base);
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.theme-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Relógio Digital 24H (Controle: 0.8rem) */
.digital-clock-container {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.65rem;
  border-radius: 5px;
  font-family: var(--font-family-base);
  font-size: var(--font-control); /* 0.8rem - Controles */
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.03rem;
  user-select: none;
  line-height: 1;
}

/* ==========================================================================
   COMPONENTES E ESTRUTURA DE PÁGINAS INTERNAS
   ========================================================================== */
.page-header-container {
  margin-bottom: 1.5rem;
}

/* Título de Página (2.2rem) */
.page-title {
  font-size: var(--font-page-title); /* 2.2rem - Título de Página */
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

/* Subtítulo de Página (1.2rem) */
.page-subtitle {
  font-size: var(--font-default); /* 1.2rem - Textos Gerais */
  color: var(--text-muted);
  line-height: 1.4;
}

/* Título de Seção (1.8rem) */
.section-title {
  font-size: var(--font-section-title); /* 1.8rem - Título de Seção */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* Cartão de Conteúdo */
.content-card {
  background-color: var(--content-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
  transition: var(--theme-transition);
}

.content-card h3 {
  font-size: var(--font-section-title); /* 1.8rem - Título de Seção */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.content-card p {
  color: var(--text-primary);
  font-size: var(--font-default); /* 1.2rem - Textos Gerais */
  line-height: 1.6;
}

.content-card .data-output {
  font-size: var(--font-output); /* 1.1rem - Dados de Saída */
  line-height: 1.5;
}