/**
 * Reklamationsformular.
 *
 * Optik bewusst am Widerrufsformular ausgerichtet (siehe
 * smartkram-withdrawal-guest/assets/withdrawal-guest.css): dieselben
 * Feldabstaende, Rahmen und die Positions-Tabelle im Stil der dortigen
 * shop_table. Der Shop hat 'woocommerce-general' dequeued (Oxygen stylt
 * WooCommerce selbst), deshalb bringen beide Formulare ihre Basis selbst mit.
 *
 * Alles unter .skc-form gescopt, damit nichts anderes auf der Seite
 * beeinflusst wird.
 */

.skc-form {
	max-width: 42rem;
}

.skc-step__title {
	margin-top: 0;
}

.skc-intro {
	margin-top: 0;
	color: #767676;
}

.skc-field {
	display: block;
	margin: 0 0 1.25em;
}

.skc-field label,
.skc-field .skc-label {
	display: block;
	margin-bottom: .35em;
	font-weight: 600;
	line-height: 1.4;
}

/* Eingabefelder wie im Widerrufsformular. */
.skc-form .skc-field input[type="text"],
.skc-form .skc-field input[type="email"],
.skc-form .skc-field input[type="number"],
.skc-form .skc-field select,
.skc-form .skc-field textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: .7em .8em;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	font: inherit;
	line-height: 1.4;
}

.skc-form .skc-field input:focus,
.skc-form .skc-field select:focus,
.skc-form .skc-field textarea:focus {
	border-color: #666;
	outline: 2px solid transparent;
	outline-offset: 2px;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .12);
}

.skc-form .skc-field input[readonly] {
	background: #f7f7f7;
	color: #767676;
}

.skc-required {
	color: #b22222;
	border: 0;
	text-decoration: none;
}

.skc-hint {
	display: block;
	margin-top: .35em;
	font-size: .85em;
	color: #767676;
}

.skc-radio {
	display: inline-block;
	margin-right: 1.5em;
	font-weight: 400;
}

.skc-form .skc-radio input {
	width: auto;
	margin-right: .4em;
}

/* Positions-Tabelle – Aufbau wie die shop_table des Widerrufsformulars. */
.skc-table {
	width: 100%;
	margin: 1em 0 1.5em;
	border-collapse: collapse;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}

.skc-table th,
.skc-table td {
	padding: .75em;
	text-align: left;
	border-bottom: 1px solid #ececec;
	vertical-align: middle;
}

.skc-table thead th {
	background: #f7f7f7;
	font-weight: 600;
}

.skc-table tbody tr:last-child td {
	border-bottom: 0;
}

.skc-col-select {
	width: 3em;
}

.skc-col-qty {
	width: 9em;
	white-space: nowrap;
	color: #767676;
}

.skc-form .skc-select-item {
	width: auto;
	margin: 0;
}

.skc-item-name {
	display: block;
	margin: 0;
	font-weight: 600;
	cursor: pointer;
}

.skc-item-sku {
	display: block;
	color: #767676;
	font-size: .85em;
}

/* Ausgewaehlte Position hervorheben, damit die Zuordnung der Felder klar ist. */
.skc-row--active td {
	background: #fbfbfb;
	border-bottom-color: transparent;
}

.skc-fields td {
	padding: 1.25em;
	background: #fbfbfb;
}

.skc-fields .skc-field:last-child {
	margin-bottom: 0;
}

/* Lieferzeit-Weiche: keine Reklamation, sondern Ware, die noch kommt. */
.skc-delivery-hint:not([hidden]) {
	margin: 0 0 1.25em;
	padding: 1em 1.25em;
	border-left: 4px solid #2271b1;
	background: #eef4fa;
}

.skc-delivery-hint__text {
	margin-top: 0;
}

.skc-delivery-hint .skc-hint {
	margin-top: .5em;
}

.skc-checkbox {
	display: block;
	font-weight: 600;
}

.skc-form .skc-checkbox input {
	width: auto;
	margin-right: .4em;
}

/* Hinweise zu Hersteller-Sonderfaellen. */
.skc-special:not([hidden]),
.skc-notice--special {
	margin: 0 0 1.25em;
	padding: 1em 1.25em;
	border-left: 4px solid #d9a406;
	background: #fdf6e3;
}

.skc-special p:first-child,
.skc-notice--special p:first-child {
	margin-top: 0;
}

.skc-special p:last-child,
.skc-notice--special p:last-child {
	margin-bottom: 0;
}

/* Meldungen wie die woocommerce-error des Widerrufsformulars. */
.skc-messages:not([hidden]) {
	margin: 0 0 1.5em;
	padding: 1em 1.25em;
	border-top: 3px solid #b81c23;
	border-radius: 3px;
	background-color: #f7f6f7;
}

.skc-documents {
	margin-top: 1.5em;
	padding: 1em 1.25em;
	background: #f4f7f4;
	border-left: 4px solid #46803f;
}

.skc-documents h3 {
	margin-top: 0;
}

.skc-claim-number {
	font-weight: 600;
}

.skc-mail-hint {
	color: #767676;
}

.skc-actions {
	margin-top: 1.5em;
}

.skc-button--secondary {
	margin-right: .75em;
}

.skc-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
