/* ========================================
   WEEKLY REVIEW (Ecrã 1 - Com Dados)
   ======================================== */

.wr-page {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  margin: 0 !important;
  padding: 20px 16px 80px 16px !important;
  background-color: #090907;
  background-image: linear-gradient(rgba(9, 9, 7, 0.6), rgba(9, 9, 7, 0.95)), url('../../assets/bg/weekly-review-bg.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  font-family: 'Manrope', sans-serif;
  box-sizing: border-box;
}

.wr-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.wr-icon-btn {
  background: transparent;
  border: 1px solid rgba(217, 173, 80, 0.4);
  color: #D9AD50;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.wr-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #D9AD50;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: 2px;
}

.wr-logo small {
  font-family: 'Manrope', sans-serif;
  font-size: 0.5rem;
  color: #BDB5A5;
  letter-spacing: 1px;
  margin-top: 2px;
}

.wr-title {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  margin: 0 0 4px 0;
  color: #F4EBD7;
}

.wr-sub {
  font-size: 0.9rem;
  color: #BDB5A5;
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.wr-date-wrap { display: flex; justify-content: flex-start; }

.wr-date-btn {
  background: transparent;
  border: 1px solid rgba(217, 173, 80, 0.4);
  color: #F4EBD7;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.wr-card {
  background: rgba(23, 21, 15, 0.7);
  border: 1px solid rgba(217, 173, 80, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  backdrop-filter: blur(4px);
}

.wr-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wr-summary-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wr-circle {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: conic-gradient(#D9AD50 78%, var(--color-bg-input) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #F4EBD7;
  position: relative;
  flex-shrink: 0;
}
.wr-circle::before {
  content: '';
  position: absolute;
  width: 63px;
  height: 63px;
  background: #17150F;
  border-radius: 50%;
}
.wr-circle span { position: relative; z-index: 1; }

.wr-summary-text h3 { margin: 0; color: #F4EBD7; font-size: 1.05rem; }
.wr-summary-text p { margin: 4px 0 0 0; color: #BDB5A5; font-size: 0.8rem; line-height: 1.3; }

.wr-chevron { color: #D9AD50; font-size: 1.5rem; }

.wr-mini-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(217, 173, 80, 0.1);
  padding-top: 16px;
}

.wr-mini-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.wr-mini-stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(217, 173, 80, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D9AD50;
  margin-bottom: 2px;
}

.wr-mini-stat-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
}

.wr-mini-stat .val {
  font-size: 0.9rem;
  color: #F4EBD7;
  font-weight: bold;
}

.wr-mini-stat .lbl {
  font-size: 0.55rem;
  color: #BDB5A5;
  text-align: center;
  line-height: 1.1;
}

.wr-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.wr-progress-header h3 {
  margin: 0;
  color: #F4EBD7;
  font-size: 1.05rem;
}

.wr-btn-details {
  background: transparent;
  border: 1px solid rgba(217, 173, 80, 0.5);
  color: #D9AD50;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  cursor: pointer;
}

.wr-chart-container {
  display: flex;
  gap: 8px;
  height: 120px;
}

.wr-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #BDB5A5;
  font-size: 0.6rem;
  padding-bottom: 20px;
  text-align: right;
  width: 24px;
}

.wr-chart-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wr-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1;
  border-bottom: 1px solid rgba(217, 173, 80, 0.3);
  background-image: linear-gradient(rgba(217,173,80,0.1) 1px, transparent 1px);
  background-size: 100% 25%;
  background-position: bottom;
}

.wr-bar {
  width: 22px;
  background: linear-gradient(to top, #B88F3D, #F2D58B);
  border-radius: 4px 4px 0 0;
}

.wr-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.wr-bar-labels span {
  font-size: 0.65rem;
  color: #BDB5A5;
  width: 22px;
  text-align: center;
}

.wr-bar-labels span small {
  font-size: 0.5rem;
  color: #7a736c;
  display: block;
  margin-top: 2px;
}

.wr-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.wr-shortcut {
  background: rgba(23, 21, 15, 0.7);
  border: 1px solid rgba(217, 173, 80, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #F4EBD7;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.wr-shortcut-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wr-shortcut-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(217, 173, 80, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D9AD50;
  flex-shrink: 0;
}

.wr-shortcut h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #F4EBD7;
}

.wr-shortcut p {
  margin: 4px 0 0 0;
  font-size: 0.75rem;
  color: #BDB5A5;
  line-height: 1.3;
}

.wr-cta {
  background: #D9AD50;
  color: #090907;
  border: none;
  padding: 16px 24px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-top: 24px;
  margin-bottom: 24px;
}

/* ========================================
   ESTADO VAZIO (Ecrã 1) - Integrado
   ======================================== */
.wr-empty-screen {
  width: 100vw;
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(9, 9, 7, 0.8) 0%, rgba(9, 9, 7, 0.3) 50%, rgba(9, 9, 7, 0.9) 100%),
    url('../../assets/bg/weekly-review-empty-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: local;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}
.wr-empty-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}
.wr-btn-back {
  background: transparent;
  border: 1px solid rgba(217, 173, 80, 0.5);
  color: #D9AD50;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wr-empty-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #D9AD50;
}
.wr-empty-logo svg { width: 24px; height: 24px; fill: #D9AD50; margin-bottom: 2px; }
.wr-empty-logo span { font-family: 'Cinzel', serif; font-size: 1.5rem; letter-spacing: 3px; }
.wr-empty-logo small { font-size: 0.6rem; color: #BDB5A5; letter-spacing: 2px; }

.wr-empty-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.wr-empty-titles { text-align: center; max-width: 320px; }
.wr-empty-titles h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #F2D58B;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}
.wr-empty-titles p {
  font-size: 0.9rem;
  color: #BDB5A5;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}

.wr-ring-container {
  position: relative;
  width: min(220px, 55vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}
.wr-ring-inner {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 8px solid transparent;
  background: linear-gradient(#090907, #090907) padding-box,
              conic-gradient(from 45deg, #7a5a1e, #D9AD50, #F2D58B, #D9AD50, #7a5a1e, #D9AD50, #F2D58B, #D9AD50, #7a5a1e) border-box;
  box-shadow: 0 0 25px rgba(217, 173, 80, 0.4), inset 0 0 20px rgba(217, 173, 80, 0.2);
}
.wr-calendar-icon {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(217, 173, 80, 0.6));
}

.wr-empty-categories {
  width: 100%;
  max-width: 320px;
  text-align: center;
}
.wr-empty-categories h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #F2D58B;
  margin-bottom: 16px;
}
.wr-empty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.wr-empty-grid-item {
  background: rgba(23, 21, 15, 0.6);
  border: 1px solid rgba(217, 173, 80, 0.3);
  border-radius: 12px;
  width: calc(25% - 8px);
  min-width: 65px;
  height: 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}
.wr-empty-grid-item:nth-child(n+5) {
  width: calc(33.33% - 8px);
  max-width: 80px;
}
.wr-empty-grid-item svg { width: 20px; height: 20px; stroke: #D9AD50; fill: none; stroke-width: 1.5; }
.wr-empty-grid-item span { font-size: 0.6rem; color: #F4EBD7; text-align: center; }

.wr-empty-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.wr-empty-btn-cta {
  width: 100%;
  max-width: 340px;
  background: linear-gradient(90deg, #B88F3D 0%, #F2D58B 50%, #B88F3D 100%);
  color: #090907;
  border: none;
  border-radius: 30px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(217, 173, 80, 0.2);
}
.wr-empty-btn-cta svg { width: 20px; height: 20px; stroke: #090907; stroke-width: 2; fill: none; }
.wr-empty-footer p { font-size: 0.7rem; color: #BDB5A5; font-style: italic; }

/* === ESTADO VAZIO (Diretrizes do Arquiteto) === */
.weekly-review-empty {
  width: 100vw;
  min-height: 100vh;
  background-image: linear-gradient(to bottom, rgba(9,9,7,0.8), rgba(9,9,7,0.3) 50%, rgba(9,9,7,0.9)), url('../../assets/bg/weekly-review-empty-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: local;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.weekly-review-empty__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.weekly-review-empty__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.weekly-review-empty__intro { text-align: center; max-width: 320px; }
.weekly-review-empty__intro h1 { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 2rem; color: #F2D58B; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.9); }
.weekly-review-empty__intro p { font-size: 0.9rem; color: #BDB5A5; line-height: 1.4; text-shadow: 0 1px 2px rgba(0,0,0,0.9); }

/* Emblema (Anel + Calendário) */
.weekly-review-empty__emblem {
  position: relative;
  width: min(220px, 55vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}
.weekly-review-empty__ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 8px solid transparent;
  background: linear-gradient(#090907, #090907) padding-box,
              conic-gradient(from 45deg, #7a5a1e, #D9AD50, #F2D58B, #D9AD50, #7a5a1e, #D9AD50, #F2D58B, #D9AD50, #7a5a1e) border-box;
  box-shadow: 0 0 25px rgba(217, 173, 80, 0.4), inset 0 0 20px rgba(217, 173, 80, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Categorias */
.weekly-review-empty__categories { width: 100%; max-width: 320px; text-align: center; }
.weekly-review-empty__categories h2 { font-family: 'Cinzel', serif; font-size: 1.1rem; color: #F2D58B; margin-bottom: 16px; }

/* Footer */
.weekly-review-empty__footer { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; }
.weekly-review-empty__footer p { font-size: 0.7rem; color: #BDB5A5; font-style: italic; }

/* Forçar o Estado Vazio a ocupar o ecrã inteiro (Overlay) */
.weekly-review-empty {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999 !important;
  overflow-y: auto !important; /* Permite scroll se o ecrã for muito pequeno */
  margin: 0 !important;
  padding: 20px 16px 80px 16px !important;
  background-color: #090907;
  background-image:
    linear-gradient(to bottom, rgba(9, 9, 7, 0.8) 0%, rgba(9, 9, 7, 0.3) 50%, rgba(9, 9, 7, 0.9) 100%),
    url('../../assets/bg/weekly-review-empty-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: local;
  display: flex;
  flex-direction: column;
}

/* === ECRÃ 2: RESUMO DA SEMANA === */
.wr2-screen {
  position: fixed !important;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 20px 16px 40px 16px;
  background-color: #090907;
  background-image: linear-gradient(rgba(9,9,7,0.8), rgba(9,9,7,0.95)), url('../../assets/bg/weekly-review-bg2.png');
  background-size: cover;
  background-position: center;
  font-family: 'Manrope', sans-serif;
  display: flex;
  flex-direction: column;
}

.wr2-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.wr2-titles h1 { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1.8rem; color: #F4EBD7; margin: 0 0 8px 0; }
.wr2-titles p { font-size: 0.9rem; color: #BDB5A5; margin: 0 0 16px 0; }
.wr2-date { display: flex; justify-content: flex-start; margin-bottom: 20px; }

.wr2-cards { display: flex; flex-direction: column; gap: 16px; }
.wr2-card {
  background: rgba(23, 21, 15, 0.7);
  border: 1px solid rgba(217, 173, 80, 0.2);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.wr2-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wr2-card-title { display: flex; align-items: center; gap: 12px; }
.wr2-icon-box { width: 36px; height: 36px; border-radius: 8px; background: rgba(217,173,80,0.15); color: #D9AD50; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; }
.wr2-card-title h3 { margin: 0; color: #F4EBD7; font-size: 1rem; }
.wr2-card-title p { margin: 2px 0 0 0; color: #BDB5A5; font-size: 0.75rem; }

/* Barra de Progresso */
.wr2-progress-bar { position: relative; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 16px; display: flex; align-items: center; }
.wr2-progress-fill { height: 100%; background: linear-gradient(90deg, #B88F3D, #F2D58B); border-radius: 3px; }
.wr2-progress-text { position: absolute; right: 0; top: -8px; font-size: 0.75rem; color: #D9AD50; font-weight: bold; }

/* Stats Tarefas */
.wr2-stats-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(217,173,80,0.1); padding-top: 12px; }
.wr2-stat { display: flex; flex-direction: column; align-items: flex-start; font-size: 0.7rem; color: #BDB5A5; gap: 2px; position: relative; padding-left: 12px; }
.wr2-stat .dot { position: absolute; left: 0; top: 4px; width: 6px; height: 6px; border-radius: 50%; }
.wr2-stat strong { font-size: 1rem; color: #F4EBD7; }

/* Ícones Hábitos */
.wr2-habits-icons { display: flex; justify-content: space-between; border-top: 1px solid rgba(217,173,80,0.1); padding-top: 12px; }
.wr2-habit-icon { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 1.2rem; }
.wr2-habit-icon small { font-size: 0.6rem; color: #BDB5A5; text-align: center; line-height: 1.2; }

/* Lista Objetivos */
.wr2-goals-list { display: flex; justify-content: space-between; border-top: 1px solid rgba(217,173,80,0.1); padding-top: 12px; gap: 8px; }
.wr2-goal-item { display: flex; align-items: center; gap: 6px; font-size: 0.65rem; color: #BDB5A5; background: rgba(255,255,255,0.03); padding: 6px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.wr2-goal-item.is-completed { color: #2ecc71; border-color: rgba(46,204,113,0.3); }

/* Citação */
.wr2-quote { background: rgba(255,255,255,0.03); border-left: 3px solid #D9AD50; padding: 12px; border-radius: 8px; margin-top: 8px; }
.wr2-quote p { margin: 0; font-size: 0.8rem; color: #BDB5A5; font-style: italic; }

/* Botão Voltar */
.wr2-footer { margin-top: 24px; display: flex; justify-content: center; }
.wr2-btn-voltar { width: 100%; max-width: 340px; background: linear-gradient(90deg, #B88F3D 0%, #F2D58B 50%, #B88F3D 100%); color: #090907; border: none; border-radius: 30px; padding: 16px 24px; font-size: 1rem; font-weight: bold; cursor: pointer; text-align: center; }

/* Correção do Círculo de Progresso (Ecrã 1) */
.wr-circle {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--color-bg-input); /* Cor de fundo quando está a 0% */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #F4EBD7;
  position: relative;
  flex-shrink: 0;
  border: none; /* Remove qualquer borda que esteja a causar o contorno dourado */
}

.wr-circle::before {
  content: '';
  position: absolute;
  width: 63px;
  height: 63px;
  background: #17150F;
  border-radius: 50%;
}

.wr-circle span {
  position: relative;
  z-index: 1;
}

/* === ECRÃ 3: TABS === */
.wr3-screen {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999;
  overflow-y: auto; padding: 20px 16px 40px 16px; background-color: #090907;
  background-image: linear-gradient(rgba(9,9,7,0.8), rgba(9,9,7,0.95)), url('../../assets/bg/weekly-review-bg2.png');
  background-size: cover; background-position: center; font-family: 'Manrope', sans-serif;
  display: flex; flex-direction: column;
}




/* Correção das Tabs do Ecrã 3 */







/* Anel de Progresso do Ecrã 3 */
.wr3-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: conic-gradient(#D9AD50 var(--percent), var(--color-bg-input) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
  color: #F4EBD7;
  position: relative;
  flex-shrink: 0;
}
.wr3-circle::before {
  content: '';
  position: absolute;
  width: 37px;
  height: 37px;
  background: #17150F;
  border-radius: 50%;
}
.wr3-circle span { position: relative; z-index: 1; }
.wr4-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(217,173,80,0.2);
  border-radius: 8px;
  color: #F4EBD7;
  padding: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}
.wr4-textarea:focus { outline: none; border-color: #D9AD50; }
.wr4-counter { text-align: right; font-size: 0.65rem; color: #BDB5A5; margin-top: 4px; }

.wr4-emojis { display: flex; justify-content: space-between; padding: 10px 0; }
.wr4-emoji { display: flex; flex-direction: column; align-items: center; font-size: 1.8rem; cursor: pointer; opacity: 0.5; transition: opacity 0.2s; }
.wr4-emojis:hover .wr4-emoji { opacity: 0.8; }
.wr4-emoji:hover { opacity: 1; transform: scale(1.1); }
.wr4-emoji small { font-size: 0.55rem; color: #BDB5A5; margin-top: 4px; text-align: center; }

/* Correção Definitiva das Tabs (Ecrã 3) */







/* ========================================
   CORREÇÃO FORÇADA DAS TABS (ECRÃ 3)
   ======================================== */







/* ========================================
   TABS DO ECRÃ 3 (VERSÃO DEFINITIVA)
   ======================================== */
.wr3-tabs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 20px;
  padding: 0;
  box-sizing: border-box;
}

.wr3-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 36px;
  background: rgba(23, 21, 15, 0.8);
  border: 1px solid rgba(217, 173, 80, 0.3);
  color: #BDB5A5;
  border-radius: 18px;
  font-size: 0.7rem;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  margin: 0;
  padding: 0 4px;
  line-height: 1;
}

.wr3-tab.is-active {
  background: #D9AD50;
  border-color: #D9AD50;
  color: #090907;
  font-weight: bold;
}
.wr5-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(217,173,80,0.2);
  border-radius: 8px;
  color: #F4EBD7;
  padding: 10px 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
}
.wr5-input:focus { outline: none; border-color: #D9AD50; }

/* === ECRÃ 7: CONCLUÍDO === */
.wr7-screen {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999;
  overflow-y: auto; background-color: #090907;
  background-image: linear-gradient(rgba(9,9,7,0.85), rgba(9,9,7,0.95)), url('../../assets/bg/weekly-review-bg2.png');
  background-size: cover; background-position: center;
  font-family: 'Manrope', sans-serif;
  display: flex; flex-direction: column;
}

.wr7-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; text-align: center; }

.wr7-icon-container { position: relative; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.wr7-glow-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(217,173,80,0.5); box-shadow: 0 0 30px rgba(217,173,80,0.3); }
.wr7-check { position: relative; z-index: 2; filter: drop-shadow(0 0 10px rgba(217,173,80,0.8)); }

.wr7-title { font-family: 'Cinzel', serif; font-size: 2rem; color: #F4EBD7; margin: 0 0 16px 0; line-height: 1.2; }
.wr7-subtitle { font-size: 0.9rem; color: #BDB5A5; line-height: 1.5; max-width: 320px; margin-bottom: 32px; }

.wr7-quote-box { background: rgba(23,21,15,0.8); border: 1px solid rgba(217,173,80,0.2); border-radius: 16px; padding: 20px; max-width: 320px; }
.wr7-quote-box p { margin: 0 0 8px 0; font-style: italic; color: #F4EBD7; font-size: 0.9rem; }
.wr7-quote-box span { font-size: 0.7rem; color: #BDB5A5; letter-spacing: 2px; }

.wr7-footer { padding: 20px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.wr7-btn-main { width: 100%; max-width: 340px; background: linear-gradient(90deg, #B88F3D 0%, #F2D58B 50%, #B88F3D 100%); color: #090907; border: none; border-radius: 30px; padding: 16px; font-size: 1rem; font-weight: bold; cursor: pointer; }
.wr7-btn-secondary { background: transparent; border: none; color: #BDB5A5; font-size: 0.8rem; cursor: pointer; text-decoration: underline; }

/* Correção do Layout dos Cartões (Ecrã 2 e 3) */
.wr2-card {
  display: flex !important;
  flex-direction: column !important; /* Força a ficar em bloco */
  width: 100% !important;
}

.wr2-card-header {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.wr2-card-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important; /* Evita que o texto esmague as setas */
}

/* Alinhamento das Estatísticas (Concluídas, Pendentes...) */
.wr2-stats-row {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: 10px !important;
}

.wr2-stat {
  display: flex !important;
  flex-direction: column !important; /* Texto em cima, número em baixo */
  align-items: flex-start !important;
  gap: 4px !important;
}

.wr2-stat span:not(.dot) {
  font-size: 0.7rem !important;
  color: #BDB5A5 !important;
}

.wr2-stat strong {
  font-size: 1.1rem !important;
  color: #F4EBD7 !important;
  margin-left: 12px; /* Alinha o número com o texto */
}

.wr2-stat .dot {
  position: absolute;
  left: 0;
  top: 6px;
}

/* Forçar as abas do Ecrã 3 a ficarem em coluna */
.wr3-content {
  display: flex !important;
  flex-direction: column !important;
}
