/* NPP Patient Portal — Entry Button (Header CTA)
 * version: 1.9.114
 */

.npp-portal-entry {
    display: inline-flex;
    direction: rtl;
    font-family: inherit;
    line-height: 1;
}

.npp-portal-entry__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: background .25s cubic-bezier(.4,0,.2,1),
                color .25s cubic-bezier(.4,0,.2,1),
                border-color .25s cubic-bezier(.4,0,.2,1),
                transform .25s cubic-bezier(.4,0,.2,1),
                box-shadow .25s cubic-bezier(.4,0,.2,1);
}

.npp-portal-entry__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- مهمان — دکمهٔ طلایی ---------- */
.npp-portal-entry__btn--guest {
    background: #c8a97e;
    color: #213640;
    box-shadow: 0 2px 8px rgba(200,169,126,.35);
}
.npp-portal-entry__btn--guest:hover,
.npp-portal-entry__btn--guest:focus-visible {
    background: #b89868;
    color: #213640;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200,169,126,.45);
    outline: none;
}

/* ---------- وارد‌شده — outline تیره ---------- */
.npp-portal-entry__btn--auth {
    background: transparent;
    color: #213640;
    border: 1.5px solid #213640;
}
.npp-portal-entry__btn--auth:hover,
.npp-portal-entry__btn--auth:focus-visible {
    background: #213640;
    color: #ffffff;
    outline: none;
}

/* ---------- موبایل ---------- */
@media (max-width: 768px) {
    .npp-portal-entry__btn {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }
    .npp-portal-entry__btn--auth .npp-portal-entry__label {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ---------- در دسترس‌پذیری ---------- */
@media (prefers-reduced-motion: reduce) {
    .npp-portal-entry__btn {
        transition: none;
    }
}
/* ---------- حالت وارد‌شده — کمی متمایز ---------- */
.npp-portal-entry__btn--auth .npp-portal-entry__icon svg {
	color: #c8a97e;
	stroke: #c8a97e;
}

.npp-portal-entry__btn--auth {
	background: linear-gradient(135deg, #213640 0%, #2d4553 100%);
	color: #ffffff;
	border: none;
	box-shadow: 0 4px 12px rgba(33, 54, 64, 0.25);
}

.npp-portal-entry__btn--auth:hover,
.npp-portal-entry__btn--auth:focus-visible {
	background: linear-gradient(135deg, #16242c 0%, #213640 100%);
	color: #c8a97e;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(33, 54, 64, 0.35);
	outline: none;
}

.npp-portal-entry__btn--auth .npp-portal-entry__label {
	color: inherit;
}