/*
 * Full CSS for all Brandshop forms
 * This file is enqueued in the main functions.php
 */

.brandshop-form-wrapper {
	max-width: 800px;
	margin: 40px auto;
	padding: 30px;
	background: #f9f9f9;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	font-family: 'Inter', sans-serif;
	color: #2D3E50;
	box-sizing: border-box;
}

.brandshop-form-wrapper h2.form-title {
	text-align: center;
	margin-bottom: 30px;
	font-size: 28px;
	font-weight: 600;
	color: #2D3E50;
}

/* Progress Bar */
.progressbar {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 40px;
}
.progressbar::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 4px;
	background: #e0e0e0;
	z-index: 0;
	transform: translateY(-50%);
}
.progress-step {
	width: 28px;
	height: 28px;
	background: #e0e0e0;
	border-radius: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font-size: 12px;
	color: #fff;
}
.progress-step.active,
.progress-step.completed {
	background: #2D75FF;
}
.progress-step::after {
	content: attr(data-title);
	position: absolute;
	top: 36px;
	font-size: 13px;
	color: #2D3E50;
	white-space: nowrap;
	text-align: center;
}

/* Form Steps */
.form-step {
	display: none;
}
.form-step.active {
	display: block;
}
.form-step label {
	font-weight: 500;
	margin-top: 12px;
	display: block;
}

/* Inputs, Textareas, Selects */
.form-step select,
.form-step textarea,
.form-step input[type=text],
.form-step input[type=date],
.form-step input[type=number] {
	width: 100%;
	padding: 12px 14px;
	margin-top: 6px;
	border: 1px solid #2D3E50;
	border-radius: 6px;
	font-size: 14px;
	color: #2D3E50;
	box-sizing: border-box;
}

textarea {
	resize: vertical;
	min-height: 80px;
}

/* ===== Checkbox & Radio ===== */
.brandshop-form-wrapper input[type="checkbox"],
.brandshop-form-wrapper input[type="radio"] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #2D3E50;
	border-radius: 4px;
	display: inline-block;
	position: relative;
	margin-right: 10px;
	vertical-align: middle;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.brandshop-form-wrapper input[type="radio"] {
	border-radius: 50%;
}

/* Checked state */
.brandshop-form-wrapper input[type="checkbox"]:checked::before,
.brandshop-form-wrapper input[type="radio"]:checked::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	background: #2D75FF;
	transform: translate(-50%, -50%);
	border-radius: inherit;
}

/* Focus state */
.brandshop-form-wrapper input[type="checkbox"]:focus,
.brandshop-form-wrapper input[type="radio"]:focus {
	outline: 2px solid #2D75FF;
	outline-offset: 2px;
}

/* Label alignment */
.brandshop-form-wrapper .option-label {
	display: flex;
	align-items: center;
	margin: 6px 0;
	font-size: 14px;
}
.brandshop-form-wrapper .option-label input {
	margin: 0 8px 0 0;
	width: auto;
}

/* Buttons */
.brandshop-submit-btn,
.next-step,
.prev-step {
	background: #2D75FF;
	color: #fff;
	border: none;
	line-height: 1em;
	padding: 14px;
	width: 100%;
	border-radius: 8px;
	margin-top: 15px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s ease;
}
.brandshop-submit-btn:hover,
.next-step:hover,
.prev-step:hover {
	background: #1C5BD3;
}

/* Step Navigation Buttons */
.step-nav {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

/* Small note below submit button */
.form-step small {
	display: block;
	margin-top: 10px;
	font-size: 13px;
	color: #555;
}

/* Responsive */
@media (max-width: 768px) {
	.brandshop-form-wrapper { padding: 20px; }
	.progress-step::after { top: 32px; font-size: 11px; }
	.step-nav { flex-direction: column; }
}