.mood-tracker-container {
  max-width: 1200px;
  margin: 40px auto;
  font-family: "Segoe UI", sans-serif;
  padding: 0 20px;
}
.mood-tracker-container h1 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1e293b;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.calendar-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}
.calendar-section .calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.calendar-section .calendar-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #334155;
}
.calendar-section .calendar-header .nav-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 50%;
  transition: background 0.2s;
  font-weight: bold;
  color: #64748b;
}
.calendar-section .calendar-header .nav-btn:hover {
  background: #cbd5e1;
  color: #1e293b;
}
.calendar-section .calendar-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 15px;
  color: #64748b;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.calendar-section .calendar-grid-weekend {
  color: #ef4444;
}
.calendar-section .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.calendar-section .day-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: #f1f5f9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  font-weight: 600;
  color: #475569;
}
.calendar-section .day-cell.is-weekend {
  color: #ef4444;
  background-color: #fef2f2;
}
.calendar-section .day-cell:hover {
  transform: translateY(-2px);
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
  z-index: 2;
}
.calendar-section .day-cell.empty {
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.calendar-section .day-cell.has-data {
  font-weight: 800;
  border-width: 2px;
}
.calendar-section .day-cell.has-data.is-weekend {
  color: inherit;
}
.calendar-section .day-cell.is-active-edit {
  border-color: #3b82f6 !important;
  background: white;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  z-index: 3;
}

.details-section {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  min-height: 600px;
  position: relative;
}

#state-empty {
  text-align: center;
  color: #64748b;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}
#state-empty .icon-placeholder {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
  filter: grayscale(1);
}
#state-empty h3 {
  margin: 0 0 12px 0;
  color: #334155;
  font-size: 1.5rem;
}
#state-empty p {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
}

#state-active {
  animation: slideIn 0.3s ease;
}
#state-active .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}
#state-active .panel-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #1e293b;
  font-weight: 800;
}
#state-active .panel-header h3::first-letter {
  text-transform: uppercase;
}
#state-active .panel-header .close-icon-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #64748b;
  background: transparent;
  font-size: 1.2rem;
  transition: all 0.2s;
}
#state-active .panel-header .close-icon-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.step-view {
  animation: fadeIn 0.3s ease;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 4px solid #e2e8f0;
  padding-left: 12px;
}

.emotions-inputs-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.emotion-column {
  position: relative;
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  border: 2px solid transparent;
  background-color: transparent;
  transition: all 0.2s ease-out;
  cursor: pointer;
  opacity: 1;
  filter: none;
}
.emotion-column:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  z-index: 2;
}
.emotion-column.is-selected {
  opacity: 1 !important;
  transform: scale(1.03) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  z-index: 10;
  filter: brightness(1.03);
}
.emotion-column.is-faded {
  opacity: 0.6;
  filter: grayscale(0.3);
  transform: scale(0.99);
}
.emotion-column.is-faded:hover {
  opacity: 0.95;
  filter: none;
  transform: scale(1.01);
}
.emotion-column .cat-title {
  border-radius: 12px 0 0 12px;
  width: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
.emotion-column .emotion-input {
  flex-grow: 1;
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  pointer-events: none;
}

.states-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 25px;
}

.state-card {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 8px;
  border: 2px solid;
  background: white;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.state-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}
.state-card.selected {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-weight: 800;
  z-index: 5;
}

.summary-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}
.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
}

.summary-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e293b;
  text-transform: none;
}

.panel-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.panel-actions .action-btn {
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.panel-actions .action-btn.btn-print {
  background: #010101;
  color: white;
  flex-grow: 1;
}
.panel-actions .action-btn.btn-print:hover {
  background: #222222;
}
.panel-actions .action-btn.btn-print:disabled {
  background: #d9d9d9;
  color: #7a7a7a;
  cursor: not-allowed;
  transform: none;
}
.panel-actions .action-btn.btn-save {
  background: #69c9bd;
  color: white;
  flex-grow: 1;
}
.panel-actions .action-btn.btn-save:hover {
  background: #57beb1;
}
.panel-actions .action-btn.btn-save:disabled {
  background: #d9f2ef;
  color: #7faeaa;
  cursor: not-allowed;
  transform: none;
}
.panel-actions .action-btn.btn-back {
  background: #199fd7;
  color: white;
  flex-grow: 1;
}
.panel-actions .action-btn.btn-back:hover {
  background: #0d8fc7;
}
.panel-actions .action-btn.btn-back:disabled {
  background: #d6eef9;
  color: #6fa6bf;
  cursor: not-allowed;
  transform: none;
}
.panel-actions .action-btn.btn-shuffle {
  background: white;
  color: #334155;
  border-color: #e2e8f0;
  flex-grow: 1;
}
.panel-actions .action-btn.btn-shuffle:hover {
  background: #f1f5f9;
  border-color: #2fa6be;
}
.panel-actions .action-btn.btn-reset {
  background: #fff1f2;
  color: #e11d48;
  border-color: #ffe4e6;
  width: 100%;
}
.panel-actions .action-btn.btn-reset:hover {
  background: #ffe4e6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  .mood-tracker-container,
  .mood-tracker-container * {
    visibility: visible;
  }
  .mood-tracker-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 0 20px;
    transform: scale(0.9);
    transform-origin: top center;
  }
  h1 {
    font-size: 18pt;
    margin-bottom: 10px;
    color: black;
    text-align: center;
  }
  .dashboard-grid,
  .calendar-section,
  .details-section {
    display: block !important;
    width: 100% !important;
    float: none !important;
  }
  .calendar-section {
    border: none;
    padding: 0;
    margin-bottom: 15px;
  }
  .calendar-header {
    margin-bottom: 5px;
  }
  .calendar-header .nav-btn {
    display: none;
  }
  .calendar-header h2 {
    font-size: 14pt;
    margin: 0;
  }
  .calendar-grid-header {
    display: flex;
    border-bottom: 1px solid #000;
    font-size: 10pt;
    margin-bottom: 2px;
  }
  .calendar-grid-header div {
    flex: 1;
    text-align: center;
    padding: 2px;
    font-weight: bold;
    color: black;
  }
  .calendar-grid {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #000;
    border-left: 1px solid #000;
  }
  .day-cell {
    width: 14.28%;
    height: 60px !important;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    padding: 2px;
    font-size: 10pt;
    color: black !important;
    background: white !important;
    display: block !important;
    border-radius: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .day-cell.is-weekend {
    background-color: #eee !important;
  }
  .details-section {
    margin-top: 10px;
    padding: 0;
    border: none;
    box-shadow: none;
  }
  .details-section #state-empty,
  .details-section .panel-header,
  .details-section .panel-actions,
  .details-section #step-emotions,
  .details-section #step-states {
    display: none !important;
  }
  #step-summary {
    display: block !important;
  }
  .summary-card {
    border: 1px solid #000 !important;
    background: none !important;
    padding: 10px;
  }
  .summary-card .summary-row {
    border-bottom: 1px dotted #999 !important;
    padding: 6px 0 !important;
    display: flex;
    justify-content: space-between;
  }
  .summary-card .summary-label {
    font-size: 10pt;
    font-weight: normal;
    color: #333;
  }
  .summary-card .summary-value {
    font-size: 11pt;
    font-weight: bold;
    color: black;
  }
}
@page {
  size: A4 portrait;
  margin: 10mm;
}/*# sourceMappingURL=mood_calendar.css.map */