/*
 * Solar connection application. Loaded by resources/solar-application/views/page.blade.php.
 * Logical properties, so Arabic follows the page direction. The words are HTML text.
 */
.hzs {
    margin-block: 24px 48px;
    color: #12141a;
}

.hzs .hz-shell {
    min-inline-size: 0;
}

.hzs__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.hzs__crumbs > * {
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow-wrap: anywhere;
}

.hzs__crumbs a {
    color: var(--hagzi-primary, #0745d9);
}

.hzs__title {
    margin: 0 0 12px;
    font-size: 1.75rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.hzs__summary,
.hzs__block p,
.hzs__answer p {
    margin: 0 0 12px;
    line-height: 1.55;
}

.hzs__answer {
    margin-block: 8px 20px;
    padding: 16px;
    border-inline-start: 4px solid var(--hagzi-primary, #0745d9);
    border-radius: 12px;
    background: #f7f9fd;
}

.hzs__answer-label {
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--hagzi-primary, #0745d9);
}

.hzs__h2 {
    margin: 28px 0 10px;
    font-size: 1.25rem;
    line-height: 1.35;
}

.hzs__h3 {
    margin: 16px 0 8px;
    font-size: 1.05rem;
}

.hzs__panel {
    margin-block: 8px 8px;
    min-inline-size: 0;
    padding: 16px;
    border: 1px solid #d7def0;
    border-radius: 16px;
    background: #f7f9fd;
}

.hzs__panel .hzs__h2 {
    margin-top: 0;
}

.hzs__steps,
.hzs__checks,
.hzs__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hzs__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 36px;
}

.hzs__step,
.hzs__check {
    min-inline-size: 0;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #d7def0;
    border-radius: 12px;
    background: #fff;
    line-height: 1.5;
}

.hzs__step {
    position: relative;
    flex: 1 1 14rem;
}

.hzs__step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset-inline-end: -24px;
    inset-block-start: 22px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent var(--hagzi-primary, #0745d9);
}

:dir(rtl) .hzs__step:not(:last-child)::after {
    border-width: 6px 8px 6px 0;
    border-color: transparent var(--hagzi-primary, #0745d9) transparent transparent;
}

.hzs__num,
.hzs__tick {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 1.75rem;
    block-size: 1.75rem;
    border-radius: 999px;
    background: var(--hagzi-primary, #0745d9);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
}

.hzs__checks {
    display: grid;
    gap: 8px;
}

.hzs__tick {
    background: #0b7a43;
    font-size: 1rem;
}

.hzs__text {
    min-inline-size: 0;
}

.hzs__links {
    display: grid;
    gap: 8px;
}

.hzs__links a {
    color: var(--hagzi-primary, #0745d9);
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .hzs__panel {
        padding: 12px;
    }

    .hzs__steps {
        flex-direction: column;
        gap: 16px;
    }

    .hzs__step:not(:last-child)::after,
    :dir(rtl) .hzs__step:not(:last-child)::after {
        inset-inline-end: auto;
        inset-inline-start: 14px;
        inset-block-start: auto;
        inset-block-end: -14px;
        border-width: 8px 6px 0;
        border-color: var(--hagzi-primary, #0745d9) transparent transparent;
    }
}
