@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --match-bg: #FBFAF9;
    --match-surface: #FFFFFF;
    --match-border: #F0F0F0;
    --match-border-soft: #F3F5FB;
    --match-text: #111111;
    --match-muted: #807F88;
    --match-subtle: #F7F7F7;
    --match-accent: #FFB31A;
    --match-accent-soft: rgba(255, 179, 26, 0.18);
    --match-radius: 14px;
    --match-radius-pill: 999px;
    --match-shadow: 0 20px 45px rgba(17, 17, 17, 0.12);
}

html,
body {
    min-height: 100%;
}

body.match-body {
    margin: 0;
    background: var(--match-bg);
    color: var(--match-text);
    font: 400 15px/1.45 "Poppins", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.match-body.match-overflow-hidden {
    overflow: hidden;
}

@media screen and (max-width: 767px) {
    html,
    body.match-body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #page.match-shell {
        max-width: 100%;
        overflow-x: hidden;
    }
}

body.match-body a {
    color: inherit;
    text-decoration: none;
}

body.match-body a:hover {
    color: inherit;
}

#content a,
.right-side a {
    color: #0084c6;
    text-decoration: underline;
}

#content a:hover,
.right-side a:hover {
    color: #112233;
    text-decoration: none;
}

#content a.match-button,
#content a.match-button:hover,
.right-side a.match-button,
.right-side a.match-button:hover {
    color: #FFFFFF;
    text-decoration: none;
}

#content a.match-button--ghost,
#content a.match-button--ghost:hover,
.right-side a.match-button--ghost,
.right-side a.match-button--ghost:hover {
    color: var(--match-text);
}

body.match-body img {
    max-width: 100%;
}

body.match-body h1,
body.match-body h2,
body.match-body h3,
body.match-body h4,
body.match-body h5,
body.match-body h6,
body.match-body p {
    margin: 0;
    color: inherit;
    font-family: inherit;
}

body.match-body h1 {
    font-size: 32px;
    line-height: 1.08;
    font-weight: 700;
}

body.match-body h2 {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

body.match-body h3 {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

body.match-body button,
body.match-body input,
body.match-body textarea,
body.match-body select {
    font: inherit;
}

body.match-body button {
    cursor: pointer;
}

#page.match-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    min-width: 0;
}

.page {
    width: 100%;
    max-width: 964px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.match-old-site-notice {
    background: #fff4eb;
    color: #000000;
}

.match-old-site-notice__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.match-old-site-notice__text {
    flex: 1 1 auto;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
}

.match-old-site-notice__text a {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.match-old-site-notice__close {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 22px;
    line-height: 32px;
    padding: 0;
}

.match-old-site-notice__close:hover,
.match-old-site-notice__close:focus {
    background: rgba(255, 255, 255, 0.22);
    outline: none;
}

@media screen and (min-width: 768px) {
    .page {
        padding: 0 24px;
    }
}

#header.match-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 16px 0 0;
    background: var(--match-bg);
}

.match-header__overlay {
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(17, 17, 17, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

body.match-nav-open .match-header__overlay {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (min-width: 768px) {
    .match-header__overlay {
        display: none;
    }
}

.match-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.match-nav__toggle {
    border: 1px solid transparent;
    outline: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.match-nav__toggle {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.match-nav__toggle img {
    width: 24px;
    height: 24px;
    display: block;
}

.match-nav__brand-mobile,
.match-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.match-nav__brand-mobile img,
.match-brand img {
    height: 40px;
    width: auto;
    display: block;
}

.match-nav__panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(82vw, 320px);
    padding: 20px 16px 28px;
    box-sizing: border-box;
    background: var(--match-bg);
    z-index: 50;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: var(--match-shadow);
    overflow-y: auto;
}

body.match-nav-open .match-nav__panel {
    transform: translateX(0);
}

.match-nav__panel .match-brand {
    display: none;
}

.match-nav__mobile-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 38px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--match-border);
}

.match-nav__profile,
.match-nav__mobile-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.match-nav__profile {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}

.match-nav__profile-avatar,
.match-nav__mobile-profile-avatar {
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: #F0F0F0;
    color: var(--match-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.match-nav__mobile-profile-name,
.match-nav__profile-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 22px;
}

.match-nav__mobile-profile-link,
.match-nav__profile {
    color: var(--match-text);
}

.match-nav__mobile-profile-link:hover,
.match-nav__profile:hover {
    color: var(--match-text);
}

#mainmenu {
    width: 100%;
}

#mainmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#mainmenu li {
    margin: 0;
}

#mainmenu li a {
    display: inline-flex;
    align-items: center;
    color: var(--match-muted);
    font-size: 21px;
    line-height: 22px;
    font-weight: 700;
}

#mainmenu li.active a {
    color: var(--match-text);
}

.match-nav__account {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    margin-left: auto;
}

.match-nav__profile-menu {
    position: relative;
    max-width: 220px;
}

.match-nav__notices {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.match-nav__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 16px;
    background: #000000;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 500;
}

.match-nav__profile {
    max-width: 180px;
}

.match-nav__profile-menu .match-nav__profile::after {
    content: none;
}

.match-nav__profile-menu--open .match-nav__profile::after {
    transform: none;
}

.match-nav__profile-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 164px;
    padding: 8px;
    border: 1px solid var(--match-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--match-shadow);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 20;
}

.match-nav__profile-dropdown[hidden] {
    display: none;
}

.match-nav__profile-dropdown-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--match-text);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.match-nav__profile-dropdown-link:hover {
    color: var(--match-text);
    background: #F7F3EA;
}

.match-nav__profile-dropdown-link--disabled {
    color: var(--match-muted);
    cursor: default;
}

