.da-dash-entry {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: 14px;
	background: #6d31ed;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	direction: rtl;
}

.da-dash-entry:hover {
	color: #fff;
	filter: brightness(1.05);
}

.da-dash-entry__icon {
	display: inline-flex;
}

.da-dash-entry__icon svg {
	width: 18px;
	height: 18px;
}

.da-auth {
	--da-auth-accent: #6d31ed;
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	direction: rtl;
}

.da-auth.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.da-auth[hidden] {
	display: none !important;
}

.da-auth.is-open[hidden] {
	display: flex !important;
}

.da-auth__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 14, 20, 0.5);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.da-auth__dialog {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	max-height: min(92vh, 640px);
	overflow: auto;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
	padding: 16px 22px 26px;
	transform: translateY(14px) scale(0.98);
	opacity: 0;
	transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
}

.da-auth.is-open .da-auth__dialog {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.da-auth__toolbar {
	display: grid;
	grid-template-columns: 40px 1fr 40px;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.da-auth__icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #94a3b8;
	cursor: pointer;
}

.da-auth__icon-btn:hover {
	background: #f1f5f9;
	color: #334155;
}

.da-auth__steps {
	display: flex;
	justify-content: center;
}

.da-auth__step {
	display: block;
	width: 28px;
	height: 4px;
	border-radius: 999px;
	background: var(--da-auth-accent);
}

.da-auth__panel {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: 8px;
}

.da-auth__hero-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 10px 0 18px;
	border-radius: 999px;
	background: linear-gradient(160deg, #a78bfa 0%, var(--da-auth-accent) 100%);
	box-shadow: 0 12px 36px rgba(109, 49, 237, 0.35);
}

.da-auth__hero-icon::before {
	content: '';
	position: absolute;
	inset: -16px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(109, 49, 237, 0.22) 0%, transparent 70%);
	z-index: -1;
	pointer-events: none;
}

.da-auth__title {
	margin: 0 0 8px;
	font-size: 1.35rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.4;
}

.da-auth__subtitle {
	margin: 0 0 22px;
	font-size: 0.92rem;
	color: #94a3b8;
	line-height: 1.6;
}

.da-auth__field {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 14px;
}

.da-auth__field-icon {
	position: absolute;
	top: 50%;
	inset-inline-end: 14px;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none;
	display: inline-flex;
}

.da-auth__field-ok {
	position: absolute;
	top: 50%;
	inset-inline-start: 12px;
	transform: translateY(-50%);
	display: inline-flex;
}

.da-auth__input {
	width: 100%;
	min-height: 52px;
	padding: 12px 46px;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	background: #fff;
	font-size: 1rem;
	font-family: inherit;
	color: #0f172a;
	text-align: center;
	outline: none;
}

.da-auth__input::placeholder {
	color: #cbd5e1;
}

.da-auth__input:focus {
	border-color: #a78bfa;
	box-shadow: 0 0 0 3px rgba(109, 49, 237, 0.12);
}

.da-auth__field.is-valid .da-auth__input {
	border-color: #86efac;
}

.da-auth__error {
	width: 100%;
	margin: 0 0 10px;
	font-size: 0.85rem;
	color: #dc2626;
	text-align: right;
}

.da-auth__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 52px;
	margin-top: 6px;
	padding: 12px 18px;
	border: 0;
	border-radius: 16px;
	background: var(--da-auth-accent);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
}

.da-auth__submit:hover:not(:disabled) {
	filter: brightness(1.05);
}

.da-auth__submit:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.da-auth__resend {
	margin-top: 12px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--da-auth-accent);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.da-auth__field[hidden],
.da-auth__resend[hidden] {
	display: none !important;
}

body.da-auth-open {
	overflow: hidden;
}
