.dropp-error {
	color: #860;
	background-color: #FFE;
	padding: 0.6rem 1rem 0.7rem;
	white-space: normal;
	text-align: left;
	margin: 1rem 0;
	border-radius: 4px;
	border: 1px solid;
	border-color: #dbdb84;
}
.dropp-location .button {
	user-select: none;
	cursor: default;
}

.dropp-warning p.description,
.dropp-warning th {
  color: #e00;
}

.dropp-loading .dropp-spinner {
  display: inline-block;
}

.dropp-loaded .dropp-spinner {
  animation: dropp-fade-out 0.5s linear;
  opacity: 0;
}

.dropp-loaded input {
  animation: dropp-green-bg 1s linear;
}

.dropp-spinner {
  display: none;
  position: relative;
  width: 1rem;
  height: 1rem;
  margin-left: -2rem;

}
.dropp-spinner div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 1rem;
  height: 1rem;
  margin: 0.25rem;
  border: 0.25rem solid #000;
  border-radius: 50%;
  animation: dropp-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #000 transparent transparent transparent;
}
.dropp-spinner div:nth-child(1) {
  animation-delay: -0.45s;
}
.dropp-spinner div:nth-child(2) {
  animation-delay: -0.3s;
}
.dropp-spinner div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes dropp-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes dropp-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes dropp-green-bg {
  0% {background-color: transparent; border-color: #8c8f94}
  20% {background-color: #CCFFCC; border-color: #009900}
  100% {background-color: transparent; border-color: #8c8f94}
}

.dropp-button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	background: #00007D;
	border-radius: 3px;
	outline: none;
	padding: 8px 24px;
	border: 1px solid #00007D;
	color: #FFFFFF;
	transition: background-color 0.2s, border-color 0.2s, color 0.1s;
	margin-bottom: 8px;
	margin-right: 8px;
	line-height: 1.25;

	&:focus {
		color: #ffffff;
		box-shadow: 0 0 0 1px #fff, 0 0 0 3px #1007FA;
	}
	&:hover,
	&:active {
		color: #ffffff;
		background-color: #1919a7;
		border-color: #1919a7;
	}
	&:disabled {
		opacity: 0.4;
	}
	.dashicons {
		margin: -2px 0;
	}
}
.dropp-button--secondary {
	background: #E5E8FF;
	border-color: #1007FA;
	color: #1007FA;

	&:focus {
		color: #1007FA;
	}
	&:hover,
	&:active {
		background-color: #f1f3ff;
		color: #1007FA;
	}
}
.dropp-consignment-download-button {
	// First item. Ie. "Download" button
	display: block;
	line-height: 1.2;
	background-color: #FFFFFF;
	color: #1007FA;
	border: 1px solid #0000EE;
	padding: 8px 24px;
	user-select: none;
	border-radius: 4px;
	flex: 1 0 auto;
	text-align: center;
	border-radius: 5px;
	text-decoration: none;

	&:hover {
		color: #1007FA;
		background-color: #f1f1f1;
	}
}
