.eos-cc-form {
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	font-family: inherit;
}

.eos-cc-form label {
	display: flex;
	flex-direction: column;
	font-size: 0.95rem;
	font-weight: 600;
	gap: 0.35rem;
	flex: 1;
}

.eos-cc-form input,
.eos-cc-form textarea {
	font: inherit;
	font-weight: 400;
	padding: 0.6rem 0.75rem;
	border: 1px solid #c8c8c8;
	border-radius: 6px;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}

.eos-cc-form input:focus,
.eos-cc-form textarea:focus {
	outline: 2px solid #4a90e2;
	outline-offset: 1px;
	border-color: #4a90e2;
}

.eos-cc-row {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.eos-cc-row > label {
	min-width: 200px;
}

.eos-cc-req {
	color: #c0392b;
	font-weight: 700;
}

.eos-cc-submit {
	align-self: flex-start;
	background: #222;
	color: #fff;
	border: 0;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.eos-cc-submit:hover {
	background: #000;
}

.eos-cc-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.eos-cc-message {
	min-height: 1.25rem;
	font-size: 0.95rem;
}

.eos-cc-message.is-error {
	color: #c0392b;
}

.eos-cc-message.is-success {
	color: #1e7e34;
	font-weight: 600;
}
