.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    gap: 10px;
    height: 56px;
    background-color: #fff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 8px 12px -2px rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.04);
    z-index: 1200;
}

.logo-wide {
    display: none;
}

.nav-left, .nav-center, .nav-right {
    height: 24px;
    width: 24px;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #242E30;
}

.nav-center .page-title {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-back img {
    width: 24px;
    height: 24px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #fff;
    min-height: 100vh;
    padding-top: 56px;
}

.main-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 24px 16px 88px 16px;
}

.main-container-inner {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.top-bar {
    display: none;
}

@media (max-width: 958px) {
    .bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 16px;
        background-color: #fff;
        box-shadow: 0px 4px 6px rgba(27, 35, 36, 0.08), 0px 2px 12px -2px rgba(27, 35, 36, 0.32), 0px 3px 6px rgba(27, 35, 36, 0.24);
        z-index: 1;
    }
    .bottom-bar button {
        display: flex;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 959px) {
    .main-container-inner-compact{
        margin-top: -70px;
    }
    .nav {
        height: 80px;
        padding: 20px 32px;
    }
    .nav .nav-back {
        display: none;
    }
    .nav .logo-wide {
        display: block;
    }
    .nav .logo-small {
        display: none;
    }
    .nav-left, .nav-center, .nav-right {
        height: auto;
        width: auto;
    }
    .nav-center .page-title {
        display: none;
    }
    .app {
        min-height: 100vh;
        background: url(../images/background.jpg) no-repeat center center;
        background-size: cover;
    }

    .main {
        width: 50%;
        margin-left: auto;
        justify-content: center;
        padding-top: 80px;
    }

    .main-container {
        padding: 120px 16px 16px 16px;
    }

    .top-bar {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        display: flex;
        align-items: center;
        height: 72px;
    }
}
