* { box-sizing: border-box; }

body {
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	margin: 0;
	padding: 28px 16px;
	background: radial-gradient(circle at top, #eef4ff 0%, #f6f8fc 45%, #f3f4f8 100%);
	color: #1f2937;
}

.card {
	max-width: 860px;
	margin: 0 auto;
	background: #ffffff;
	padding: 24px;
	border-radius: 16px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

h1 {
	margin: 0 0 14px;
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.2px;
	color: #0f172a;
}

.grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.full { grid-column: 1 / -1; }

label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #475569;
	display: block;
	margin-bottom: 6px;
}

input,
select {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #ffffff;
	font-size: 14px;
	color: #0f172a;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

input:focus,
select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

button {
	margin-top: 16px;
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s ease, filter .2s ease;
}

button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

button:active { transform: translateY(0); }

.status {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	min-height: 18px;
}

.signature-wrap {
	border: 1px solid #dbe2ea;
	border-radius: 12px;
	padding: 10px;
	background: linear-gradient(180deg, #fafcff 0%, #f8fafc 100%);
}

#sellerSignaturePad {
	width: 100%;
	height: 90px;
	border: 2px dashed #94a3b8;
	border-radius: 10px;
	background: #fff;
	touch-action: none;
}

.row-actions {
	display: flex;
	gap: 10px;
	margin-top: 8px;
}

.btn-secondary {
	margin-top: 0;
	background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

@media (max-width: 720px) {
	.card {
		padding: 18px;
		border-radius: 12px;
	}

	h1 { font-size: 24px; }

	.grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}
