@layer tailwind-base, primereact, tailwind-utilities;

@import 'primereact/resources/themes/nano/theme.css' layer(primereact);

@layer tailwind-base {
  @tailwind base;
}

@layer tailwind-utilities {
  @tailwind components;
  @tailwind utilities;
}

html,
body,
#root {
  height: 100%;
  margin: 0;
}

.htmlContent a {
  @apply text-blue-500 underline;
}

input[type='datetime-local']::-webkit-calendar-picker-indicator {
  opacity: 0;
}

input[type='datetime-local']:hover::-webkit-calendar-picker-indicator,
input[type='datetime-local']:focus::-webkit-calendar-picker-indicator {
  opacity: 1;
}

.class-menu-item .react-flow__handle {
  width: 100%;
  height: 100%;
  background: transparent;
  position: static;
  top: 0;
  left: 0;
  padding: 2px 0 2px 2px;
  border-radius: 0.25rem;
  transform: none;
  box-sizing: border-box;
  border: none;
  outline: transparent;
  outline-offset: 2px;
  user-select: none;
}

.class-menu-item .react-flow__handle:hover {
  background: #00416b;
}

.DropdownMenuItem[data-disabled] .class-menu-item .react-flow__handle:hover {
  background: transparent;
}

.react-flow__connectionline {
  z-index: 0;
}

div.targetHandle {
  width: 100%;
  height: 100%;
  background: blue;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0;
  transform: none;
  border: none;
  opacity: 0;
}

.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.loader-size {
  height: 280px;
  width: 280px;
}

.grad-spin {
  width: 201px;
  padding-right: 3px;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {
  color: #2e3440;
  background: #d8dee9;
}

.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-disabled).p-focus {
  background-color: #00416bbb;
  color: #fdfcfd;
}
