/*
 * Robin LendTech Entry
 * نسخه آبی با نمایش واضح LENDTECH
 */

.robin-lt-entry-host {
    position: relative !important;
}

.robin-lt-entry-wrap {
    width: min(100%, 410px);
    direction: rtl;
}

.robin-lt-entry-wrap--auto {
    position: absolute;
    left: clamp(18px, 3vw, 46px);
    bottom: clamp(18px, 4vw, 42px);
    z-index: 20;
}

.robin-lt-entry {
    --rlt-entry-bg-1: #061b34;
    --rlt-entry-bg-2: #0a365f;
    --rlt-entry-blue: #2e7cff;
    --rlt-entry-ice: #dceaff;

    width: 100%;
    min-height: 96px;

    display: flex;
    flex-direction: row;
    direction: rtl;
    align-items: center;
    gap: 14px;
    box-sizing: border-box;
    overflow: hidden;

    padding: 12px 18px 12px 26px;
    border-radius: 22px;

    color: #fff !important;
    text-decoration: none !important;

    background:
        radial-gradient(circle at 92% 15%, rgba(80, 143, 255, .16), transparent 30%),
        linear-gradient(135deg, var(--rlt-entry-bg-1), var(--rlt-entry-bg-2));

    border: 1px solid rgba(130, 181, 255, .22);

    box-shadow:
        0 18px 42px rgba(0, 15, 38, .24),
        inset 0 1px 0 rgba(255, 255, 255, .06);

    transition:
        transform .26s ease,
        box-shadow .26s ease,
        border-color .26s ease;
}

.robin-lt-entry:hover,
.robin-lt-entry:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(138, 186, 255, .42);

    box-shadow:
        0 24px 52px rgba(0, 15, 38, .30),
        inset 0 1px 0 rgba(255, 255, 255, .08);
}

.robin-lt-entry:focus-visible {
    outline: 3px solid rgba(93, 153, 255, .72);
    outline-offset: 5px;
}

.robin-lt-entry__logo {
    width: 77px;
    height: 77px;
    flex: 0 0 77px;
    display: block;
    margin: 0;
    transform: none;
    position: relative;
    z-index: 1;

    filter:
        drop-shadow(0 12px 22px rgba(0, 28, 84, .20));
}

.robin-lt-entry__logo svg {
    display: block;
    width: 100%;
    height: 100%;
}

.robin-lt-entry__content {
    min-width: 0;
    flex: 1 1 auto;

    display: flex;
    flex-direction: column;
    gap: 7px;

    text-align: right;
}

.robin-lt-entry__eyebrow {
    color: var(--rlt-entry-ice);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;

    opacity: .9;
}

.robin-lt-entry__title {
    color: #fff;

    font-family: inherit;
    font-size: clamp(18px, 1.6vw, 23px);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -.5px;
}

.robin-lt-entry__arrow {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    color: #fff;

    background:
        rgba(255, 255, 255, .07);

    border:
        1px solid rgba(255, 255, 255, .09);

    transition:
        background .22s ease,
        transform .22s ease;
}

.robin-lt-entry__arrow svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.robin-lt-entry:hover .robin-lt-entry__arrow,
.robin-lt-entry:focus-visible .robin-lt-entry__arrow {
    background: var(--rlt-entry-blue);
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .robin-lt-entry-wrap--auto {
        position: relative;
        left: auto;
        bottom: auto;

        margin:
            20px auto 0;

        padding:
            0 16px;
    }

    .robin-lt-entry-wrap {
        width: min(100%, 360px);
    }

    .robin-lt-entry {
        gap: 11px;
        min-height: 92px;

        padding:
            10px 14px 10px 20px;

        border-radius:
            19px;
    }

    .robin-lt-entry__logo {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
        transform: none;
    }

    .robin-lt-entry__eyebrow {
        font-size: 11px;
    }

    .robin-lt-entry__title {
        font-size: 17px;
    }

    .robin-lt-entry__arrow {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 13px;
    }

    .robin-lt-entry__arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .robin-lt-entry,
    .robin-lt-entry__arrow {
        transition: none !important;
    }
}

/* v1.0.1 fallback: keep the card visible even when the theme has no standard hero selector. */
.robin-lt-entry-host--fallback .robin-lt-entry-wrap--auto {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9998;
}

@media (max-width: 768px) {
    .robin-lt-entry-host--fallback .robin-lt-entry-wrap--auto {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        margin: 0;
        padding: 0;
    }
}
