@tailwind base;
@tailwind components;
@tailwind utilities;


/** Preloader */
#preloader {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	z-index: 10000;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
  background: #1f2937;
  color: #ffffff;
	transition: .3s all ease;
}

#preloader.loaded {
	opacity: 0;
	visibility: hidden;
}

.rotating-wheel {
	width: 32px;
	height: 32px;
	margin: 0 auto;
	border: 3px solid #ec4899;
	border-radius: 50%;
	border-left-color: transparent;
	border-bottom-color: transparent;
	animation: rotating-spin .88s infinite linear;
}

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

/** Resizer */
.Resizer {
  background: #374251;
  z-index: 1;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
}

.Resizer:hover {
  -webkit-transition: all 2s ease;
  transition: all 2s ease;
}

.Resizer.horizontal {
  height: 11px;
  margin: -5px 0;
  border-top: 5px solid rgba(255, 255, 255, 0);
  border-bottom: 5px solid rgba(255, 255, 255, 0);
  cursor: row-resize;
  width: 100%;
}

.Resizer.horizontal:hover {
  border-top: 5px solid rgba(0, 0, 0, 0.5);
  border-bottom: 5px solid rgba(0, 0, 0, 0.5);
}

.Resizer.vertical {
  width: 11px;
  margin: 0 -5px;
  border-left: 5px solid rgba(255, 255, 255, 0);
  border-right: 5px solid rgba(255, 255, 255, 0);
  cursor: col-resize;
}

.Resizer.vertical:hover {
  border-left: 5px solid rgba(0, 0, 0, 0.5);
  border-right: 5px solid rgba(0, 0, 0, 0.5);
}

.Resizer.disabled {
  cursor: not-allowed;
}

.Resizer.disabled:hover {
  border-color: transparent;
}

/** Monaco editor */
.diagnostic-warning {
  background: rgba(245, 158, 11);
  width: 3px !important;
}

.diagnostic-information {
  background: rgba(59, 130, 246);
  width: 3px !important;
}

.diagnostic-hint {
  background: rgba(16, 185, 129);
  width: 3px !important;
}

/** Tippy.js **/
.tippy-box[data-placement^="bottom"] > .tippy-arrow:before {
  border-bottom-color: rgba(17, 24, 39) !important;
}

.tippy-box[data-placement^="right"] > .tippy-arrow:before {
  border-right-color: rgba(17, 24, 39) !important;
}
.driver-popover.driverjs-theme {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.driver-popover.driverjs-theme .driver-popover-title {
  font-size: 18px;
  font-weight: bold;
  color: #db2777;
}

.driver-popover.driverjs-theme .driver-popover-description {
  font-size: 14px;
  color: #cccccc;
  font-family: sans-serif;
}

.driver-popover.driverjs-theme button {
  background-color: #db2777;
  color: #ffffff !important;
  border: none !important;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 4px;
  margin-left: 10px;
  text-shadow: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease;
}

.driver-popover.driverjs-theme button:not(.driver-popover-close-btn):hover {
  background-color: #c81c67;
  cursor: pointer;
}

.driver-popover.driverjs-theme .driver-popover-close-btn {
  color: #999999;
  font-size: 20px;
  background-color: transparent;
  top: 13px;
  right: 5px;
  padding: 0%;
  cursor: pointer;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-left.driver-popover-arrow {
  border-left-color: #1a1a1a;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-right.driver-popover-arrow {
  border-right-color: #1a1a1a;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-top.driver-popover-arrow {
  border-top-color: #1a1a1a;
}

.driver-popover.driverjs-theme .driver-popover-arrow-side-bottom.driver-popover-arrow {
  border-bottom-color: #1a1a1a;
}