.ppc-form-wrap {
	width: 100%;
	max-width: 680px;
}

.ppc-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.ppc-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ppc-field {
	display: flex;
	flex-direction: column;
}

.ppc-field--textarea,
.ppc-field--select {
	grid-column: 1 / -1;
}

.ppc-field input,
.ppc-field textarea,
.ppc-field select {
	width: 100%;
	padding: 14px 16px;
	border: 1.5px solid #e0e0e0;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	color: #1a1a1a;
	background-color: #fff !important;
	transition: border-color 0.2s, box-shadow 0.2s;
	outline: none;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.ppc-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	background-color: #f9f9f9;
	border-style: solid;
	cursor: pointer;
}

.ppc-field input::placeholder,
.ppc-field textarea::placeholder {
	color: #aaa;
}

.ppc-field input:focus,
.ppc-field textarea:focus,
.ppc-field select:focus {
	border-color: #666;
	box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.ppc-field input.ppc-error,
.ppc-field textarea.ppc-error,
.ppc-field select.ppc-error {
	border-color: #e53935;
}

.ppc-field textarea {
	resize: vertical;
	min-height: 120px;
}

.ppc-submit-wrap {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
}

.ppc-submit {
	padding: 14px 36px;
	background: var(--buttons-background-color, #1a1a1a);
	color: var(--buttons-text-color, #fff);
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	font-family: inherit;
}

.ppc-submit:hover {
	filter: brightness(0.88);
}

.ppc-submit:active {
	transform: scale(0.98);
}

.ppc-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ppc-feedback {
	margin-top: 16px;
	font-size: 14px;
	min-height: 20px;
}

.ppc-feedback.ppc-success {
	color: #2e7d32;
}

.ppc-feedback.ppc-error-msg {
	color: #c62828;
}

@media (max-width: 540px) {
	.ppc-fields {
		grid-template-columns: 1fr;
	}
	.ppc-field--textarea,
	.ppc-field--select {
		grid-column: 1;
	}
}
