.menu-right .submenu form,
.off-menu-top .submenu form {
    margin: 0;
}

.menu-right .submenu .auth-link-button,
.off-menu-top .submenu .auth-link-button {
    background: transparent;
    border: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.menu-right .submenu .auth-link-button {
    width: max-content;
    display: block;
    color: #4C4C4C;
    font-weight: normal;
    text-align: left;
}

.off-menu-top .submenu .auth-link-button {
    display: inline-block;
    color: var(--ex-color-2);
    font-weight: var(--font-medium);
    margin-bottom: 26px;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}

.menu-right .submenu li:hover .auth-link-button,
.off-menu-top .submenu li:hover .auth-link-button {
    color: var(--theme-color);
}

.auth-form-alert {
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.5;
}

.auth-form-alert.error {
    background: #fff1f1;
    color: #a62727;
}

.auth-form-alert.success {
    background: #edf8ef;
    color: #256b39;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 76px;
    }
}

.mz-mnav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 10, 40, 0.18);
    backdrop-filter: blur(2px);
    z-index: 998;
    display: none;
}

.mz-mnav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 999;
}

.mz-mnav__bar {
    display: grid;
    grid-template-columns: .5fr 0.6fr 0.6fr .5fr;
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, #9b1662 0%, #c2197c 100%);
    box-shadow: 0 18px 40px rgba(78, 14, 70, 0.24);
}

.mz-mnav__item {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: #fff !important;
    text-decoration: none !important;
    min-height: 46px;
    padding: 6px 8px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    transition: 0.2s ease;
}

.mz-mnav__item:first-child {
    padding-inline: 0;
}

.mz-mnav__item:hover,
.mz-mnav__item.is-active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}

.mz-mnav__item--primary {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mz-mnav__item--balance {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.mz-mnav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.mz-mnav__text {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.mz-mnav__item:first-child .mz-mnav__icon {
    font-size: 22px;
}

.mz-mnav__item:first-child .mz-mnav__text {
    display: none;
}

.mz-mnav__panel {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 64px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 45px rgba(53, 17, 69, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: 0.24s ease;
}

.mz-mnav.is-open .mz-mnav__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mz-mnav__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mz-mnav__card,
.mz-mnav__card--button {
    width: 100%;
    min-height: 88px;
    padding: 14px 12px;
    border-radius: 20px;
    border: 1px solid rgba(120, 76, 136, 0.14);
    background: linear-gradient(180deg, #fff 0%, #f9f3fb 100%);
    color: #351145 !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    box-shadow: 0 8px 20px rgba(53, 17, 69, 0.06);
}

.mz-mnav__card--button {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.mz-mnav__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(194, 25, 124, 0.1);
    color: #b21873;
    font-size: 18px;
}

.mz-mnav__card-text {
    color: #351145;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.mz-mnav__form {
    margin: 0;
}

.mz-mnav-overlay.is-open {
    display: block;
}

@media (max-width: 991.98px) {
    .mz-mnav {
        display: block;
    }
}