.match-profile-pill__logout {
    color: var(--match-muted);
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

.match-profile-pill__logout:hover {
    color: var(--match-text);
}

.match-nav__messages-widget {
    flex-shrink: 0;
}

.match-nav__messages-widget a,
.match-nav__messages-widget a:hover {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--match-border);
    border-radius: 16px;
    background: #ffffff;
    color: var(--match-text) !important;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}

.match-nav__messages-widget--active a,
.match-nav__messages-widget--active a:hover {
    border-color: #000000;
    background: #000000;
    color: #ffffff !important;
}

.match-nav__messages-widget .match-nav__messages-icon {
    flex-shrink: 0;
    color: inherit;
}

.match-nav__messages-widget .match-nav__messages-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ffb31a;
}

.match-nav__messages-widget .match-nav__messages-count {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: inherit;
}

.match-nav__messages-widget .match-nav__messages-label {
    display: none;
    line-height: 1;
    color: inherit;
}

.match-nav__messages-widget a::after {
    content: none !important;
    display: none !important;
}

.match-subnav {
    margin-top: 16px;
}

.match-subnav__surface {
    background: var(--match-surface);
    border: 1px solid var(--match-border);
    border-radius: 14px;
    padding: 12px 16px;
    overflow-x: auto;
}

#secondmenu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 16px;
    min-width: max-content;
}

#secondmenu li {
    margin: 0;
    padding: 0;
}

#secondmenu li a {
    display: inline-flex;
    align-items: center;
    color: var(--match-muted);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

#secondmenu li.active a {
    color: var(--match-text);
}

#main {
    flex: 1;
    padding: 0 0 32px;
}

.match-main {
    min-width: 0;
}

.match-main--with-sidebar {
    display: grid;
    gap: 24px;
    align-items: start;
}

@media screen and (min-width: 992px) {
    .match-main--with-sidebar {
        grid-template-columns: minmax(0, 1fr) 284px;
    }
}

.match-main--with-sidebar .left-side,
.match-main--with-sidebar .right-side {
    min-width: 0;
}

.match-main--with-sidebar .right-side {
    display: grid;
    gap: 16px;
}

.match-main--with-sidebar .widget-st1,
.match-main--with-sidebar .right-side .__wb-block,
.match-main--with-sidebar .right-side .widget-container,
.match-main--with-sidebar .right-side .widget {
    border-radius: 14px;
}

.match-main--with-sidebar .widget-st1 {
    background: var(--match-surface);
    border: 1px solid var(--match-border);
    padding: 16px;
}

.match-main--with-sidebar .widget-st1 .widget-title {
    margin: 0;
    padding: 0 0 12px;
    border: 0;
}

.match-main--with-sidebar .widget-st1 .widget-container {
    padding: 0;
}

.match-main--with-sidebar .right-side img {
    height: auto;
}

#content {
    min-width: 0;
}

#noty_container {
    margin-bottom: 16px;
}

.match-footer {
    padding: 16px 0 16px;
    border-top: 1px solid var(--match-border);
}

.match-footer .page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.match-footer__menu,
.match-footer__links {
    display: flex;
    align-items: center;
}

.match-footer__menu a,
.match-footer__links a {
    color: #2E2D2D;
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
}

.match-footer__menu {
    justify-content: space-between;
    width: 100%;
    padding: 0 48px;
    box-sizing: border-box;
}

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

.match-footer__brand {
    display: inline-flex;
    align-items: center;
}

.match-footer__brand img {
    height: 40px;
    width: auto;
    display: block;
}

.match-footer__border {
    display: none;
}

.match-footer__copyright {
    color: #3D3A44;
    font-size: 14px;
    line-height: 21px;
}

@media screen and (min-width: 768px) {
    #header.match-header {
        position: static;
        padding-top: 24px;
    }

    #header.match-header > .page {
        padding-left: 0;
        padding-right: 0;
    }

    .match-nav {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    .match-nav__toggle,
    .match-nav__brand-mobile,
    .match-nav__mobile-profile {
        display: none;
    }

    .match-nav__messages-widget .match-nav__messages-label {
        display: inline;
    }

    .match-nav__panel {
        position: static;
        transform: none;
        width: auto;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        display: contents;
    }

    .match-nav__panel .match-brand {
        display: inline-flex;
        grid-column: 1;
        justify-self: start;
    }

    #mainmenu {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        grid-column: 2;
        justify-self: stretch;
        padding-left: 16px;
    }

    #mainmenu ul {
        flex-direction: row;
        gap: 24px;
        justify-content: flex-start;
    }

    #mainmenu li a {
        padding: 9px 0 7px;
        border-bottom: 2px solid transparent;
        font-size: 16px;
        line-height: 22px;
        font-weight: 500;
    }

    #mainmenu li.active a {
        border-bottom-color: var(--match-accent);
        font-weight: 400;
    }

    .match-nav__account {
        grid-column: 3;
        width: auto;
        flex-shrink: 0;
        justify-content: flex-end;
        justify-self: end;
        margin-left: 0;
    }

    .match-footer .page {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-end;
    }

    .match-footer {
        padding-bottom: 24px;
    }

    .match-footer__menu {
        width: auto;
        padding: 0;
        gap: 77px;
        justify-content: flex-start;
    }

    .match-footer__links {
        flex-direction: row;
        gap: 30px;
        order: 3;
    }

    .match-footer__brand {
        width: 50%;
        justify-content: flex-end;
    }

    .match-footer__border {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--match-border);
    }

    .match-footer__copyright {
        width: 30%;
    }
}

@media screen and (min-width: 768px) and (max-width: 969px) {
    #header.match-header > .page,
    #main.page {
        padding-left: 24px;
        padding-right: 24px;
    }
}
