.pflix-ev-widget {
	--pflix-ev-primary: #2563eb;
	--pflix-ev-primary-hover: #1d4ed8;
	--pflix-ev-text: currentColor;
	--pflix-ev-muted: color-mix(in srgb, currentColor 68%, transparent);
	--pflix-ev-bg: transparent;
	--pflix-ev-field-bg: color-mix(in srgb, currentColor 4%, transparent);
	--pflix-ev-border: color-mix(in srgb, currentColor 24%, transparent);
	--pflix-ev-success: #16a34a;
	--pflix-ev-error: #dc2626;
	--pflix-ev-radius: 8px;
	--pflix-ev-button-height: 38px;
	width: 100%;
	margin: 10px 0 14px;
	padding: 0;
	border: 0;
	background: var(--pflix-ev-bg);
	color: var(--pflix-ev-text);
	box-sizing: border-box;
	font: inherit;
}

.pflix-ev-widget,
.pflix-ev-widget * {
	box-sizing: border-box;
}

.pflix-ev-widget.pflix-ev-style-light {
	--pflix-ev-text: #111827;
	--pflix-ev-muted: #4b5563;
	--pflix-ev-field-bg: rgba(255, 255, 255, 0.72);
	--pflix-ev-border: rgba(17, 24, 39, 0.2);
}

.pflix-ev-widget.pflix-ev-style-dark {
	--pflix-ev-text: #f8fafc;
	--pflix-ev-muted: #cbd5e1;
	--pflix-ev-field-bg: rgba(15, 23, 42, 0.38);
	--pflix-ev-border: rgba(226, 232, 240, 0.28);
}

@media (prefers-color-scheme: dark) {
	.pflix-ev-widget.pflix-ev-style-auto {
		--pflix-ev-field-bg: rgba(15, 23, 42, 0.28);
		--pflix-ev-border: rgba(226, 232, 240, 0.26);
	}
}

.pflix-ev-widget .pflix-ev-actions,
.pflix-ev-widget .pflix-ev-code-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
	width: 100%;
	margin: 0;
}

.pflix-ev-widget .pflix-ev-actions {
	margin-bottom: 9px;
}

.pflix-ev-widget .pflix-ev-code-label {
	display: block;
	margin: 0;
	color: var(--pflix-ev-muted);
	font-size: 13px;
	font-weight: 600;
}

.pflix-ev-widget .screen-reader-text.pflix-ev-code-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.pflix-ev-widget input.pflix-ev-code-input,
.pflix-ev-widget input.pflix-ev-new-email-input {
	display: block;
	width: 100%;
	min-height: 42px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid var(--pflix-ev-border);
	border-radius: var(--pflix-ev-radius);
	background: var(--pflix-ev-field-bg);
	color: inherit;
	box-shadow: none;
	font: inherit;
	line-height: 1.35;
	text-align: left;
	letter-spacing: 0;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.pflix-ev-widget input.pflix-ev-code-input::placeholder,
.pflix-ev-widget input.pflix-ev-new-email-input::placeholder {
	color: var(--pflix-ev-muted);
	opacity: 0.82;
}

.pflix-ev-widget input.pflix-ev-code-input:focus,
.pflix-ev-widget input.pflix-ev-new-email-input:focus {
	border-color: var(--pflix-ev-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pflix-ev-primary) 22%, transparent);
}

.pflix-ev-widget button.pflix-ev-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: var(--pflix-ev-button-height);
	margin: 0;
	padding: 8px 14px;
	border: 1px solid color-mix(in srgb, var(--pflix-ev-primary) 84%, #000 16%);
	border-radius: var(--pflix-ev-radius);
	background: var(--pflix-ev-primary);
	color: #ffffff;
	box-shadow: none;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, opacity 160ms ease;
	appearance: none;
}

.pflix-ev-widget button.pflix-ev-button:hover:not(:disabled),
.pflix-ev-widget button.pflix-ev-button:focus-visible:not(:disabled) {
	background: var(--pflix-ev-primary-hover);
	border-color: var(--pflix-ev-primary-hover);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--pflix-ev-primary) 22%, transparent);
	transform: translateY(-1px);
}

.pflix-ev-widget button.pflix-ev-button:disabled {
	cursor: not-allowed;
	opacity: 0.66;
	transform: none;
}

.pflix-ev-widget button.pflix-ev-button.is-loading {
	cursor: wait;
	opacity: 0.78;
}

.pflix-ev-widget button.pflix-ev-send-code.is-cooling-down {
	background: color-mix(in srgb, var(--pflix-ev-primary) 62%, currentColor 18%);
	border-color: color-mix(in srgb, var(--pflix-ev-primary) 62%, currentColor 18%);
}

