/* /css/info-page.css */

body {
    margin: 0;

    min-height: 100vh;
    min-height: 100dvh;

    background: #ffffff;
}

.info-app {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    min-height: 100dvh;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    background: #ffffff;
}

/* Header */

.info-header {
    position: sticky;
    top: 0;
    z-index: 50;

    width: 100%;

    height:
        calc(
            58px +
            env(safe-area-inset-top)
        );

    flex:
        0 0
        calc(
            58px +
            env(safe-area-inset-top)
        );

    padding:
        env(safe-area-inset-top)
        max(14px, env(safe-area-inset-right))
        0
        max(14px, env(safe-area-inset-left));

    display: flex;
    align-items: center;
    gap: 7px;

    border-bottom:
        1px solid
        rgba(15, 41, 49, 0.07);

    background:
        rgba(255, 255, 255, 0.97);

    direction: rtl;
}

.info-header h1 {
    margin: 0;

    color: var(--text-dark);

    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.info-back {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    padding: 0;
    border: 0;
    border-radius: 12px;

    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;
}
.info-back span {
    width: 10px;
    height: 10px;

    border-top: 2px solid #607a82;
    border-right: 2px solid #607a82;

    transform: rotate(45deg);
}

/* Page */

.info-page {
    width: 100%;
    flex: 1 0 auto;

    min-height:
        calc(
            100dvh -
            58px -
            env(safe-area-inset-top)
        );

    padding:
        18px
        max(14px, env(safe-area-inset-right))
        calc(
            110px +
            env(safe-area-inset-bottom)
        )
        max(14px, env(safe-area-inset-left));
}

/* Intro */

.info-intro {
    width: 100%;

    margin-bottom: 22px;
    padding: 16px;

    border: 1px solid rgba(70, 200, 221, 0.16);
    border-radius: var(--radius-lg);

    background: #f7fdfe;
}

.info-intro h2 {
    margin: 0 0 6px;

    color: var(--text-dark);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.info-intro p {
    margin: 0;

    color: #69838b;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;
}

/* Items */

.info-content {
    width: 100%;

    display: flex;
    flex-direction: column;
}

.info-item {
    position: relative;

    width: 100%;

    padding: 17px 0;

    display: flex;
    align-items: flex-start;
    gap: 11px;

    border-bottom: 1px solid rgba(15, 41, 49, 0.07);
}

.info-item:first-child {
    padding-top: 2px;
}

.info-item:last-child {
    border-bottom: 0;
}

.info-number {
    width: 27px;
    height: 27px;

    flex: 0 0 27px;

    margin-top: 1px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(70, 200, 221, 0.12);

    color: #16758a;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.info-item > div {
    min-width: 0;
    flex: 1;
}

.info-item h2 {
    margin: 0 0 6px;

    color: var(--text-dark);

    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.7;
}

.info-item p {
    margin: 0;

    color: #607b84;

    font-size: 12px;
    font-weight: 400;
    line-height: 2;

    text-align: right;
overflow-wrap: anywhere;
}

.info-item p + p {
    margin-top: 7px;
}

.info-list {
    margin: 7px 0 0;
    padding: 0 17px 0 0;

    color: #607b84;

    font-size: 12px;
    line-height: 2;
}

.info-list li + li {
    margin-top: 3px;
}

/* =========================================================
   INFO PAGE RESPONSIVE
========================================================= */

/*
|--------------------------------------------------------------------------
| SMALL MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 359px) {

    .info-header {
        padding-right:
            max(
                10px,
                env(safe-area-inset-right)
            );

        padding-left:
            max(
                10px,
                env(safe-area-inset-left)
            );
    }

    .info-page {
        padding-right:
            max(
                12px,
                env(safe-area-inset-right)
            );

        padding-left:
            max(
                12px,
                env(safe-area-inset-left)
            );
    }

    .info-intro {
        padding: 14px;
    }

    .info-item {
        gap: 9px;
    }

    .info-number {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .info-item h2 {
        font-size: 13px;
    }

    .info-item p,
    .info-list {
        font-size: 11.7px;
    }
}


/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (
    min-width: 600px
) and (
    max-width: 899px
) {

    .info-app {
        max-width: 720px;
    }

    .info-header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .info-page {
        max-width: 720px;

        margin-right: auto;
        margin-left: auto;

        padding:
            22px
            20px
            calc(
                120px +
                env(safe-area-inset-bottom)
            );
    }

    .info-intro {
        margin-bottom: 26px;
        padding: 20px;
        border-radius: 16px;
    }

    .info-intro h2 {
        font-size: 17px;
    }

    .info-intro p {
        font-size: 13px;
    }

    .info-item {
        padding-top: 21px;
        padding-bottom: 21px;

        gap: 13px;
    }

    .info-number {
        width: 30px;
        height: 30px;
        flex-basis: 30px;

        font-size: 12px;
    }

    .info-item h2 {
        font-size: 14.5px;
    }

    .info-item p,
    .info-list {
        font-size: 13px;
        line-height: 2.05;
    }
}


/*
|--------------------------------------------------------------------------
| DESKTOP
|--------------------------------------------------------------------------
*/

@media (min-width: 900px) {

    body {
        background: #eef4f6;
    }

    .info-app {
        max-width: 760px !important;
    }

    .info-header {
        padding-right: 24px;
        padding-left: 24px;
    }

    .info-header h1 {
        font-size: 17px;
    }

    .info-page {
        max-width: 720px;

        margin-right: auto;
        margin-left: auto;

        padding:
            28px
            24px
            140px;
    }

    .info-intro {
        margin-bottom: 30px;
        padding: 22px;

        border-radius: 18px;
    }

    .info-intro h2 {
        margin-bottom: 8px;

        font-size: 18px;
    }

    .info-intro p {
        font-size: 13.5px;
        line-height: 2;
    }

    .info-item {
        padding-top: 24px;
        padding-bottom: 24px;

        gap: 15px;
    }

    .info-number {
        width: 34px;
        height: 34px;
        flex-basis: 34px;

        border-radius: 10px;

        font-size: 13px;
    }

    .info-item h2 {
        margin-bottom: 8px;

        font-size: 15.5px;
    }

    .info-item p,
    .info-list {
        font-size: 13.5px;
        line-height: 2.15;
    }

    .info-item p {
        text-align: justify;
    }

    .info-list {
        padding-right: 21px;
    }
}


/*
|--------------------------------------------------------------------------
| DESKTOP HOVER
|--------------------------------------------------------------------------
*/

@media (
    min-width: 900px
) and (
    hover: hover
) and (
    pointer: fine
) {

    .info-back {
        transition:
            background-color 0.16s ease;
    }

    .info-back:hover {
        background: #f3fafb;
    }
}