/* WC Withdrawal Form - Styles */

.wcwf-form-wrapper {
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.wcwf-step {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 28px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wcwf-step-title {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 1.25em;
}

.wcwf-step-desc {
	margin-top: 0;
	margin-bottom: 20px;
	color: #555;
	font-size: 0.95em;
}

.wcwf-field {
	margin-bottom: 18px;
}

.wcwf-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.95em;
}

.wcwf-required {
	color: #c0392b;
}

.wcwf-optional {
	color: #888;
	font-weight: 400;
	font-size: 0.9em;
}

.wcwf-field input[type="text"],
.wcwf-field input[type="email"],
.wcwf-field input[type="date"],
.wcwf-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1em;
	box-sizing: border-box;
	background: #fff;
}

.wcwf-field input:disabled {
	background: #f5f5f5;
	color: #777;
}

.wcwf-field input:focus,
.wcwf-field textarea:focus {
	outline: none;
	border-color: #6b8fb5;
	box-shadow: 0 0 0 3px rgba(107, 143, 181, 0.15);
}

.wcwf-help-text {
	margin: 8px 0 0;
	font-size: 0.85em;
	color: #777;
}

/* Λίστα προϊόντων με checkboxes */
.wcwf-products-list {
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
}

label.wcwf-product-item {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	transition: background 0.15s;
	width: 100%;
	box-sizing: border-box;
}

label.wcwf-product-item:last-child {
	border-bottom: none;
}

label.wcwf-product-item:hover {
	background: #f9f9f9;
}

.wcwf-product-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin: 0;
	cursor: pointer;
}

img.wcwf-product-thumb {
	display: block;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #eee;
	background: #f5f5f5;
}

span.wcwf-product-details {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px;
	flex: 1 1 auto;
	min-width: 0;
}

.wcwf-product-item .wcwf-product-name {
	display: block;
	font-size: 0.95em;
	line-height: 1.3;
}

.wcwf-product-item .wcwf-product-qty {
	display: block;
	color: #888;
	font-size: 0.82em;
}

span.wcwf-product-price {
	display: block;
	flex: 0 0 auto;
	margin-left: auto;
	font-size: 0.95em;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

.wcwf-products-empty {
	padding: 14px;
	color: #888;
	font-size: 0.9em;
	text-align: center;
}

/* Checkbox υπαναχώρησης */
.wcwf-field-checkbox {
	background: #f7f8fa;
	border: 1px solid #e0e2e5;
	border-radius: 6px;
	padding: 14px 16px;
}

.wcwf-checkbox-label {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400 !important;
	cursor: pointer;
	margin: 0;
}

.wcwf-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
	cursor: pointer;
}

/* Κουμπιά */
.wcwf-btn {
	display: inline-block;
	width: 100%;
	padding: 13px 20px;
	font-size: 1em;
	font-weight: 600;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.15s, opacity 0.15s;
}

.wcwf-btn-primary {
	background: #2c5b8a;
	color: #fff;
}

.wcwf-btn-primary:hover {
	background: #234a70;
}

.wcwf-btn-secondary {
	background: #fff;
	color: #2c5b8a;
	border: 1px solid #2c5b8a;
	margin-bottom: 10px;
}

.wcwf-btn-secondary:hover {
	background: #f0f4f8;
}

.wcwf-confirm-actions {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.wcwf-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Review box (Βήμα 3 - Επιβεβαίωση) */
.wcwf-review-box {
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 20px;
}

.wcwf-review-row {
	display: flex;
	padding: 12px 16px;
	border-bottom: 1px solid #eee;
	gap: 12px;
}

.wcwf-review-row:last-child {
	border-bottom: none;
}

.wcwf-review-row:nth-child(odd) {
	background: #fafafa;
}

.wcwf-review-label {
	flex: 0 0 45%;
	font-weight: 600;
	color: #555;
	font-size: 0.9em;
}

.wcwf-review-value {
	flex: 1;
	font-size: 0.95em;
	word-break: break-word;
}

.wcwf-review-row--products {
	align-items: flex-start;
	flex-direction: column;
}

.wcwf-review-row--products .wcwf-review-label {
	margin-bottom: 8px;
}

.wcwf-review-products-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.wcwf-review-product-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.wcwf-review-product-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.wcwf-review-value ul {
	margin: 0;
	padding-left: 18px;
}

/* Μηνύματα */
.wcwf-message {
	padding: 12px 14px;
	border-radius: 5px;
	margin-bottom: 16px;
	font-size: 0.92em;
	line-height: 1.5;
}

.wcwf-message-error {
	background: #fdecea;
	color: #a52a1e;
	border: 1px solid #f5c6c0;
}

.wcwf-message-success {
	background: #e9f6ec;
	color: #1e6b34;
	border: 1px solid #c3e6cb;
}

.wcwf-message-warning {
	background: #fff8e6;
	color: #8a6300;
	border: 1px solid #ffe5a3;
}

/* Order info badge μετά το lookup */
.wcwf-order-found-badge {
	display: inline-block;
	background: #e9f6ec;
	color: #1e6b34;
	border: 1px solid #c3e6cb;
	border-radius: 5px;
	padding: 10px 14px;
	font-size: 0.9em;
	margin-bottom: 18px;
}

@media (max-width: 480px) {
	.wcwf-step {
		padding: 20px 16px;
	}
}
