/**
 * Frontend Form Styles
 */
.aifb-form {
	max-width: 600px;
	margin: 30px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.aifb-form-container {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.aifb-field {
	margin-bottom: 25px;
}

.aifb-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #333;
}

.aifb-required {
	color: #dc3232;
	margin-left: 4px;
}

.aifb-input,
.aifb-textarea,
.aifb-select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.aifb-input:focus,
.aifb-textarea:focus,
.aifb-select:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.aifb-textarea {
	resize: vertical;
	min-height: 100px;
}

.aifb-radio-label,
.aifb-checkbox-label {
	display: block;
	margin-bottom: 10px;
	cursor: pointer;
	font-weight: normal;
}

.aifb-radio-label input[type="radio"],
.aifb-checkbox-label input[type="checkbox"] {
	margin-right: 8px;
	width: auto;
}

.aifb-help-text {
	display: block;
	margin-top: 5px;
	font-size: 12px;
	color: #666;
	font-style: italic;
}

.aifb-form-actions {
	margin-top: 30px;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.aifb-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background 0.2s;
	font-weight: 600;
}

.aifb-btn-submit {
	background: #0073aa;
	color: #fff;
}

.aifb-btn-submit:hover {
	background: #005a87;
}

.aifb-btn-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.aifb-btn-prev,
.aifb-btn-next {
	background: #666;
	color: #fff;
}

.aifb-btn-prev:hover,
.aifb-btn-next:hover {
	background: #555;
}

.aifb-form-message {
	padding: 15px;
	margin-top: 20px;
	border-radius: 4px;
	font-size: 14px;
}

.aifb-form-message.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.aifb-form-message.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Multi-step form styles */
.aifb-multi-step .aifb-step-indicator {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #eee;
}

.aifb-multi-step .aifb-step {
	padding: 10px 20px;
	background: #f5f5f5;
	border-radius: 4px;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	position: relative;
	flex: 1;
	margin-right: 10px;
	text-align: center;
}

.aifb-multi-step .aifb-step:last-child {
	margin-right: 0;
}

.aifb-multi-step .aifb-step.active {
	background: #0073aa;
	color: #fff;
}

.aifb-multi-step .aifb-step-content {
	display: none;
}

.aifb-multi-step .aifb-step-content:first-child {
	display: block;
}

/* Responsive */
@media (max-width: 768px) {
	.aifb-form {
		margin: 20px;
		max-width: 100%;
	}
	
	.aifb-form-container {
		padding: 20px;
	}
	
	.aifb-multi-step .aifb-step-indicator {
		flex-direction: column;
		gap: 10px;
	}
	
	.aifb-multi-step .aifb-step {
		margin-right: 0;
	}
}

