
/* === FILE: style.css === */
:root {
	--bg: #f6f7fb;
	--card: #fff;
	--text: #0f172a;
	--muted: #475569;
	--brand: #635bff;
	--line: #e2e8f0;
	--input: #f8fafc;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.45;
}

header {
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 10px 20px;
	display: flex;
	justify-content: center;
}

header img {
	max-height: 50px;
}

main {
	padding: 20px;
}

h1 {
	font-size: clamp(24px, 4vw, 36px);
	margin: 0 0 16px;
}

.form-card {
	background: var(--card);
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15,23,42,.08);
	padding: 24px;
	max-width: 700px;
	margin: 0 auto;
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

label {
	display: block;
	font-size: 13px;
	color: var(--text);
	font-weight: 600;
	margin-bottom: 6px;
}

input,
select,
textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--input);
	font: inherit;
	outline: none;
	transition: border .2s, box-shadow .2s, background .2s;
}

input::placeholder,
textarea::placeholder {
	color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(99,91,255,.15);
	background: #fff;
}

.submit-row {
	display: flex;
	justify-content: flex-end;
	margin-top: 20px;
}

button {
	background: var(--brand);
	color: #fff;
	border: 0;
	padding: 12px 18px;
	border-radius: 999px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(99,91,255,.35);
	transition: transform .05s ease, box-shadow .2s ease;
}

button:active {
	transform: translateY(1px);
}

.summary {
	margin-top: 20px;
	padding: 16px;
	background: var(--input);
	border-radius: 12px;
}

.summary div {
	margin-bottom: 6px;
}

.summary .total {
	font-weight: 700;
	font-size: 18px;
}

header table td {
	text-align: left;
}

header table {
    width: 1242px;
    margin: 0 auto;
}

h1 {
    margin: 0 auto;
    max-width: 700px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #666;
    font-size: 26px;
    margin-bottom: 10px;
}

header table {
    margin: 20px 0;
}

header table td>span {
    white-space: nowrap;
    margin: 0px 10px;
    
}

header table td>span>span>span {
    position: relative;
    top: -16px;
    margin: 0 10px;
    color: #666;
}

