.design-sys-footer {
    background: transparent linear-gradient(133deg, #0e1f47 0%, #0a183b 100%) 0% 0% no-repeat padding-box;
    padding: 64px 48px;
}

.design-sys-footer__logo {
    height: 41px;
    margin-bottom: 33px;
    width: auto;
}

.design-sys-footer__link-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 26px;
}

/* To break three items at once instead of one by one. */
@media (min-width: 769px) and (max-width: 980px) {
    .design-sys-footer__link-container {
        column-gap: 110px;
    }

    .design-sys-footer__link-block:nth-child(3n + 1) {
        flex-basis: 127px;
    }
    .design-sys-footer__link-block:nth-child(3n + 2) {
        flex-basis: 174px;
    }
    .design-sys-footer__link-block:nth-child(3n + 3) {
        flex-basis: 130px;
    }
}

.design-sys-footer__link-block > p {
    color: white;
    font-family: Inter;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 6px;
}

.design-sys-footer__link-block > a {
    color: #f3f4f7b2;
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 27px;
    text-decoration: none;
}
.design-sys-footer__link-block > a:hover,
.design-sys-footer__link-block > a:focus {
    color: #f3f4f7;
    text-decoration: none;
}
.design-sys-footer__link-block > a:focus {
    text-decoration: underline;
}
.design-sys-footer__link-block--disabled {
    color: #f3f4f74d;
}

.design-sys-footer__link-block > a::after {
    content: '\A';
    white-space: pre;
}

.design-sys-footer__star-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: max-content;
}

.design-sys-footer__star-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(71%) sepia(7%) saturate(504%) hue-rotate(185deg) brightness(96%) contrast(82%);
}
.design-sys-footer__star-link:hover > img,
.design-sys-footer__star-link:focus > img {
    filter: brightness(0) saturate(100%) invert(92%) sepia(2%) saturate(247%) hue-rotate(187deg) brightness(106%) contrast(95%);
}
.design-sys-footer__star-link.design-sys-footer__link-block--disabled > img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(13%) saturate(1863%) hue-rotate(184deg) brightness(92%) contrast(84%);
}

.design-sys-footer__bottom-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid #ffffff4d;
}

.design-sys-footer__bottom-container p {
    color: #f2f2f799;
    font-family: Inter;
    font-weight: 400;
    font-size: 12px;
    line-height: 21px;
}

.design-sys-footer__icons-container {
    display: flex;
    gap: 16px;
}

.design-sys-footer__icons-container img {
    width: 24px;
    height: 24px;
    filter: invert(67%) sepia(40%) saturate(449%) hue-rotate(170deg) brightness(94%) contrast(88%);
}

.design-sys-footer__icons-container img:hover {
    filter: invert(89%) sepia(14%) saturate(306%) hue-rotate(169deg) brightness(101%) contrast(94%);
}

#non-user-modal {
    padding: 20vh 30px;
}

#non-user-modal .uk-modal-close-default {
    width: 15px;
    top: 10px;
    right: 10px;
}

.non-user-modal {
    width: 400px !important;
    max-height: 80vh !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.non-user-modal .uk-modal-body {
    padding: 30px;
}

.non-user-modal__body {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.non-user-modal__logo {
    width: 70px;
    height: auto;
}
.non-user-modal__title {
    font-family: Poppins;
    font-weight: 600;
    font-size: 17px;
    line-height: 36.16px;
    letter-spacing: 0px;
    text-align: center;
    color: #2C2C2E;
}
.non-user-modal__description {
font-family: Inter;
    font-weight: 500;
    font-size: 17px;
    line-height: 21px;
    letter-spacing: 0px;
    width: 278px;
    text-align: center;
    color: #3A3A3C;
    padding-bottom: 20px;
}
.non-user-modal__buttons button {
    font: unset;
    height: 30px;
    padding: 8px 24px;
    line-height: unset;
}
.non-user-modal__buttons button:first-child {
    margin-right: 10px;
}
.blur-background {
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.5) !important;
}

@media (min-width: 901px) {
    .design-sys-footer__bottom-container > p:first-child {
        margin-right: auto;
    }

    .design-sys-footer__icons-container {
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .design-sys-footer__bottom-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
        margin-top: 57px;
        padding-top: 31px;
    }

    .design-sys-footer__icons-container {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .design-sys-footer {
        position: relative;
        padding: 64px 16px;
    }

    .design-sys-footer__logo {
        height: 40px;
        margin-bottom: 40px;
    }

    .design-sys-footer__link-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 23px;
        row-gap: 35px;
    }

    .design-sys-footer__link-block > p {
        line-height: 20px;
        margin-bottom: 14px;
    }

    .design-sys-footer__link-block > a {
        display: block;
        line-height: 19px;
        margin-bottom: 13px;
    }

    .design-sys-footer__star-link img {
        height: 15px;
        margin-left: 5px;
    }

    .design-sys-footer__bottom-container > p {
        margin-bottom: 32px;
        text-align: center;
    }

    #non-user-modal {
        padding: 0px !important;
    }
    .non-user-modal {
        width: 100% !important;
        height: 60vh;
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 3vh 0 12vh;
    }
    .non-user-modal__logo {
        width: 90px;
        height: auto;
    }
    .non-user-modal__title {
        font-size: 22px;
    }
    .non-user-modal__description {
        font-size: 19px;
        line-height: 24px;
        width: 300px;
    }
    .non-user-modal__buttons {
        width: 100%;
        text-align: center;
    }
    .non-user-modal__buttons button {
        font-size: 15px;
        height: 44px;
        padding: 12px 40px;
        line-height: unset;
    }
}

@media (max-width: 375px) {
    .design-sys-footer__link-container {
        display: flex;
    }
    .design-sys-footer__link-container > div {
        width: 174px;
    }
}
