.sz-incidencias {
	max-width: 1050px;
}

.sz-report-page {
	color: #25364d;
}

.sz-report-hero {
	background: linear-gradient(135deg, #071827 0%, #0c3850 55%, #0ea5d7 100%);
	border-radius: 12px;
	box-shadow: 0 10px 24px rgba(7, 24, 39, .16);
	color: #fff;
	margin-bottom: 24px;
	padding: 26px 30px;
}

.sz-report-hero span {
	color: #9de7ff;
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.sz-report-hero h2 {
	color: #fff;
	font-size: 28px;
	line-height: 1.15;
	margin: 8px 0;
}

.sz-report-hero p {
	color: #d9f5ff;
	font-size: 16px;
	margin: 0;
	max-width: 720px;
}

.sz-incidencia-form {
	display: grid;
	gap: 20px;
}

.sz-type-selector,
.sz-form-card,
.sz-product-item {
	background: #fff;
	border: 1px solid #d8e1ec;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	margin: 0;
}

.sz-type-selector {
	padding: 18px;
}

.sz-type-selector legend {
	color: #172b4d;
	font-size: 16px;
	font-weight: 800;
	padding: 0 8px;
}

.sz-type-options {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sz-type-card {
	border: 2px solid #d8e1ec;
	border-radius: 10px;
	cursor: pointer;
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 16px 16px 16px 46px;
	position: relative;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.sz-type-card input {
	left: 16px;
	position: absolute;
	top: 19px;
}

.sz-type-card:has(input:checked) {
	background: #eff9ff;
	border-color: #0ea5d7;
	box-shadow: 0 0 0 4px rgba(14, 165, 215, .12);
}

.sz-type-card span {
	color: #172b4d;
	font-weight: 800;
}

.sz-type-card small {
	color: #52637a;
	line-height: 1.35;
}

.sz-form-card {
	padding: 18px;
}

.sz-incidencia-form label {
	color: #25364d;
	display: block;
	font-weight: 800;
	margin-bottom: 8px;
}

.sz-incidencia-form textarea {
	background: #fbfdff;
	border: 1px solid #cfd9e5;
	border-radius: 10px;
	box-sizing: border-box;
	color: #25364d;
	font-size: 15px;
	min-height: 132px;
	padding: 14px 16px;
	width: 100%;
}

.sz-incidencia-form textarea:focus,
.sz-incidencia-form input[type="file"]:focus {
	border-color: #0ea5d7;
	box-shadow: 0 0 0 3px rgba(14, 165, 215, .14);
	outline: 0;
}

.sz-product-items {
	display: grid;
	gap: 14px;
}

.sz-product-items h3 {
	color: #172b4d;
	font-size: 22px;
	margin: 18px 0 4px;
}

.sz-product-item {
	border-left: 6px solid #cfd9e5;
	padding: 18px;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.sz-product-item.is-selected {
	background: #fff8e8;
	border-color: #ff9f1a;
	box-shadow: 0 0 0 4px rgba(255, 159, 26, .12);
}

.sz-product-check {
	align-items: flex-start;
	display: grid !important;
	gap: 4px 10px;
	grid-template-columns: 24px 1fr;
	margin-bottom: 14px !important;
	position: relative;
}

.sz-product-check input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.sz-checkmark {
	background: #fff;
	border: 2px solid #a9b8ca;
	border-radius: 6px;
	display: block;
	height: 20px;
	margin-top: 1px;
	width: 20px;
}

.sz-product-item.is-selected .sz-checkmark {
	background: #ff9f1a;
	border-color: #ff9f1a;
}

.sz-product-item.is-selected .sz-checkmark:after {
	color: #fff;
	content: "✓";
	display: block;
	font-size: 14px;
	font-weight: 900;
	line-height: 17px;
	text-align: center;
}

.sz-product-name {
	color: #172b4d;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.sz-product-meta {
	color: #52637a;
	font-size: 13px;
	grid-column: 2;
}

.sz-product-fields {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(120px, 180px) 1fr;
	margin: 12px 0;
}

.sz-product-fields label {
	color: #25364d;
	font-weight: 800;
	margin: 0 !important;
}

.sz-product-fields input,
.sz-product-fields select {
	margin-top: 6px;
	width: 100%;
}

.sz-file-label {
	color: #25364d;
	font-weight: 800;
	margin-top: 14px;
}

.sz-file-control {
	background: #f8fafc;
	border: 1px dashed #a9b8ca;
	border-radius: 10px;
	padding: 12px;
}

.sz-file-control input {
	max-width: 100%;
}

.sz-form-feedback {
	color: #b42318;
	font-weight: 700;
	margin: 0;
	min-height: 22px;
}

.sz-submit-bar {
	align-items: center;
	background: #fff;
	border-top: 1px solid #e2e8f0;
	bottom: 0;
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr minmax(220px, 320px);
	padding: 16px 0 0;
	position: sticky;
	z-index: 3;
}

.sz-customer-detail {
	display: grid;
	gap: 16px;
}

.sz-customer-detail-hero,
.sz-customer-panel {
	background: #fff;
	border: 1px solid #d8e1ec;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	padding: 18px;
}

.sz-customer-detail-hero {
	border-left: 6px solid #0ea5d7;
}

.sz-customer-detail-hero span {
	color: #52637a;
	display: block;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.sz-customer-detail-hero h2 {
	color: #172b4d;
	margin: 5px 0;
}

.sz-customer-detail-hero p,
.sz-customer-panel p {
	margin: 0;
}

.sz-customer-panel h3 {
	color: #172b4d;
	margin: 0 0 12px;
}

.sz-customer-item,
.sz-customer-note {
	background: #fbfdff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-top: 10px;
	padding: 12px;
}

.sz-customer-item strong,
.sz-customer-item small {
	display: block;
}

.sz-customer-item small {
	color: #52637a;
	margin-top: 3px;
}

.sz-customer-attachments {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.sz-customer-attachments a {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #172b4d;
	display: block;
	padding: 8px;
	text-decoration: none;
}

.sz-customer-attachments img {
	aspect-ratio: 4 / 3;
	border-radius: 6px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.sz-customer-attachments span {
	display: block;
	font-size: 12px;
	font-weight: 700;
	margin-top: 6px;
	overflow-wrap: anywhere;
}

.sz-customer-history {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sz-customer-history li {
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 10px 0;
}

.sz-customer-history li:last-child {
	border-bottom: 0;
}

.sz-return-cart-label {
	color: #52637a;
	display: inline-block;
	font-weight: 700;
	margin-top: 4px;
}

.sz-submit-button {
	background: #0f8fbd !important;
	border: 0 !important;
	border-radius: 10px !important;
	color: #fff !important;
	font-weight: 800 !important;
	min-height: 52px;
	width: 100%;
}

.sz-submit-button:hover {
	background: #08769d !important;
}

.sz-submit-button:disabled {
	cursor: wait;
	opacity: .75;
}

.sz-incidencias-table th,
.sz-incidencias-table td {
	vertical-align: middle;
}

@media (max-width: 780px) {
	.sz-report-hero {
		padding: 22px;
	}

	.sz-report-hero h2 {
		font-size: 24px;
	}

	.sz-type-options,
	.sz-product-fields,
	.sz-submit-bar {
		grid-template-columns: 1fr;
	}
}
