/**
 * Frontend styles for KTZ WooCommerce Fortryd Aftale.
 */

.ktz-fa-wrapper {
	max-width: 720px;
	margin: 0 auto;
	padding: 1.5rem 0;
}

.ktz-fa-title {
	margin-bottom: 1rem;
	font-size: 1.75rem;
}

.ktz-fa-intro {
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.ktz-fa-notice {
	padding: 12px 16px;
	margin-bottom: 1rem;
	border-radius: 4px;
	border-left: 4px solid #ccc;
	background: #f9f9f9;
}

.ktz-fa-notice--success {
	border-left-color: #46b450;
	background: #ecf7ed;
}

.ktz-fa-notice--error {
	border-left-color: #dc3232;
	background: #fbeaea;
}

.ktz-fa-notice--info {
	border-left-color: #0073aa;
	background: #e8f4f8;
}

.ktz-fa-form .form-row {
	margin-bottom: 1rem;
}

.ktz-fa-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.ktz-fa-form input[type="text"],
.ktz-fa-form input[type="email"],
.ktz-fa-form input[type="number"],
.ktz-fa-form textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.ktz-fa-button {
	display: inline-block;
	padding: 0.6rem 1.25rem;
	cursor: pointer;
}

.ktz-fa-button--primary {
	font-weight: 600;
}

.ktz-fa-items {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 1rem;
	margin-bottom: 1rem;
}

.ktz-fa-items legend {
	font-weight: 600;
	padding: 0 0.5rem;
}

.ktz-fa-item {
	padding: 0.75rem 0;
	border-bottom: 1px solid #eee;
}

.ktz-fa-item:last-child {
	border-bottom: none;
}

.ktz-fa-item__label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
}

.ktz-fa-item__name {
	font-weight: 500;
}

.ktz-fa-item__type {
	color: #666;
	font-size: 0.9em;
}

.ktz-fa-item__qty {
	margin: 0.5rem 0 0 1.5rem;
}

.ktz-fa-item__qty input[type="number"] {
	width: 80px;
}

.ktz-fa-item__notice {
	margin: 0.5rem 0 0 1.5rem;
	padding: 0.75rem;
	font-size: 0.9em;
	line-height: 1.5;
	border-radius: 4px;
}

.ktz-fa-item__notice--course {
	background: #fff8e5;
	border-left: 3px solid #dba617;
}

.ktz-fa-item__notice--unknown {
	background: #f0f0f0;
	border-left: 3px solid #999;
}

.ktz-fa-select-all {
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #eee;
}

.ktz-fa-summary {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.ktz-fa-summary th,
.ktz-fa-summary td {
	padding: 0.75rem;
	border: 1px solid #e0e0e0;
	text-align: left;
	vertical-align: top;
}

.ktz-fa-summary th {
	width: 35%;
	background: #f9f9f9;
	font-weight: 600;
}

.ktz-fa-summary__items {
	margin: 0;
	padding-left: 1.25rem;
}

.ktz-fa-confirm__intro {
	margin-bottom: 1rem;
	line-height: 1.6;
}

.ktz-fa-complete {
	font-size: 1.1rem;
	font-weight: 600;
	color: #46b450;
}

.ktz-fa-my-account-link {
	margin-top: 1.5rem;
}

.ktz-fa-logged-in-hint {
	margin-bottom: 1rem;
	color: #555;
}

.required {
	color: #dc3232;
}
