/* WC Staff Coupon Verification — modal styles (namespaced with .scsv-) */

.scsv-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba( 17, 24, 39, 0.55 );
	-webkit-backdrop-filter: blur( 2px );
	backdrop-filter: blur( 2px );
}

.scsv-overlay[hidden] {
	display: none;
}

.scsv-modal {
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	max-height: calc( 100vh - 32px );
	overflow: auto;
	padding: 28px 26px 24px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, 0.3 );
	font-size: 15px;
	line-height: 1.5;
	color: #1f2937;
	animation: scsv-pop 0.16s ease-out;
}

@keyframes scsv-pop {
	from { transform: translateY( 8px ) scale( 0.98 ); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.scsv-modal.scsv-loading {
	opacity: 0.7;
	pointer-events: none;
}

.scsv-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #9ca3af;
	cursor: pointer;
}

.scsv-close:hover {
	color: #374151;
}

.scsv-title {
	margin: 0 24px 8px 0;
	font-size: 20px;
	font-weight: 700;
	color: #111827;
}

.scsv-desc {
	margin: 0 0 18px;
	font-size: 14px;
	color: #6b7280;
}

.scsv-label {
	display: block;
	margin: 14px 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.scsv-input {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 11px 13px;
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	font-size: 15px;
	color: #111827;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.scsv-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba( 37, 99, 235, 0.18 );
}

.scsv-error {
	margin: 0 0 12px;
	padding: 9px 12px;
	border-radius: 8px;
	background: #fee2e2;
	color: #b91c1c;
	font-size: 13px;
}

.scsv-error[hidden] {
	display: none;
}

.scsv-actions {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}

.scsv-btn {
	flex: 1 1 0;
	padding: 12px 14px;
	border: 0;
	border-radius: 9px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, opacity 0.15s;
}

.scsv-btn-cancel {
	background: #f3f4f6;
	color: #374151;
}

.scsv-btn-cancel:hover {
	background: #e5e7eb;
}

.scsv-btn-submit {
	background: #2563eb;
	color: #fff;
}

.scsv-btn-submit:hover {
	background: #1d4ed8;
}

.scsv-btn-submit:disabled {
	opacity: 0.6;
	cursor: default;
}

body.scsv-noscroll {
	overflow: hidden;
}

/* Admin order screen block */
.scsv-admin-staff-info {
	margin-top: 12px;
	padding: 10px 12px;
	border-left: 3px solid #2563eb;
	background: #f8fafc;
}

.scsv-admin-staff-info h4 {
	margin: 0 0 4px;
}
