.hero-section {
  margin-bottom: 32px;
}
.hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.hero-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0;
}
.hero-section p {
  color: var(--text-secondary);
}

.icon-btn-ghost {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
}
.icon-btn-ghost:hover {
  background-color: var(--border);
}

.kaizen-card {
  background-color: var(--bg-card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
}
.status-dot.active {
  background-color: #000;
}
body.dark-mode .status-dot.active {
  background-color: #fff;
}

.input-group {
  position: relative;
  display: block;
}
textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-family: inherit;
  font-size: 1.1rem;
  color: var(--text-primary);
  resize: none;
  height: 100px;
  outline: none;
  display: block;
}
textarea:focus {
  border-color: var(--accent);
}
textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.action-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--accent);
  color: var(--bg-primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 10;
}
.action-btn:active {
  transform: scale(0.95);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Calendario Inline */
.calendar-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 400px;
}
.calendar-card .card-header {
  padding: 20px 24px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.calendar-inline-container {
  overflow-y: auto;
  padding: 20px 24px;
}
.month-block {
  margin-bottom: 30px;
}
.month-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: capitalize;
}
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.day-square {
  aspect-ratio: 1;
  background-color: var(--bg-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-primary);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.day-square.past {
  opacity: 0.5;
  pointer-events: none;
  background-color: var(--border);
}
.day-square.completed {
  background-color: #000 !important;
  color: white;
  opacity: 1 !important;
}
body.dark-mode .day-square.completed {
  background-color: #fff !important;
  color: #000;
}

.day-square.today {
  border: 2px solid var(--text-primary);
  font-weight: 800;
  cursor: pointer;
  background-color: var(--bg-card);
}
.day-square.future {
  opacity: 0.2;
  pointer-events: none;
  border: 1px dashed var(--border);
  background-color: transparent;
}
