* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: #f7f2ea;
	color: #2f3b2f;
	line-height: 1.6;
}

.fl-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
}

.fl-card {
	background: #fff;
	border-radius: 12px;
	padding: 32px 30px;
	max-width: 480px;
	width: 100%;
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.08);
}

.fl-brand {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	font-size: 15px;
	color: #2f3b2f;
	padding-bottom: 18px;
	margin-bottom: 20px;
	border-bottom: 1px solid #f0ece2;
}

.fl-brand svg {
	width: 22px;
	height: 22px;
	color: #e8712a;
}

h1 {
	font-size: 22px;
	margin: 0 0 8px;
}

.fl-intro {
	color: #6a6a60;
	font-size: 14.5px;
	margin: 0 0 20px;
}

label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 5px;
	margin-top: 14px;
}

input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid #e5e1d8;
	border-radius: 6px;
	font-size: 16px;
	font-family: inherit;
}

input:focus {
	outline: 2px solid #e8712a;
	outline-offset: 1px;
}

button {
	width: 100%;
	margin-top: 20px;
	background: #e8712a;
	color: #fff;
	border: none;
	padding: 14px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

button:hover { background: #d9601c; }

.fl-error {
	background: #fbeaea;
	color: #b03a3a;
	padding: 12px 14px;
	border-radius: 6px;
	font-size: 13.5px;
	margin: 0 0 4px;
}

.fl-help {
	font-size: 13px;
	color: #8a8a80;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid #f0ece2;
}

/* ---------- Result view ---------- */

.fl-status {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 10px;
	background: #6a6a60;
}

.fl-status--new { background: #e8712a; }
.fl-status--contacted { background: #c98a3e; }
.fl-status--confirmed { background: #3f6b3f; }
.fl-status--delivered { background: #2f6f8f; }
.fl-status--picked_up { background: #6a4fae; }
.fl-status--invoiced { background: #2f3b2f; }
.fl-status--cancelled { background: #b03a3a; }

.fl-status-text {
	font-size: 14.5px;
	color: #4a4a45;
	margin: 0 0 22px;
}

.fl-details {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.fl-details th {
	text-align: left;
	font-weight: 500;
	color: #8a8a80;
	padding: 9px 0;
	width: 45%;
	vertical-align: top;
}

.fl-details td {
	text-align: right;
	font-weight: 600;
	padding: 9px 0;
	border-bottom: 1px solid #f7f2ea;
}

.fl-back {
	display: inline-block;
	margin-top: 8px;
	color: #e8712a;
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
}
