.eptf-form {
	--eptf-field-bg: #e6e6e6;
	--eptf-field-text: #000;
	--eptf-btn-bg: #000;
	--eptf-btn-text: #fff;
	--eptf-btn-hover: #b0c6ff;
	--eptf-hover-text: #000;
	--eptf-upload-bg: #b0c6ff;
	--eptf-upload-text: #000;
	--eptf-success-bg: #b0c6ff;
	--eptf-error-bg: #f9e4e8;
	--eptf-required: #e51919;
	--eptf-radius: 5px;
	--eptf-radius-field: 0px;
	margin: 0;
	max-width: 100%;
	font-family: 'Montserrat', sans-serif;
}

.eptf-form .eptf-row {
	position: relative;
	margin-bottom: 14px;
}

.eptf-form input.eptf-input,
.eptf-form textarea.eptf-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: var(--eptf-field-bg);
	background-color: var(--eptf-field-bg);
	color: var(--eptf-field-text);
	border: 0;
	border-radius: var(--eptf-radius-field);
	padding: 10px;
	font-size: 16px;
	font-weight: 400;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.3;
	box-shadow: none;
	outline: none;
}

.eptf-form input.eptf-input:focus,
.eptf-form textarea.eptf-input:focus {
	border: 0;
	outline: none;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
	background-color: var(--eptf-field-bg);
	color: var(--eptf-field-text);
}

.eptf-form input.eptf-input::placeholder,
.eptf-form textarea.eptf-input::placeholder {
	color: rgba(0, 0, 0, 0.5);
	opacity: 1;
}

.eptf-form textarea.eptf-textarea {
	min-height: 100px;
	resize: vertical;
}

.eptf-form .eptf-counter {
	display: block;
	text-align: right;
	font-size: 16px;
	font-weight: 400;
	color: #333;
	margin-bottom: 4px;
}

.eptf-form .eptf-label {
	display: block;
	font-size: 12px;
	font-weight: 400;
	margin-bottom: 8px;
	color: inherit;
}

.eptf-form .eptf-required {
	color: var(--eptf-required);
}

.eptf-form .eptf-upload {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.eptf-form .eptf-upload input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.eptf-form button.eptf-upload-btn {
	background: var(--eptf-upload-bg);
	background-color: var(--eptf-upload-bg);
	color: var(--eptf-upload-text);
	border: 0;
	border-radius: var(--eptf-radius);
	padding: 10px 18px;
	font-size: 16px;
	font-weight: 600;
	font-family: 'Helvetica', sans-serif;
	line-height: 1.4;
	text-transform: lowercase;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.eptf-form button.eptf-upload-btn:hover,
.eptf-form button.eptf-upload-btn:focus {
	background: var(--eptf-btn-bg);
	background-color: var(--eptf-btn-bg);
	color: var(--eptf-btn-text);
}

.eptf-form .eptf-file-name {
	font-size: 12px;
	font-weight: 500;
	word-break: break-all;
}

.eptf-form button.eptf-file-remove {
	background: none;
	border: 0;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	padding: 4px;
	color: inherit;
	opacity: 0.7;
}

.eptf-form button.eptf-file-remove:hover {
	opacity: 1;
}

.eptf-form .eptf-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.eptf-form .eptf-row-submit {
	margin-bottom: 0;
	margin-top: 24px;
}

.eptf-form button.eptf-submit {
	background: var(--eptf-btn-bg);
	background-color: var(--eptf-btn-bg);
	color: var(--eptf-btn-text);
	border: 0;
	border-radius: var(--eptf-radius);
	padding: 10px 18px;
	font-size: 16px;
	font-weight: 600;
	font-family: 'Helvetica', sans-serif;
	line-height: 1.4;
	text-transform: lowercase;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.eptf-form button.eptf-submit:hover,
.eptf-form button.eptf-submit:focus {
	background: var(--eptf-btn-hover);
	background-color: var(--eptf-btn-hover);
	color: var(--eptf-hover-text);
}

.eptf-form button.eptf-submit[disabled] {
	opacity: 0.6;
	cursor: wait;
}

.eptf-form .eptf-message {
	border-radius: var(--eptf-radius);
	padding: 12px 16px;
	margin-bottom: 14px;
	font-size: 15px;
	font-family: 'Montserrat', sans-serif;
	line-height: 1.5;
}

.eptf-form .eptf-message.eptf-success {
	background: var(--eptf-success-bg);
	color: #000;
}

.eptf-form .eptf-message.eptf-error {
	background: var(--eptf-error-bg);
	color: #333;
}

.eptf-form .eptf-gdpr {
	margin-top: 16px;
	font-size: 12px;
	line-height: 1.5;
	opacity: 0.75;
}

.eptf-form .eptf-gdpr a {
	color: inherit;
	text-decoration: underline;
}

.eptf-form input.eptf-input.eptf-invalid,
.eptf-form textarea.eptf-input.eptf-invalid {
	box-shadow: inset 0 0 0 1px var(--eptf-required);
}
