.wciv-account {
	--wciv-brand: #6d28d9;
	--wciv-brand-deep: #4c1d95;
	--wciv-brand-soft: #f5f3ff;
	--wciv-ink: #17132b;
	--wciv-muted: #667085;
	--wciv-line: #e4e0ef;
	--wciv-surface: #ffffff;
	--wciv-soft: #faf9fc;
	--wciv-success: #087a55;
	--wciv-warning: #a15c07;
	--wciv-danger: #b42318;
	color: var(--wciv-ink);
	direction: rtl;
	max-width: 940px;
}

.wciv-account,
.wciv-account * {
	box-sizing: border-box;
}

.woocommerce-MyAccount-navigation-link--identity-verification a {
	align-items: center;
	display: flex;
	gap: 9px;
}

.woocommerce-MyAccount-navigation-link--identity-verification a::before {
	align-items: center;
	background: linear-gradient(145deg, #7c3aed, #5b21b6);
	border-radius: 8px 8px 10px 10px;
	box-shadow: 0 5px 12px rgba(91, 33, 182, 0.22);
	color: #fff;
	content: "✓";
	display: inline-flex;
	flex: 0 0 26px;
	font-size: 15px;
	font-weight: 900;
	height: 27px;
	justify-content: center;
	line-height: 1;
	width: 26px;
}

.wciv-notice {
	border: 1px solid;
	border-inline-start-width: 4px;
	border-radius: 13px;
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.8;
	margin-block-end: 16px;
	padding: 11px 14px;
}

.wciv-notice--success {
	background: #effaf5;
	border-color: #a9ddc5;
	color: #126044;
}

.wciv-notice--error {
	background: #fff4f2;
	border-color: #efb9b3;
	color: #8d2118;
}

.wciv-title {
	align-items: center;
	background:
		radial-gradient(circle at 8% 15%, rgba(255, 255, 255, 0.85), transparent 28%),
		linear-gradient(135deg, #f4efff 0%, #fbfaff 50%, #eefcf7 100%);
	border: 1px solid #ded4f7;
	border-radius: 22px;
	box-shadow: 0 18px 45px rgba(58, 36, 99, 0.1);
	display: flex;
	gap: 18px;
	margin-block-end: 22px;
	overflow: hidden;
	padding: 24px;
	position: relative;
}

.wciv-title::after {
	background: rgba(109, 40, 217, 0.06);
	border-radius: 999px;
	content: "";
	height: 150px;
	inset-block-start: -78px;
	inset-inline-end: -48px;
	pointer-events: none;
	position: absolute;
	width: 150px;
}

.wciv-title-icon {
	align-items: center;
	background: linear-gradient(145deg, #7c3aed, #5b21b6);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 16px 16px 21px 21px;
	box-shadow: 0 12px 26px rgba(91, 33, 182, 0.28);
	color: #fff;
	display: inline-flex;
	flex: 0 0 58px;
	font-size: 29px;
	font-weight: 900;
	height: 62px;
	justify-content: center;
	line-height: 1;
	position: relative;
	width: 58px;
	z-index: 1;
}

.wciv-title-copy {
	min-width: 0;
	position: relative;
	z-index: 1;
}

.wciv-kicker,
.wciv-eyebrow {
	color: var(--wciv-brand-deep);
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin-block-end: 5px;
}

.wciv-title h2 {
	color: var(--wciv-ink);
	font-size: clamp(1.35rem, 3vw, 1.75rem);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.35;
	margin: 0;
}

.wciv-title p {
	color: #5f5871;
	font-size: 0.96rem;
	line-height: 1.9;
	margin: 6px 0 0;
	max-width: 690px;
}

.wciv-level {
	animation: wciv-rise 0.35s ease-out both;
	background: var(--wciv-surface);
	border: 1px solid var(--wciv-line);
	border-radius: 22px;
	box-shadow: 0 16px 42px rgba(31, 24, 55, 0.08);
	overflow: hidden;
	padding: 24px;
	position: relative;
}

.wciv-level::before {
	background: linear-gradient(90deg, #7c3aed, #8b5cf6, #22a06b);
	content: "";
	height: 4px;
	inset-block-start: 0;
	inset-inline: 0;
	position: absolute;
}

.wciv-level-header {
	align-items: flex-start;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-block-end: 22px;
	padding-block-start: 3px;
}

.wciv-level-header h3 {
	color: var(--wciv-ink);
	font-size: 1.18rem;
	font-weight: 850;
	letter-spacing: -0.02em;
	line-height: 1.5;
	margin: 0;
}

.wciv-badge {
	align-items: center;
	background: #f1eff5;
	border: 1px solid #e2deea;
	border-radius: 999px;
	color: #514b60;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	justify-content: center;
	min-height: 32px;
	padding: 5px 12px;
	white-space: nowrap;
}

.wciv-level-approved .wciv-badge {
	background: #e8f8f0;
	border-color: #b7e3cf;
	color: #066b4a;
}

.wciv-level-pending .wciv-badge {
	background: #fff6df;
	border-color: #f2d597;
	color: #8a5007;
}

.wciv-level-rejected .wciv-badge {
	background: #fff0ee;
	border-color: #f2c1bc;
	color: #a11f15;
}

.wciv-photo-grid {
align-items: stretch;
    display: flex;
    gap: 20px;
    grid-template-columns: minmax(220px, 0.82fr) minmax(280px, 1.18fr);
    flex-direction: column;
}

.wciv-submit-panel {
	background: linear-gradient(180deg, #fff, #fcfbfe);
	border: 1px solid #e7e2ef;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px;
}

.wciv-submit-panel--wide {
	grid-column: 1 / -1;
}

.wciv-sample {
	background: #f8f6fc;
	border: 1px solid #e3deed;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
	overflow: hidden;
}

.wciv-sample figcaption {
	background: rgba(255, 255, 255, 0.88);
	border-block-end: 1px solid #e5e1ec;
	color: #3d3650;
	font-size: 0.88rem;
	font-weight: 800;
	padding: 12px 14px;
}

.wciv-sample img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.wciv-instruction {
	background: var(--wciv-brand-soft);
	border: 1px solid #e1d7fb;
	border-inline-start: 4px solid var(--wciv-brand);
	border-radius: 12px;
	margin-block-end: 16px;
	padding: 13px 14px;
}

.wciv-instruction strong {
	color: var(--wciv-brand-deep);
	display: block;
	font-size: 0.9rem;
	margin-block-end: 4px;
}

.wciv-instruction p {
	color: #54496a;
	font-size: 0.9rem;
	line-height: 1.85;
	margin: 0;
	overflow-wrap: anywhere;
}

.wciv-form {
	display: grid;
	gap: 14px;
	min-width: 0;
}

.wciv-upload-field {
	display: grid;
	gap: 7px;
}

.wciv-upload-field > label {
	color: #2c2736;
	font-size: 0.92rem;
	font-weight: 850;
}

.wciv-file-input {
	background: #fff;
	border: 1px dashed #b8a7dc;
	border-radius: 13px;
	color: #514a5e;
	cursor: pointer;
	font: inherit;
	max-width: 100%;
	min-height: 52px;
	padding: 6px;
	width: 100%;
}

.wciv-file-input::file-selector-button {
	background: #ede8fb;
	border: 0;
	border-radius: 9px;
	color: var(--wciv-brand-deep);
	cursor: pointer;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 850;
	margin-inline-end: 10px;
	min-height: 38px;
	padding-inline: 14px;
}

.wciv-file-input:hover {
	background: #fbf9ff;
	border-color: var(--wciv-brand);
}

.wciv-file-selection {
	color: #423b50;
	font-size: 0.86rem;
	font-weight: 700;
	margin: 0;
	overflow-wrap: anywhere;
}

.wciv-muted {
	color: var(--wciv-muted);
	font-size: 0.82rem;
	line-height: 1.75;
	margin: 0;
}

.wciv-privacy-note {
	align-items: flex-start;
	background: #f5faf8;
	border: 1px solid #d4ebe1;
	border-radius: 12px;
	color: #315c4d;
	display: flex;
	font-size: 0.82rem;
	gap: 9px;
	line-height: 1.75;
	padding: 11px 12px;
}

.wciv-privacy-note span {
	color: #149168;
	font-size: 0.66rem;
	line-height: 2.2;
}

.wciv-privacy-note p {
	margin: 0;
}

.wciv-form .wciv-submit-button {
	align-items: center;
	align-self: start;
	background: linear-gradient(135deg, #7133d6, #5720ae) !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: 0 9px 20px rgba(91, 33, 182, 0.22);
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-weight: 850;
	justify-content: center;
	min-height: 46px;
	padding: 9px 20px !important;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.wciv-form .wciv-submit-button:hover {
	box-shadow: 0 12px 24px rgba(91, 33, 182, 0.3);
	transform: translateY(-1px);
}

.wciv-form .wciv-submit-button:disabled {
	cursor: wait;
	opacity: 0.78;
	transform: none;
}

.wciv-form .wciv-submit-button.wciv-button-loading {
	padding-inline-end: 46px !important;
	position: relative;
}

.wciv-form .wciv-submit-button.wciv-button-loading::after {
	animation: wciv-spin 0.75s linear infinite;
	border: 2px solid rgba(255, 255, 255, 0.42);
	border-radius: 50%;
	border-top-color: #fff;
	content: "";
	height: 17px;
	inset-inline-end: 17px;
	position: absolute;
	top: calc(50% - 8.5px);
	width: 17px;
}

.wciv-file-input:focus-visible,
.wciv-form .wciv-submit-button:focus-visible {
	outline: 3px solid rgba(109, 40, 217, 0.26);
	outline-offset: 3px;
}

.wciv-state-message {
	align-items: flex-start;
	border: 1px solid;
	border-radius: 17px;
	display: flex;
	gap: 14px;
	padding: 18px;
}

.wciv-state-message--approved {
	background: #effaf5;
	border-color: #bfe6d4;
	color: #155e46;
}

.wciv-state-message--pending {
	background: #fff9e9;
	border-color: #eed69e;
	color: #7a4a0c;
}

.wciv-state-icon {
	align-items: center;
	background: currentColor;
	border-radius: 999px;
	color: inherit;
	display: inline-flex;
	flex: 0 0 42px;
	font-size: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.wciv-state-icon::after {
	color: #fff;
	content: "✓";
	font-size: 21px;
	font-weight: 900;
}

.wciv-state-message--pending .wciv-state-icon::after {
	content: "…";
	font-size: 23px;
	line-height: 0.5;
}

.wciv-state-message strong {
	display: block;
	font-size: 1rem;
	margin-block-end: 4px;
}

.wciv-state-message p {
	color: inherit;
	font-size: 0.9rem;
	line-height: 1.85;
	margin: 0;
}

.wciv-rejection {
	background: #fff5f3;
	border: 1px solid #f4c7c2;
	border-inline-start: 4px solid var(--wciv-danger);
	border-radius: 13px;
	color: #8d2118;
	margin-block-end: 18px;
	padding: 13px 14px;
}

.wciv-rejection strong {
	display: block;
	font-size: 0.92rem;
	margin-block-end: 4px;
}

.wciv-rejection p {
	font-size: 0.88rem;
	line-height: 1.8;
	margin: 0;
}

.wciv-sr-only {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

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

@keyframes wciv-rise {
	from {
		opacity: 0;
		transform: translateY(7px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 720px) {
	.wciv-title,
	.wciv-level {
		border-radius: 18px;
		padding: 19px;
	}

	.wciv-photo-grid {
		grid-template-columns: 1fr;
	}

	.wciv-submit-panel--wide {
		grid-column: auto;
	}
}

@media (max-width: 480px) {
	.wciv-title {
		align-items: flex-start;
		gap: 13px;
		padding: 17px;
	}

	.wciv-title-icon {
		border-radius: 12px 12px 16px 16px;
		flex-basis: 46px;
		font-size: 23px;
		height: 50px;
		width: 46px;
	}

	.wciv-title p {
		font-size: 0.88rem;
	}

	.wciv-level {
		padding: 17px;
	}

	.wciv-level-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.wciv-submit-panel {
		padding: 14px;
	}

	.wciv-form .wciv-submit-button {
		align-self: stretch;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wciv-level,
	.wciv-form .wciv-submit-button,
	.wciv-form .wciv-submit-button.wciv-button-loading::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
