.input-container {
	display: inline-block;
	position: relative;
	margin: 10px;
	width: calc(100% - 20px);
}
.image-label {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	position: relative;
	width: 25%;
}
label {
	display: block;
	margin-bottom: 5px;
	color: #333;
}
.input[type="button"], 
.input[type="submit"] {
	cursor: pointer;
}

.input[type="tel"],
.input[type="email"],
.input[type="password"],
.input[type="text"] {
	width: calc(100% - 20px) !important;
}

input[type=number].nospin::-webkit-inner-spin-button, 
input[type=number].nospin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input[type="text"],
.input[type="tel"],
.input[type="email"],
.input[type="password"],
.input[type="button"],
.input[type="submit"] {
	padding: 10px;
	font-size: 16px;
	border: none;
	border-radius: 4px;
	background-color: #f1f1f1;
	color: #333;
	width: 100%;
	outline: none;
}
.input-container:has(>.thin) {
	width: 100% !important;
	margin: 0px;
}
.input-container>.thin {
	width: calc(100% - 10px) !important;
}
.input-container>.thin[type="button"], 
.input-container>.thin[type="submit"]  {
	width: 100% !important;
}
.input.thin {
	padding: 5px;
	font-size: 10pt;
}
.input:disabled {
	background-color: #909090 !important;
	color: black !important;
}

.underline {
	position: absolute;
	pointer-events: none;
	bottom: 0;
	left: 0;
	width: 0;
	height: 4px;
	background-image: linear-gradient(43deg, var(--main-dark-accent-color) 0%, var(--main-light-accent-color) 46%, var(--main-accent-border-color) 100%);
	transition: width 0.3s;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

.input[type="text"]:focus+.underline,
.input[type="tel"]:focus+.underline,
.input[type="email"]:focus+.underline,
.input[type="submit"]:hover+.underline,
.input[type="button"]:hover+.underline,
.input[type="submit"]:focus+.underline,
.input[type="button"]:focus+.underline,
.input[type="password"]:focus+.underline {
	width: 100%;
}

@keyframes floating-label {
	0% {
		transform: translateY(0);
		opacity: 1;
	}

	100% {
		transform: translateY(-25px);
		opacity: 0;
	}
}

.input[type="text"]:placeholder-shown+label,
.input[type="tel"]:placeholder-shown+label,
.input[type="email"]:placeholder-shown+label,
.input[type="submit"]:placeholder-shown+label,
.input[type="button"]:placeholder-shown+label,
.input[type="password"]:placeholder-shown+label {
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	font-size: 14px;
	color: #777;
	pointer-events: none;
	transition: transform 0.3s, font-size 0.3s, color 0.3s;
}

.input[type="text"]:focus:not(:placeholder-shown)+label,
.input[type="tel"]:focus:not(:placeholder-shown)+label,
.input[type="email"]:focus:not(:placeholder-shown)+label,
.input[type="submit"]:focus:not(:placeholder-shown)+label,
.input[type="button"]:focus:not(:placeholder-shown)+label,
.input[type="password"]:focus:not(:placeholder-shown)+label {
	transform: translateY(-25px);
	font-size: 12px;
	background-color: #4158D0;
	animation: floating-label 0.3s forwards;
}

.ts-control {
	border: none !important;
}

.ts-wrapper.multi .ts-control>div {
	font-family: 'Lato' !important;
	background: var(--secondary-fg-color) !important;
	color: var(--main-bg-color) !important;
}

.ts-dropdown-content {
    font-family: 'Lato' !important;
}

.ts-control, .ts-wrapper.single.input-active .ts-control {
	background: #f1f1f1 !important;
}

.item {
	border-radius: 4px !important;
	box-shadow: none !important;
}
/* DESKTOP SPECIFIC RULES */
@media (min-width: 850px) {
	.input[type="tel"],
	.input[type="email"],
	.input[type="password"],
	.input[type="text"] {
		width: calc(100% - 20px);
		/* !important; */
	}

	.input[type="button"],
	.input[type="submit"] {
		width: 100%;
		/* !important; */
	}
}
select {
	width: 100% !important;
}
.image-upload {
	display: flex;
	flex-direction: column;
	height: 341px;
	background-color: lightgrey;
	border-radius: 4px
}
.image-delete {
	display: none; 
}
.image-select:hover {
	margin: 0px;
	border: 1px solid red;
}
.image-select:hover + svg.trash-icon {
	display: block;
}
.trash-icon {
    margin: 5px;
    height: 25px;
    display: none;
    position: absolute;
    z-index: 999;
}
.image-select {
	border-radius: 10px;
	margin: 1px;
}
.image-delete-box {
	position: relative;
	width: 24%;
}
.image-box {
	flex-basis: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	padding: 20px;
	justify-content: space-evenly;
	overflow-y: auto;
	overflow-x: hidden;
}
.drop-highlight {
	background-color: var(--secondary-bg-color);
}
.image-upload-input { 
	display: none;
}
.image-upload-label {
	display: block;
	text-align: center;
	padding: 10px 0px 10px 0px;
	border-radius: 4px;
	background: seagreen;
	margin-bottom: 0px;
	width: 100%;
	color: white;
	font-family: sans-serif;
}