.favorite-days-container {
  width: 100%;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;

  .chart-title {
    flex: 1;

    h3 {
      color: var(--text-color, #ffffff);
      font-size: 1.25rem;
      font-weight: 500;
      margin: 0 0 0.5rem 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .chart-description {
      color: var(--text-secondary-color);
      font-size: 0.9rem;
      margin: 0;
      line-height: 1.4;
    }
  }

  .filter-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
  }
}

.favorite-days-icon {
  font-size: 1.5rem;
  color: rgba(139, 92, 246, 1);
}

.chart-wrapper {
  position: relative;
  height: 300px;
  width: 100%;
}

@media (max-width: 768px) {
  .chart-header {
    flex-direction: column;
    align-items: stretch;

    .filter-controls {
      width: 100%;
      flex-direction: column;
      gap: 0.5rem;

      ::ng-deep p-select {
        width: 100%;

        .p-select {
          width: 100% !important;
        }
      }
    }

    .chart-title {
      h3 {
        font-size: 1.1rem;
      }

      .chart-description {
        font-size: 0.85rem;
      }
    }
  }
}

@media (max-width: 480px) {
  .chart-header {
    .chart-title {
      h3 {
        font-size: 1rem;
      }

      .chart-description {
        font-size: 0.8rem;
      }
    }
  }
}
