/* Web App Stylesheet - Receitas Sem Pensar */

/* Variables */
:root {
  --primary: hsl(145, 36%, 18%);
  --primary-light: hsl(145, 25%, 32%);
  --primary-bg: hsl(145, 36%, 95%);
  --accent: hsl(38, 92%, 52%);
  --accent-dark: hsl(38, 95%, 42%);
  --accent-green: hsl(142, 60%, 45%);
  --bg-base: hsl(43, 35%, 97%);
  --bg-white: hsl(0, 0%, 100%);
  --bg-alt: hsl(43, 15%, 92%);
  --text-main: hsl(25, 18%, 12%);
  --text-light: hsl(0, 0%, 100%);
  --text-muted: hsl(25, 10%, 45%);
  --border-color: hsl(25, 10%, 88%);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-round: 50%;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(25, 18, 12, 0.08), 0 10px 10px -5px rgba(25, 18, 12, 0.04);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #121814; /* Dark outer bg for desktop framing */
  font-family: var(--font-body);
  color: var(--text-main);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Desktop Blur Frame */
.desktop-bg-blur {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/expert-hero.png') no-repeat center center;
  background-size: cover;
  filter: blur(40px) brightness(0.25);
  z-index: 1;
}

/* App Wrapper constraints (mobile window simulation) */
.app-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  background-color: var(--bg-base);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
}

@media (min-width: 481px) {
  body {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .desktop-bg-blur {
    display: block;
  }
  .app-wrapper {
    height: 92%;
    max-height: 860px;
    border-radius: var(--radius-xl);
    border: 6px solid #222;
  }
}

/* Text alignments */
.text-center { text-align: center; }

/* SPA App Views */
.app-view {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.app-view.active {
  display: flex;
}

.view-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  padding-bottom: 90px; /* leaves room for bottom tab bar */
  -webkit-overflow-scrolling: touch;
}

/* Headers */
.app-main-header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 24px 20px 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 10;
}

.app-main-header.sticky-header {
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  padding-bottom: 20px;
}

.view-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
}

.view-subtitle {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* 1. LOGIN SCREEN STYLING */
#login-view {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  justify-content: center;
}

.login-container {
  padding: 30px;
}

.login-logo {
  margin-bottom: 2.5rem;
}

.logo-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.login-logo h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.login-logo p {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

.login-form {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}

.form-group input {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.25);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  border: none;
  background: linear-gradient(185deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(239, 149, 23, 0.3);
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

.login-footer {
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
}

.login-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* 2. HOME SCREEN STYLING */
.header-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 44px;
  height: 44px;
  background-color: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.greeting-sub {
  font-size: 0.75rem;
  opacity: 0.8;
}

.greeting-title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.btn-notification {
  cursor: pointer;
  font-size: 1.25rem;
}

/* Progress Summary Card */
.summary-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 25px;
}

.summary-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.summary-card p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 15px;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar {
  height: 100%;
  background-color: var(--accent);
  border-radius: 4px;
  transition: width 0.4s ease-out;
}

.progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

/* Meal Planner Checklist */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.planner-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.planner-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.planner-card.completed {
  opacity: 0.8;
  background-color: var(--bg-alt);
}

.planner-check-input {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--primary-light);
  cursor: pointer;
  accent-color: var(--accent-green);
}

.planner-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.planner-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 2px;
}

.planner-card-body h4 {
  font-size: 0.95rem;
  color: var(--primary);
}

.planner-card.completed .planner-card-body h4 {
  text-decoration: line-through;
  color: var(--text-muted);
}

.planner-card-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 3. RECIPES VIEW STYLING */
.search-box {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  opacity: 0.7;
}

.search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: 20px;
  border: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
  background-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.recipes-tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 15px 0;
  margin-bottom: 10px;
  scrollbar-width: none;
}

.recipes-tabs-bar::-webkit-scrollbar {
  display: none;
}

.recipes-tab {
  border: none;
  background-color: var(--bg-white);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.recipes-tab.active {
  background-color: var(--primary);
  color: var(--text-light);
}

.recipes-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recipe-app-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  height: 110px;
}

.recipe-app-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.recipe-app-card img {
  width: 110px;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.recipe-app-body {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  overflow: hidden;
}

.recipe-app-body h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recipe-app-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.recipe-app-tag {
  align-self: flex-start;
  background-color: var(--primary-bg);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* 4. SHOPPING LIST VIEW STYLING */
.add-shopping-item-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  background-color: var(--bg-white);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.add-shopping-item-box input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  font-size: 0.9rem;
  outline: none;
  background: none;
}

.add-shopping-item-box button {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.add-shopping-item-box button:hover {
  background-color: var(--primary-light);
}

.shopping-list-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.shopping-group {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.shopping-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.shopping-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shopping-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  padding: 6px 0;
}

.shopping-item-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--accent-green);
}

