.dashboard-container {
  height: calc(100dvh - 6.7rem);
  overflow-y: auto;
  position: relative;

  &::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
  }

  &::-webkit-scrollbar {
    width: 12px;
  }

  &::-webkit-scrollbar-track {
    background: rgba(20, 20, 30, 0.5);
    border-radius: 10px;
  }

  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) rgba(20, 20, 30, 0.5);
}

@media (max-width: 768px) {
  .dashboard-container {
    height: calc(100dvh - 5rem);

    &::-webkit-scrollbar {
      width: 8px;
    }
  }
}

.dashboard {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.dashboard .no-library-header {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff, #e2e8f0, var(--p-primary-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.dashboard-no-library {
  padding: 3rem;
  background: var(--p-surface-900);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.dashboard .p-dialog {
  max-width: 90%;
}

::ng-deep .p-dialog-mask {
  background-color: rgba(0, 0, 0, 0.5);
}

::ng-deep .p-dialog-mask {
  backdrop-filter: blur(3px);
}
