/**
 * Front-end styles.
 *
 * The quotation table itself is styled inline (e-mail safe); these rules only
 * handle the surrounding block, the repeater and the responsive behaviour.
 */

.soma-rfq-result {
	border: 1px solid #1a1a1a;
	background: #fff;
	margin: 0 0 28px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.soma-rfq-result__head {
	background: #000;
	color: #fff;
	padding: 18px 20px;
}

.soma-rfq-result__title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	color: #fff;
}

.soma-rfq-result__meta {
	margin: 0 0 8px;
	font-size: 12px;
	color: #b5b5b5;
}

.soma-rfq-result__meta strong {
	color: #fff;
}

.soma-rfq-result__intro {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #e4e4e4;
}

.soma-rfq-result__table {
	padding: 16px;
	overflow-x: auto;
}

.soma-rfq-result__table .soma-rfq-table {
	min-width: 760px;
}

.soma-rfq-result__note {
	margin: 0;
	padding: 0 16px 16px;
	font-size: 11px;
	color: #777;
}

.soma-rfq-result__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	padding: 0 16px 18px;
}

.soma-rfq-result__button {
	display: inline-block;
	background: #000;
	color: #fff !important;
	text-decoration: none;
	padding: 10px 16px;
	font-size: 13px;
	font-weight: 700;
	border: 1px solid #000;
}

.soma-rfq-result__button:hover {
	background: #333;
}

.soma-rfq-result__link {
	background: none;
	border: 0;
	padding: 0;
	font-size: 13px;
	text-decoration: underline;
	color: #0066b4;
	cursor: pointer;
}

/* Line item repeater ---------------------------------------------------- */

.soma-rfq-lines {
	margin: 0 0 26px;
	border: 1px solid #1a1a1a;
	background: #fff;
}

.soma-rfq-lines__head {
	background: #000;
	color: #fff;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
}

.soma-rfq-lines__hint {
	padding: 8px 14px 0;
	font-size: 11px;
	color: #777;
}

.soma-rfq-lines__scroll {
	overflow-x: auto;
	padding: 12px 14px 0;
}

.soma-rfq-lines table {
	width: 100%;
	border-collapse: collapse;
	min-width: 720px;
}

.soma-rfq-lines th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #555;
	padding: 6px 6px;
	border-bottom: 1px solid #ddd;
	white-space: nowrap;
}

.soma-rfq-lines td {
	padding: 6px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
}

.soma-rfq-lines input[type="text"],
.soma-rfq-lines input[type="number"],
.soma-rfq-lines input[type="date"],
.soma-rfq-lines select {
	width: 100%;
	box-sizing: border-box;
	padding: 7px 8px;
	font-size: 13px;
	border: 1px solid #ccc;
	background: #fff;
}

.soma-rfq-lines input:focus,
.soma-rfq-lines select:focus {
	outline: 2px solid #0066b4;
	outline-offset: 1px;
}

.soma-rfq-lines__remove {
	background: none;
	border: 0;
	color: #b91c1c;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
	padding: 6px 0;
}

.soma-rfq-lines__actions {
	padding: 12px 14px 14px;
}

/* Stand-alone page ------------------------------------------------------ */

body.soma-rfq-standalone {
	background: #f4f4f4;
	margin: 0;
	padding: 32px 16px;
	font-family: Arial, Helvetica, sans-serif;
}

.soma-rfq-standalone__inner {
	max-width: 760px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid #1a1a1a;
	padding: 24px;
}

.soma-rfq-standalone h1 {
	margin: 0 0 18px;
	font-size: 22px;
}
