.garanti-sorgula {
	box-sizing: border-box;
	max-width: 100%;
}

.garanti-sorgula *,
.garanti-sorgula *::before,
.garanti-sorgula *::after {
	box-sizing: border-box;
}

.garanti-sorgula__form {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
	margin: 0 0 20px;
}

.garanti-sorgula__field {
	grid-column: span 6;
	display: grid;
	gap: 8px;
}

.garanti-sorgula__field label {
	font-weight: 600;
	line-height: 1.3;
}

.garanti-sorgula__field input {
	width: 100%;
	max-width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	font: inherit;
	line-height: 1.4;
}

.garanti-sorgula__actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-start;
}

.garanti-sorgula__button {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 4px;
	background: #1e73be;
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.garanti-sorgula__button:hover,
.garanti-sorgula__button:focus {
	background: #155d99;
}

.garanti-sorgula__notice {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-left: 4px solid transparent;
	background: rgba(0, 0, 0, 0.04);
}

.garanti-sorgula__notice--warning {
	border-color: #dba617;
}

.garanti-sorgula__notice--info {
	border-color: #2271b1;
}

.garanti-sorgula__notice--empty {
	border-color: #646970;
}

.garanti-sorgula__table-wrap {
	width: 100%;
	overflow-x: auto;
}

.garanti-sorgula__table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

.garanti-sorgula__table th,
.garanti-sorgula__table td {
	padding: 12px 10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.garanti-sorgula__table th {
	font-weight: 600;
}

.garanti-sorgula__status {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 4px;
	font-weight: 600;
}

.garanti-status-active {
	background: rgba(46, 160, 67, 0.12);
	color: #1e6d33;
}

.garanti-status-upcoming {
	background: rgba(213, 167, 23, 0.12);
	color: #8a6600;
}

.garanti-status-expired {
	background: rgba(213, 0, 0, 0.1);
	color: #a10000;
}

@media (max-width: 640px) {
	.garanti-sorgula__field {
		grid-column: 1 / -1;
	}

	.garanti-sorgula__actions {
		justify-content: stretch;
	}

	.garanti-sorgula__button {
		width: 100%;
	}

	.garanti-sorgula__table-wrap {
		overflow: visible;
	}

	.garanti-sorgula__table {
		min-width: 0;
		border: 0;
	}

	.garanti-sorgula__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.garanti-sorgula__table,
	.garanti-sorgula__table tbody,
	.garanti-sorgula__table tr,
	.garanti-sorgula__table td {
		display: block;
		width: 100%;
	}

	.garanti-sorgula__table tr {
		margin: 0 0 12px;
		padding: 14px 16px;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 8px;
		background: #fff;
	}

	.garanti-sorgula__table td {
		display: flex;
		flex-direction: column;
		gap: 4px;
		padding: 8px 0;
		border-bottom: 0;
		text-align: left;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.garanti-sorgula__table td::before {
		font-weight: 600;
		line-height: 1.35;
		color: #5c5f66;
	}

	.garanti-sorgula__table td:nth-child(1)::before {
		content: 'Müşteri adı';
	}

	.garanti-sorgula__table td:nth-child(2)::before {
		content: 'Plaka';
	}

	.garanti-sorgula__table td:nth-child(3)::before {
		content: 'Ürün markası';
	}

	.garanti-sorgula__table td:nth-child(4)::before {
		content: 'Ürün Seri No';
	}

	.garanti-sorgula__table td:nth-child(5)::before {
		content: 'Uygulamacı markası';
	}

	.garanti-sorgula__table td:nth-child(6)::before {
		content: 'Garanti başlangıç tarihi';
	}

	.garanti-sorgula__table td:nth-child(7)::before {
		content: 'Garanti bitiş tarihi';
	}

	.garanti-sorgula__table td:nth-child(8)::before {
		content: 'Garanti durumu';
	}

	.garanti-sorgula__status {
		align-self: flex-start;
	}
}
