/**
 * EU Easy Withdrawal — minimal frontend styling.
 * Intentionally lightweight so it inherits the theme's typography and colours.
 */

.euew-form-wrap {
	max-width: 640px;
	margin: 0 auto;
	padding: 20px 0px;
}

.euew-form .euew-field {
	margin: 0 0 1.25em;
}

.euew-form label {
	display: block;
	margin-bottom: 0.35em;
	font-weight: 600;
}

.euew-form input[type="text"],
.euew-form input[type="email"],
.euew-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.75em;
	font: inherit;
	/* Never below 16px, otherwise iOS zooms the viewport on focus. */
	font-size: max(16px, 1em);
	line-height: 1.4;
	border: 1px solid #ccc;
	border-radius: 4px;
	transition: border-color 0.15s ease-in-out, outline-color 0.15s ease-in-out;
}

/* Theme-agnostic focus ring: derived from the current text colour. */
.euew-form input[type="text"]:focus,
.euew-form input[type="email"]:focus,
.euew-form textarea:focus {
	border-color: currentColor;
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

.euew-form input[readonly] {
	background: #f3f3f3;
	cursor: not-allowed;
}

.euew-required {
	color: #c0392b;
}

.euew-prefill-note {
	display: block;
	margin-top: 0.35em;
	font-size: 0.85em;
	color: #777;
}

/* Honeypot — hidden from humans, available to bots. */
.euew-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.euew-gdpr {
	font-size: 0.85em;
	color: #666;
	margin: 1em 0 1.25em;
}

.euew-submit {
	margin: 0;
}

.euew-button {
	cursor: pointer;
	padding: 0.6em 1.2em;
	border-radius: 12px;
	border: 1px solid #ccc;
}

/* Subtle, theme-safe press feedback — works on whatever colour the theme gives the button. */
.euew-button:hover {
	filter: brightness(0.95);
}

.euew-notice {
	padding: 0.9em 1.1em;
	margin: 0 0 1.5em;
	border-radius: 4px;
	border: 1px solid transparent;
}

.euew-notice--success {
	background: #e7f6e7;
	border-color: #b6e0b6;
	color: #1d6b1d;
}

.euew-notice--error {
	background: #fcebea;
	border-color: #f3c5c1;
	color: #a00;
}