.shopping-item-text {
  flex-grow: 1;
}

.shopping-item-row.checked .shopping-item-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

.btn-delete-item {
  background: none;
  border: none;
  color: #c93b2b;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 5px;
}

/* 5. PROFILE SCREEN STYLING */
.user-profile-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
}

.user-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 12px;
  border: 3px solid var(--accent);
}

.user-profile-box h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary);
}

.user-profile-box p {
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
}

.settings-group {
  margin-bottom: 25px;
}

.group-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-left: 5px;
}

.settings-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.setting-row, .setting-row-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-main);
  text-decoration: none;
}

.setting-row:last-child, .setting-row-link:last-child {
  border-bottom: none;
}

.setting-row-link {
  cursor: pointer;
  transition: all 0.3s;
}

.setting-row-link:hover {
  background-color: var(--bg-alt);
}

.setting-row select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-base);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.logout-wrapper {
  margin-top: 2rem;
}

.btn-logout {
  background: none;
  border: 2px solid #c93b2b;
  color: #c93b2b;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-logout:hover {
  background-color: #c93b2b;
  color: #fff;
}

/* APP BOTTOM NAVIGATION BAR */
.app-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  display: none; /* hidden until logged in */
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  z-index: 50;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.02);
}

body.logged-in .app-bottom-nav {
  display: grid;
}

.nav-tab {
  background: none;
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s;
}

.nav-icon {
  font-size: 1.35rem;
  margin-bottom: 2px;
  transition: transform 0.2s;
}

.nav-label {
  font-size: 0.7rem;
  font-weight: 600;
}

.nav-tab.active {
  color: var(--primary);
}

.nav-tab.active .nav-icon {
  transform: translateY(-2px) scale(1.15);
}

/* RECIPE DETAILS DRAWER OVERLAY */
.details-drawer-overlay {
  position: absolute; /* fits inside the mobile screen constraint */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 11, 8, 0.5);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.details-drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.details-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85%;
  background-color: var(--bg-base);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.94, 0.6, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.details-drawer-overlay.active .details-drawer {
  transform: translateY(0);
}

.drawer-drag-handle {
  width: 40px;
  height: 5px;
  background-color: var(--border-color);
  border-radius: 3px;
  margin: 10px auto;
  flex-shrink: 0;
}

.drawer-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 0.5;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
}

.drawer-scroll-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 0 20px 30px 20px;
  -webkit-overflow-scrolling: touch;
}

/* Dynamic details content style */
.drawer-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.drawer-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-recipe-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}

.drawer-meta-row {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.drawer-section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Ingredients checklist */
.drawer-ingredients-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  background-color: var(--bg-white);
  padding: 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 4px 0;
  cursor: pointer;
}

.ingredient-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent-green);
  flex-shrink: 0;
}

.ingredient-item.checked .ingredient-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* Instructions list */
.drawer-instructions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.instruction-step {
  display: flex;
  gap: 12px;
  background-color: var(--bg-white);
  padding: 15px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.step-number {
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Substitution Box */
.substitution-box {
  background-color: var(--primary-bg);
  border: 1px dashed var(--primary-light);
  border-radius: var(--radius-md);
  padding: 15px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--primary-light);
}

.substitution-box strong {
  color: var(--primary);
}

/* App Dieta Livre Rebranding Styles */
.login-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ONBOARDING VIEW STYLING */
#onboarding-view {
  background: var(--bg-base);
  justify-content: center;
  align-items: center;
}

.onboarding-container {
  padding: 30px 24px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.onboarding-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.onboarding-header h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.onboarding-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.onboarding-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.onboarding-card {
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.onboarding-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.onboarding-card.selected {
  border-color: var(--accent-green);
  background-color: var(--primary-bg);
  box-shadow: 0 4px 12px rgba(21, 54, 37, 0.05);
}

.onboarding-card .card-emoji {
  font-size: 1.5rem;
  padding: 10px;
  background-color: var(--bg-base);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.onboarding-card.selected .card-emoji {
  background-color: var(--bg-white);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-info h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.card-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

#btn-confirm-objective:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: var(--text-muted);
  box-shadow: none;
  color: #fff;
}

/* Planner Header Row with Reload button */
.planner-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.planner-header-row .section-title {
  margin-bottom: 0;
}

.btn-reload-planner {
  background: transparent;
  border: 1px solid var(--primary-light);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-reload-planner:hover {
  background-color: var(--primary-bg);
  border-color: var(--primary);
}

.btn-reload-planner:active {
  transform: scale(0.95);
}
