/* ============================================================
   WAWP Orders List Admin Styles
   Modern status badges + resend button
   ============================================================ */

/* ---- Resend Notification Button ---- */
.wawp-resend-notif-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 4px 10px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 20px;
	color: #16a34a;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	text-decoration: none;
	outline: none;
}

.wawp-resend-notif-btn:hover {
	background: #dcfce7;
	border-color: #86efac;
	color: #15803d;
	transform: translateY( -1px );
	box-shadow: 0 2px 8px rgba( 22, 163, 74, 0.15 );
}

.wawp-resend-notif-btn:active {
	transform: translateY( 0 );
	box-shadow: none;
}

.wawp-resend-notif-btn:disabled,
.wawp-resend-notif-btn.wawp-loading {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

.wawp-resend-notif-btn.wawp-sent {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.wawp-resend-notif-btn.wawp-error {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.wawp-resend-notif-btn .wawp-btn-icon {
	font-size: 13px;
	line-height: 1;
}

.wawp-spinner {
	display: none;
	width: 12px;
	height: 12px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: wawp-spin 0.6s linear infinite;
}

@keyframes wawp-spin {
	to { transform: rotate( 360deg ); }
}

/* ---- Modern Status Badges ---- */
#the-list mark.order-status,
.woocommerce-orders-table mark.order-status,
.wp-list-table mark.order-status {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	padding: 3px 10px 3px 7px !important;
	border-radius: 20px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	box-shadow: none !important;
	border: 1.5px solid transparent !important;
}

#the-list mark.order-status::before,
.woocommerce-orders-table mark.order-status::before,
.wp-list-table mark.order-status::before {
	font-family: 'remixicon' !important;
	font-style: normal !important;
	font-size: 13px !important;
	line-height: 1 !important;
	margin: 0 !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

[dir="rtl"] mark.order-status {
	padding: 3px 7px 3px 10px !important;
}
