﻿:root {
  --toaster-display-time: 0;
  --toaster-fade-out-time: 0;
}

html {
	font-size: 12px;
}

@media (min-width: 1440px) {
	html {
		font-size: 13px;
	}
}

@media (min-width: 1536px) {
	html {
		font-size: 14px;
	}
}

@media (min-width: 1600px) {
	html {
		font-size: 15px;
	}
}

@media (min-width: 1700px) {
	html {
		font-size: 16px;
	}
}

@media (max-width: 1599px) {
	.js-sidebar {
		width: 20rem;
	}
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

.bg-gray-light {
  background-color: #c4c4c4;
}

.leading-\[22px\] {
	line-height: 22px;
}

.min-w-max {
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
}

.toaster-fade-out {
  animation-name: toasterFadeOut;
  animation-timing-function: ease;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-delay: var(--toaster-display-time);
  animation-duration: var(--toaster-fade-out-time);
}

.notification {
    text-decoration: none;
    position: relative;
    display: inline-block;
    border-radius: 2px;
}

.notification .badge {
	margin-top: -10px;
	margin-left: -5px;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 100%;
    background: #EF4444;
    color: white;
	min-width: 20px;
}

#business_popup {
	width: 361px;
}

@media (max-width: 1599px) {
	#business_popup {
		width: 22rem;
	}
}

.input-icon {
	position: absolute;
	top: 10px;
	left: 12px
}

.tooltip-content {
	visibility: hidden;
	position: absolute;
	top: calc(100% + 2px);
	left: 50%;
	text-align: left;
	border-radius: 8px;
	z-index: 99;
	box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.1);
	pointer-events: none;
}

.tooltip-content.dark {
	background-color: #111827;
	color: #fff;
	--arow-left: 50%;
	--arow-right: 'auto';
}

.tooltip-content.light {
	background-color: #fff;
	color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

/*.tooltip-content.dark::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: var(--arow-left);
	right: var(--arow-right);
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent #111827 transparent;
}*/

.tooltip-wrapper:hover .tooltip-content {
	visibility: visible;
}

.custom-scrollbar::-webkit-scrollbar {
	width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
	background: rgba(243, 244, 246, 1);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background: rgba(55, 65, 81, 1);
	border-radius: 8px;
	background-clip: padding-box;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: rgba(17, 24, 39, 1);
}

.custom-scrollbar {
	scrollbar-width: thin;
}

.hide-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
	display: none;
}

.activity-log .log-item:last-child .w-2px {
	display: none;
}

@keyframes toasterFadeOut {
  0% {
    opacity: 1;
    overflow: hidden;
    max-height: 9999px;
    visibility: visible;
  }

  100% {
    opacity: 0;
    overflow: hidden;
    max-height: 0;
    visibility: hidden;
  }
}

input.valid + .error-icon {
	visibility: hidden;
}

input.invalid {
	padding-right: 2.5rem;
}

input.invalid + .error-icon {
	visibility: visible;
}

input.invalid, select.invalid {
	--tw-border-opacity: 1;
	border-color: rgba(252, 165, 165, 1);
	border-color: rgba(252, 165, 165, var(--tw-border-opacity));
	--tw-text-opacity: 1;
	color: rgba(220, 38, 38, 1);
	color: rgba(220, 38, 38, var(--tw-text-opacity));
}

input.invalid:focus, select.invalid:focus {
	--tw-border-opacity: 1;
	border-color: rgba(239, 68, 68, 1);
	border-color: rgba(239, 68, 68, var(--tw-border-opacity));
	--tw-text-opacity: 1;
	color: rgba(220, 38, 38, 1);
	color: rgba(220, 38, 38, var(--tw-text-opacity));
	--tw-ring-opacity: 1;
	--tw-ring-color: rgba(239, 68, 68, var(--tw-ring-opacity));
	--tw-border-opacity: 1;
	border-color: rgba(239, 68, 68, var(--tw-border-opacity));
}