/* EU Withdrawal Button - front-end styles */

.ewfw-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.ewfw-title {
	margin: 0 0 .5em;
}

.ewfw-intro {
	font-size: 1.02em;
	line-height: 1.55;
}

.ewfw-custom-intro {
	margin: 0 0 1.2em;
}

.ewfw-form .ewfw-field {
	display: flex;
	flex-direction: column;
	margin: 0 0 1.1em;
}

.ewfw-form .ewfw-field label {
	font-weight: 600;
	margin-bottom: .35em;
}

.ewfw-req {
	color: #c0392b;
}

.ewfw-form input[type="text"],
.ewfw-form input[type="email"],
.ewfw-form textarea {
	width: 100%;
	padding: .65em .8em;
	border: 1px solid #c9ccd1;
	border-radius: 6px;
	font-size: 1em;
	box-sizing: border-box;
}

.ewfw-form input:focus,
.ewfw-form textarea:focus {
	border-color: #2f6f4f;
	outline: 2px solid rgba(47, 111, 79, .18);
}

.ewfw-help {
	color: #666;
	font-size: .88em;
	margin-top: .3em;
}

.ewfw-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 1.4em;
}

.ewfw-btn {
	display: inline-block;
	padding: .7em 1.4em;
	border: 0;
	border-radius: 6px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}

.ewfw-btn-primary {
	background: #2f6f4f;
	color: #fff;
}

.ewfw-btn-primary:hover {
	background: #275e43;
	color: #fff;
}

.ewfw-btn-secondary {
	background: #eceef0;
	color: #222;
}

.ewfw-btn-secondary:hover {
	background: #dfe2e6;
	color: #222;
}

.ewfw-btn-confirm {
	background: #c0392b;
	color: #fff;
}

.ewfw-btn-confirm:hover {
	background: #a83224;
	color: #fff;
}

.ewfw-btn[disabled] {
	opacity: .6;
	cursor: default;
}

/* Notices */
.ewfw-notice {
	padding: .9em 1.1em;
	border-radius: 6px;
	margin: 0 0 1.3em;
}

.ewfw-notice ul {
	margin: 0;
	padding-left: 1.2em;
}

.ewfw-error {
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: #86271c;
}

.ewfw-warning {
	background: #fff6e5;
	border: 1px solid #f3d9a3;
	color: #7a5600;
}

.ewfw-success {
	background: #eaf6ee;
	border: 1px solid #b7dfc4;
	color: #1d5334;
}

/* Summary table */
.ewfw-summary table {
	width: 100%;
	border-collapse: collapse;
	margin: .4em 0 1em;
}

.ewfw-summary th,
.ewfw-summary td {
	text-align: left;
	vertical-align: top;
	padding: .6em .7em;
	border-bottom: 1px solid #e6e8eb;
}

.ewfw-summary th {
	width: 40%;
	font-weight: 600;
	color: #444;
}

.ewfw-reference {
	font-size: 1.1em;
}

/* Floating button */
.ewfw-floating {
	position: fixed;
	bottom: 20px;
	z-index: 99998;
	display: inline-flex;
	align-items: center;
	padding: .7em 1.15em;
	background: #2f6f4f;
	color: #fff !important;
	font-size: .92em;
	font-weight: 600;
	text-decoration: none;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
	line-height: 1.2;
}

.ewfw-floating:hover {
	background: #275e43;
}

.ewfw-pos-bottom-right {
	right: 20px;
}

.ewfw-pos-bottom-left {
	left: 20px;
}

@media (max-width: 600px) {
	.ewfw-floating {
		bottom: 14px;
		padding: .6em .95em;
		font-size: .84em;
	}

	.ewfw-pos-bottom-right {
		right: 12px;
	}

	.ewfw-pos-bottom-left {
		left: 12px;
	}

	.ewfw-actions {
		flex-wrap: wrap;
	}
}

@media print {
	.ewfw-no-print,
	.ewfw-floating {
		display: none !important;
	}
}

/* Full / partial scope selector */
.ewfw-wrap [hidden] {
	display: none !important;
}

.ewfw-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ewfw-scope-wrap {
	margin: 1.2em 0 1em;
}

.ewfw-field-label {
	font-weight: 600;
	margin: 0 0 .45em;
}

.ewfw-radio {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	margin: 0 1.4em .4em 0;
	cursor: pointer;
}

.ewfw-items-picker {
	background: #fafbfc;
	border: 1px solid #e2e5e9;
	border-radius: 6px;
	padding: .9em 1.05em;
	margin: 0 0 1.2em;
}

.ewfw-items-list {
	list-style: none;
	margin: .4em 0 0;
	padding: 0;
}

.ewfw-items-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: .55em 0;
	border-bottom: 1px solid #eceef1;
}

.ewfw-items-list li:last-child {
	border-bottom: 0;
}

.ewfw-items-list label {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	margin: 0;
	font-weight: 500;
	cursor: pointer;
}

.ewfw-qty {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	white-space: nowrap;
}

.ewfw-qty select {
	padding: .25em .45em;
	border: 1px solid #c9ccd1;
	border-radius: 4px;
}

.ewfw-of {
	color: #666;
	font-size: .9em;
}

.ewfw-inline-error {
	color: #a83224;
	font-weight: 600;
	margin: .6em 0 0;
}

/* Honeypot: visually removed, still present for bots */
.ewfw-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
