.iop-el-account-login {
	--iop-el-dark: #191d51;
	--iop-el-red: #df2b47;
	--iop-el-muted: #5f6291;
	--iop-el-card: rgba(255, 255, 255, 0.95);
	--iop-el-border: rgba(25, 29, 81, 0.12);
	--iop-el-shadow: rgba(25, 29, 81, 0.14);
	--iop-el-radius: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 100%;
	color: var(--iop-el-dark);
	font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

.iop-el-account-login,
.iop-el-account-login * {
	box-sizing: border-box;
}

.iop-el-login-card {
	width: 100%;
	max-width: 420px;
	background: var(--iop-el-card);
	border: 1px solid var(--iop-el-border);
	border-radius: var(--iop-el-radius);
	box-shadow: 0 14px 40px var(--iop-el-shadow);
	padding: 28px 24px;
	text-align: left;
}

.iop-el-login-badge {
	display: inline-block;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 11px;
	letter-spacing: 0.4px;
	margin-bottom: 12px;
	color: var(--iop-el-dark);
	background: rgba(25, 29, 81, 0.08);
	border: 1px solid rgba(25, 29, 81, 0.14);
}

.iop-el-login-title {
	margin: 0 0 10px;
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--iop-el-dark);
}

.iop-el-login-subtitle {
	margin: 0 0 18px;
	color: var(--iop-el-muted);
	line-height: 1.55;
	font-size: 14px;
}

.iop-el-login-form {
	display: grid;
	gap: 14px;
}

.iop-el-login-form label {
	display: grid;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--iop-el-dark);
}

.iop-el-login-form input[type="email"],
.iop-el-login-form input[type="password"] {
	min-height: 48px;
	border: 1px solid rgba(25, 29, 81, 0.16);
	border-radius: 12px;
	padding: 0 14px;
	font-size: 15px;
	font-weight: 400;
	color: var(--iop-el-dark);
	background: #fff;
	outline: none;
	width: 100%;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iop-el-login-form input[type="email"]:focus,
.iop-el-login-form input[type="password"]:focus,
.iop-el-login-form .iop-password-wrap input:focus {
	border-color: rgba(25, 29, 81, 0.38);
	box-shadow: 0 0 0 4px rgba(25, 29, 81, 0.1);
}

.iop-el-login-form .iop-password-wrap {
	position: relative;
	display: block;
}

.iop-el-login-form .iop-password-wrap input[type="password"],
.iop-el-login-form .iop-password-wrap input[type="text"] {
	min-height: 48px;
	border: 1px solid rgba(25, 29, 81, 0.16);
	border-radius: 12px;
	padding: 0 48px 0 14px;
	font-size: 15px;
	font-weight: 400;
	color: var(--iop-el-dark);
	background: #fff;
	outline: none;
	width: 100%;
}

.iop-el-login-form .iop-password-toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	border-radius: 10px;
	background: transparent;
	color: var(--iop-el-muted);
	cursor: pointer;
	transform: translateY(-50%);
}

.iop-el-login-form .iop-password-toggle:hover,
.iop-el-login-form .iop-password-toggle:focus-visible {
	color: var(--iop-el-dark);
	outline: none;
}

.iop-el-login-form .iop-password-toggle:focus-visible {
	box-shadow: 0 0 0 3px rgba(25, 29, 81, 0.12);
}

.iop-el-login-form .iop-password-toggle svg {
	display: block;
	width: 20px;
	height: 20px;
}

.iop-el-login-check {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-weight: 500 !important;
}

.iop-el-login-check input {
	width: auto;
	margin: 0;
}

.iop-el-login-msg {
	min-height: 1.2em;
	font-size: 13px;
	color: var(--iop-el-red);
}

.iop-el-login-msg.is-success {
	color: #0f7a45;
}

.iop-el-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	width: 100%;
	padding: 0 18px;
	border: none;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	background: var(--iop-el-red);
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease;
}

.iop-el-login-btn:hover {
	transform: translateY(-1px);
	filter: brightness(1.04);
	color: #fff;
}

.iop-el-login-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
	transform: none;
}

.iop-el-login-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	margin: 18px 0 0;
	font-size: 13px;
}

.iop-el-login-links a {
	color: var(--iop-el-muted);
	text-decoration: none;
	font-weight: 600;
}

.iop-el-login-links a:hover {
	color: var(--iop-el-red);
}

.iop-el-account-panel {
	display: grid;
	gap: 8px;
	max-width: 420px;
	text-align: inherit;
}

.iop-el-account-title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--iop-el-dark);
}

.iop-el-account-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--iop-el-muted);
}

.iop-el-account-link {
	display: inline-flex;
	align-items: center;
	justify-self: start;
	position: relative;
	font-weight: 700;
	font-size: 15px;
	color: var(--iop-el-dark);
	text-decoration: none;
	line-height: 1.4;
}

.iop-el-account-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.iop-el-account-link:hover,
.iop-el-account-link:focus-visible {
	color: var(--iop-el-red);
}

.iop-el-account-link:hover::after,
.iop-el-account-link:focus-visible::after {
	transform: scaleX(1);
}
