/* Tema/CSS'ten tamamen bağımsız olacak şekilde tasarlandı — Motta'nın (ya da başka bir temanın)
   genel input/select/button kuralları bu alanları asla ezmesin diye `all:unset` ile sıfırlanıp
   her özellik elle yeniden tanımlanıyor; hepsi !important ile kilitleniyor. */

.tm-request-form-wrap,
.tm-request-section {
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.tm-request-form-wrap input[type="text"],
.tm-request-form-wrap input[type="number"],
.tm-request-form-wrap input[type="file"],
.tm-request-form-wrap select,
.tm-request-form-wrap textarea,
.tm-request-section input[type="text"],
.tm-request-section input[type="file"] {
	all: unset !important;
	box-sizing: border-box !important;
	display: inline-block !important;
	width: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	padding: 7px 10px !important;
	margin: 0 !important;
	border: 1px solid #c3c4c7 !important;
	border-radius: 4px !important;
	background: #fff !important;
	font-size: 14px !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	color: #1d2327 !important;
	vertical-align: middle !important;
}

.tm-request-form-wrap textarea {
	width: 100% !important;
	max-width: 500px !important;
	display: block !important;
	resize: vertical !important;
}

.tm-request-form-wrap select#tm-reason-select {
	width: 100% !important;
	max-width: 420px !important;
	display: block !important;
}

.tm-item-row {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 10px !important;
	padding: 8px 0 !important;
	border-bottom: 1px solid #f0f0f1 !important;
}

.tm-item-row .tm-item-name {
	flex: 1 1 auto !important;
	min-width: 160px !important;
}

.tm-item-total {
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #8c8f94 !important;
}

.tm-item-max {
	font-size: 12px !important;
	color: #787c82 !important;
	white-space: nowrap !important;
}

.tm-claim-badge {
	display: inline-block !important;
	background: #f0f6fc !important;
	color: #2271b1 !important;
	border: 1px solid #c5d9ea !important;
	border-radius: 999px !important;
	padding: 2px 10px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
}

.tm-claim-badge-full {
	background: #f6f7f7 !important;
	color: #646970 !important;
	border-color: #dcdcde !important;
}

.tm-item-qty {
	-moz-appearance: textfield !important;
}

.tm-item-qty::-webkit-inner-spin-button,
.tm-item-qty::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

.tm-qty-stepper {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	vertical-align: middle !important;
}

.tm-qty-stepper .tm-item-qty {
	width: 38px !important;
	height: 30px !important;
	padding: 0 !important;
	border: 1px solid #d5d8dc !important;
	border-radius: 5px !important;
	text-align: center !important;
	font-weight: 600 !important;
	background: #fff !important;
}

.tm-request-form-wrap button.tm-qty-btn {
	all: unset !important;
	box-sizing: border-box !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 18px !important;
	height: 30px !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	color: #50575e !important;
	font-size: 19px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	user-select: none !important;
	transition: color .15s ease !important;
}

.tm-request-form-wrap button.tm-qty-btn:hover:not(:disabled) {
	color: #2271b1 !important;
}

.tm-request-form-wrap button.tm-qty-btn:active:not(:disabled) {
	color: #135e96 !important;
}

.tm-request-form-wrap button.tm-qty-btn:disabled {
	color: #dcdcde !important;
	cursor: not-allowed !important;
}

.tm-request-form-wrap input[type="radio"],
.tm-request-form-wrap input[type="checkbox"],
.tm-request-section input[type="radio"],
.tm-request-section input[type="checkbox"] {
	width: 16px !important;
	height: 16px !important;
	margin: 0 6px 0 0 !important;
	vertical-align: middle !important;
}

.tm-item-check-static {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	width: 16px !important;
	height: 16px !important;
	margin: 0 6px 0 0 !important;
	border: 1px solid #dcdcde !important;
	border-radius: 3px !important;
	background: #f0f0f1 !important;
	color: #c3c4c7 !important;
	font-size: 11px !important;
	line-height: 1 !important;
	vertical-align: middle !important;
}

.tm-request-form-wrap button[type="submit"],
.tm-request-section button[type="submit"] {
	all: unset !important;
	box-sizing: border-box !important;
	display: inline-block !important;
	padding: 10px 22px !important;
	background: #2271b1 !important;
	color: #fff !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	font-size: 14px !important;
	font-family: inherit !important;
	text-align: center !important;
	line-height: 1.4 !important;
}

.tm-request-form-wrap button[type="submit"]:hover,
.tm-request-section button[type="submit"]:hover {
	background: #135e96 !important;
}
