/* Logged-in account avatar (black circle + logo mark) and welcome toast. */

.awtar-acc-hide-icon {
	display: none !important;
}

.awtar-acc-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	min-width: 46px;
	border-radius: 50%;
	background: transparent;
	border: 2.5px solid #000;
	box-sizing: border-box;
	line-height: 0;
	overflow: hidden;
	vertical-align: middle;
}

.awtar-acc-avatar img {
	width: 84%;
	height: 84%;
	object-fit: contain;
	display: block;
}

/* When logged in, the avatar is the only thing shown in the account link. */
.awtar-acc-loggedin {
	gap: 0 !important;
	transform: translateX(12px);
}

/* Account-page header: logo + "حسابي" on one side, bell on the opposite side. */
.awtar-acc-nav-bar {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-top: -28px;
	margin-bottom: 8px;
}

.awtar-acc-nav-bar ul {
	margin: 0 !important;
	width: auto !important;
	display: flex;
	align-items: center;
}

.awtar-acc-nav-link.awtar-acc-loggedin {
	transform: none;
	display: inline-flex;
	align-items: center;
	gap: 10px !important;
	text-decoration: none;
}

.awtar-acc-label {
	font-size: 16px;
	font-weight: 800;
	color: #1f2937;
}

.awtar-acc-bell {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #fdf1e8;
	color: #f97316;
	cursor: pointer;
	line-height: 0;
	transition: background 0.15s ease;
}

.awtar-acc-bell:hover {
	background: #fbe2cf;
}

/* Welcome toast */
.awtar-welcome-toast {
	position: fixed;
	top: 18px;
	left: 50%;
	z-index: 100000;
	max-width: 90vw;
	padding: 11px 20px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.92);
	color: #fff;
	font-size: 14.5px;
	font-weight: 800;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	transform: translateX(-50%) translateY(-24px);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	pointer-events: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.awtar-welcome-toast.is-show {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
}

@media (display-mode: standalone) {
	.awtar-welcome-toast {
		top: calc(18px + env(safe-area-inset-top, 0px));
	}
}
