:host {
  display: block;
  height: 100%;
}

.dashboard-shortcut-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  width: 100%;
  height: 100%;
  padding: var(--space-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.dashboard-shortcut-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dashboard-shortcut-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.dashboard-shortcut-card--disabled {
  cursor: not-allowed;
  color: var(--text-light);
  opacity: 0.7;
}

.dashboard-shortcut-card--disabled:hover {
  transform: none;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.dashboard-shortcut-card__icon {
  font-size: var(--font-size-xl, 1.125rem);
  color: var(--primary-color);
}

.dashboard-shortcut-card--disabled .dashboard-shortcut-card__icon {
  color: var(--text-light);
}

.dashboard-shortcut-card__title {
  font-size: var(--font-size-lg, 1rem);
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
}

.dashboard-shortcut-card--disabled .dashboard-shortcut-card__title {
  color: var(--text-light);
}

.dashboard-shortcut-card__description {
  font-size: var(--font-size-xs, 0.75rem);
  color: var(--text-secondary);
}

.dashboard-shortcut-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: var(--font-size-xs, 0.75rem);
  font-weight: var(--font-weight-semibold, 600);
  padding: 2px 8px;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--primary-color) 8%, transparent);
  color: var(--primary-color);
  border: 1px solid color-mix(in srgb, var(--primary-color) 20%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-shortcut-card {
    transition: none;
  }
}
