/* WC Retragere din Contract – Frontend */

.wcrc-account-wrapper {
	margin-bottom: 2em;
}

.wcrc-account-wrapper h2 {
	margin-bottom: 0.5em;
}

.wcrc-desc {
	color: #555;
	margin-bottom: 1.5em;
}

.wcrc-orders-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2em;
}

.wcrc-orders-table th,
.wcrc-orders-table td {
	padding: 10px 12px;
	border: 1px solid #e0e0e0;
	text-align: left;
}

.wcrc-orders-table th {
	background: #f7f7f7;
}

.wcrc-withdraw-btn {
	background: #0073aa !important;
	color: #fff !important;
	border-color: #0073aa !important;
	white-space: nowrap;
}

.wcrc-withdraw-btn:hover {
	background: #005a87 !important;
}

.wcrc-order-button-wrap {
	margin-top: 1.5em;
	padding: 1.2em;
	background: #f8f9fa;
	border: 1px solid #dde;
	border-radius: 6px;
}

.wcrc-order-button-wrap h3 {
	margin-top: 0;
}

.wcrc-pending-box {
	background: #fff8e5;
	border: 1px solid #f0c36d;
	padding: 1.2em;
	border-radius: 6px;
	margin-bottom: 1.5em;
}

.wcrc-confirm-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-top: 10px;
}

.wcrc-code-input {
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 16px;
	letter-spacing: 2px;
	text-transform: uppercase;
	min-width: 160px;
}

.wcrc-confirm-code-btn {
	background: #46b450 !important;
	color: #fff !important;
	border-color: #46b450 !important;
}

.wcrc-confirm-msg {
	display: block;
	width: 100%;
	margin-top: 6px;
	font-weight: 500;
}

.wcrc-confirm-msg.success {
	color: #46b450;
}

.wcrc-confirm-msg.error {
	color: #dc3232;
}

.wcrc-empty {
	padding: 1em;
	background: #f0f0f0;
	border-radius: 4px;
}

/* Modal-like confirm overlay */
.wcrc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wcrc-modal {
	background: #fff;
	padding: 24px 28px;
	border-radius: 8px;
	max-width: 420px;
	width: 90%;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.wcrc-modal h3 {
	margin-top: 0;
}

.wcrc-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 20px;
}

.wcrc-modal-actions .button-primary {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
}
