/* How to Rent - Frontend UI v4 (full card/progress redesign) */

.htrvx-ui-front {
    margin: 42px 0;
    padding: 10px 0;
    background: transparent;
}

.htrvx-ui-front__inner {
    margin: 0 auto;
    padding: 0;
}

.htrvx-ui-front__header {
    margin-bottom: 22px;
    text-align: center;
}

.htrvx-ui-front__kicker {
    display: inline-flex;
    margin: 0 0 10px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f7c61;
    background: rgba(var(--theme-accent-rgb, 25, 168, 129), 0.12);
}

.htrvx-ui-front__kicker::before {
    display: none;
}

.htrvx-ui-front__heading {
    margin: 0;
    color: #102437;
    line-height: 1.16;
    letter-spacing: -.02em;
}

.htrvx-ui-front__desc {
    margin: 12px 0 0;
    color: #5a7086;
    line-height: 1.72;
}

.htrvx-ui-front-progress {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.htrvx-ui-front-progress::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    border-radius: 999px;
    background: var(--theme-bg);
}

.htrvx-ui-front-progress__dot {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--theme-accent);
    background: #fff;
    border: 2px solid rgba(var(--theme-accent-rgb, 25, 168, 129), 0.34);
    box-shadow: 0 4px 12px rgba(var(--theme-accent-rgb, 25, 168, 129), 0.18);
}

.htrvx-ui-front-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.htrvx-ui-front-step {
    position: relative;
    border: 1px solid #dbe6f1;
    border-radius: 18px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    animation: htrvx-ui-step-enter .45s ease both;
}

.htrvx-ui-front-step:nth-child(2) {
    animation-delay: .06s;
}

.htrvx-ui-front-step:nth-child(3) {
    animation-delay: .12s;
}

.htrvx-ui-front-step:nth-child(4) {
    animation-delay: .18s;
}

.htrvx-ui-front-step:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--theme-accent-rgb, 25, 168, 129), 0.45);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.1);
}

.htrvx-ui-front-step__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.htrvx-ui-front-step__num {
    flex-shrink: 0;
    min-width: 46px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    color: #ffffff;
    background: var(--theme-bg);
    box-shadow: 0 8px 16px rgba(var(--theme-accent-rgb, 25, 168, 129), 0.34);
}

.htrvx-ui-front-step__icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--theme-accent-rgb, 25, 168, 129), 0.22);
    background: var(--theme-bg-light);
}

.htrvx-ui-front-step__icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 26px !important;
    line-height: 1;
    color: var(--theme-accent);
}

.htrvx-ui-front-step__icon--empty {
    font-size: 24px !important;
}

.htrvx-ui-front-step__title {
    margin: 0 0 7px;
    font-size: 1.03rem;
    line-height: 1.34;
    color: #162b3f;
    font-weight: 750;
}

.htrvx-ui-front-step__text {
    margin: 0;
    color: #607488;
    font-size: .92rem;
    line-height: 1.66;
}

.htrvx-ui-front-step__text p {
    margin: 0 0 7px;
}

.htrvx-ui-front-step__text p:last-child {
    margin-bottom: 0;
}

@keyframes htrvx-ui-step-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .htrvx-ui-front__shell {
        border-radius: 20px;
        padding: 24px 18px 18px;
    }
}

@media (max-width: 768px) {
    .htrvx-ui-front {
        margin: 24px 0;
    }

    .htrvx-ui-front__inner {
        padding: 0 12px;
    }

    .htrvx-ui-front__shell {
        border-radius: 16px;
        padding: 20px 14px 14px;
    }

    .htrvx-ui-front__header {
        margin-bottom: 16px;
    }

    .htrvx-ui-front-progress {
        gap: 7px;
        margin-bottom: 14px;
    }

    .htrvx-ui-front-progress__dot {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .htrvx-ui-front-steps {
        grid-template-columns: 1fr;
    }

    .htrvx-ui-front-step {
        border-radius: 14px;
        padding: 14px;
    }

    .htrvx-ui-front-step__icon-wrap {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .htrvx-ui-front-step__icon {
        font-size: 23px !important;
    }
}