.pflix-ev-widget .pflix-ev-message,
.pflix-ev-widget .pflix-ev-change-email-message {
	min-height: 0;
	margin: 9px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--pflix-ev-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.pflix-ev-widget .pflix-ev-message.is-success,
.pflix-ev-widget .pflix-ev-message.is-error,
.pflix-ev-widget .pflix-ev-change-email-message.is-success,
.pflix-ev-widget .pflix-ev-change-email-message.is-error {
	padding: 9px 10px;
	border-radius: var(--pflix-ev-radius);
}

.pflix-ev-widget .pflix-ev-message.is-success,
.pflix-ev-widget .pflix-ev-change-email-message.is-success {
	background: color-mix(in srgb, var(--pflix-ev-success) 12%, transparent);
	color: var(--pflix-ev-success);
}

.pflix-ev-widget .pflix-ev-message.is-error,
.pflix-ev-widget .pflix-ev-change-email-message.is-error {
	background: color-mix(in srgb, var(--pflix-ev-error) 12%, transparent);
	color: var(--pflix-ev-error);
}

.pflix-ev-widget.pflix-ev-change-email {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--pflix-ev-border);
}

.pflix-ev-widget.pflix-ev-change-email h2 {
	margin: 0 0 8px;
	color: inherit;
	font-size: 18px;
	line-height: 1.25;
}

.pflix-ev-widget .pflix-ev-change-email-copy {
	margin: 0 0 8px;
	color: var(--pflix-ev-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.pflix-ev-widget .pflix-ev-change-current-email {
	margin: 0 0 10px;
}

.pflix-ev-widget .pflix-ev-change-email-form {
	display: grid;
	gap: 9px;
	margin-top: 9px;
}

.pflix-ev-widget .pflix-ev-change-email-form[hidden] {
	display: none;
}

.pflix-ev-global-message-wrap {
	width: 100%;
	margin: 14px 0 16px;
}

.pflix-ev-global-message {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--pflix-ev-global-border, rgba(37, 99, 235, 0.22));
	border-radius: 8px;
	background: var(--pflix-ev-global-bg, rgba(37, 99, 235, 0.1));
	color: var(--pflix-ev-global-text, #1d4ed8);
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	animation: pflixEvFadeIn 180ms ease-out;
}

.pflix-ev-global-message::before {
	content: "i";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #3b82f6;
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-align: center;
}

.pflix-ev-global-message.success {
	--pflix-ev-global-bg: rgba(22, 163, 74, 0.12);
	--pflix-ev-global-border: rgba(22, 163, 74, 0.3);
	--pflix-ev-global-text: #137333;
}

.pflix-ev-global-message.success::before {
	content: "\2713";
	background: #22c55e;
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}

.pflix-ev-global-message.error {
	--pflix-ev-global-bg: rgba(220, 38, 38, 0.12);
	--pflix-ev-global-border: rgba(220, 38, 38, 0.3);
	--pflix-ev-global-text: #b42318;
}

.pflix-ev-global-message.error::before {
	content: "!";
	background: #ef4444;
}

.pflix-ev-global-message.warning {
	--pflix-ev-global-bg: rgba(217, 119, 6, 0.13);
	--pflix-ev-global-border: rgba(217, 119, 6, 0.3);
	--pflix-ev-global-text: #92400e;
}

.pflix-ev-global-message.warning::before {
	content: "!";
	background: #f59e0b;
}

.pflix-ev-global-message.info {
	--pflix-ev-global-bg: rgba(37, 99, 235, 0.1);
	--pflix-ev-global-border: rgba(37, 99, 235, 0.25);
	--pflix-ev-global-text: #1d4ed8;
}

.pflix-ev-global-message-icon {
	display: none;
}

.pflix-ev-global-message-text {
	display: block;
	min-width: 0;
	padding-top: 1px;
}

@keyframes pflixEvFadeIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pflix-ev-lock-body {
	background: #eef2f6;
	min-height: 100vh;
}

.pflix-ev-lock {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.pflix-ev-lock-panel {
	width: min(100%, 520px);
	padding: 30px;
	border-radius: 8px;
	background: #ffffff;
	color: #111827;
	box-shadow: 0 18px 55px rgba(15, 23, 42, 0.16);
}

.pflix-ev-lock-panel .pflix-ev-widget {
	margin-top: 16px;
}

.pflix-ev-lock-panel h1 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.2;
}

.pflix-ev-current-email {
	margin: 14px 0;
	padding: 10px 12px;
	border-radius: 6px;
	background: #eef6ff;
	font-weight: 700;
	word-break: break-word;
}

.pflix-ev-lock-logout {
	margin: 16px 0 0;
	text-align: center;
}

@media (min-width: 560px) {
	.pflix-ev-widget .pflix-ev-code-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Bloco de verificacao na pagina de conta */
.pflix-ev-account {
	margin: 18px 0;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	text-align: left;
}

.pflix-ev-account-title {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 700;
}

.pflix-ev-account-help {
	margin: 0 0 12px;
	font-size: 13px;
	opacity: 0.75;
}

.pflix-ev-account-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.pflix-ev-account-status .pflix-ev-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	line-height: 1;
}

.pflix-ev-account-verified .pflix-ev-badge {
	background: #137333;
}

.pflix-ev-account-verified {
	color: #34a853;
}

.pflix-ev-account-pending .pflix-ev-badge {
	background: #b42318;
}

.pflix-ev-account-pending {
	color: #ff8a80;
}

.pflix-ev-account .pflix-ev-current-email {
	margin: 4px 0 12px;
	font-size: 14px;
	opacity: 0.85;
	word-break: break-all;
}
