/**
 * Holiday Reset AI — Frontend styles.
 */

.hrai-questionnaire {
	max-width: 640px;
	margin: 0 auto;
	padding: 1.5rem;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	background: #fff;
}

.hrai-questionnaire__title {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: 1.5rem;
	line-height: 1.3;
}

.hrai-questionnaire__intro {
	margin: 0 0 1.25rem;
	color: #50575e;
	line-height: 1.5;
}

.hrai-required {
	color: #d63638;
}

.hrai-field {
	margin-bottom: 1rem;
}

.hrai-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.hrai-field input,
.hrai-field textarea {
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font: inherit;
}

.hrai-field--submit {
	margin-top: 1.5rem;
}

.hrai-button {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	border: 0;
	border-radius: 4px;
	font: inherit;
	cursor: pointer;
}

.hrai-button--primary {
	background: #2271b1;
	color: #fff;
}

.hrai-button--primary:hover,
.hrai-button--primary:focus {
	background: #135e96;
}

.hrai-button[disabled] {
	opacity: 0.65;
	cursor: not-allowed;
}

.hrai-questionnaire__message {
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.hrai-questionnaire__message.is-success {
	background: #edfaef;
	color: #1e4620;
	border: 1px solid #68de7c;
}

.hrai-questionnaire__message.is-error {
	background: #fcf0f1;
	color: #3c1a1a;
	border: 1px solid #f1aeb5;
}

.hrai-questionnaire__message[hidden] {
	display: none;
}
