:root {
    --zt-green: #73bd4c;
    --zt-green-dark: #59a92c;
    --zt-dark: #0e212e;
    --zt-panel: #253542;
    --zt-muted: #8697b3;
    --zt-yellow: #fdca12;
    --zt-line: #dfe6ec;
}

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

body {
    color: var(--zt-dark);
    font-family: "Trebuchet MS", Arial, sans-serif;
}

.d-none {
    display: none !important;
}

.form-control {
    display: block;
    width: 100%;
    padding: 8px 12px;
    background: #fff;
    outline: 0;
}

.btn {
    cursor: pointer;
    font: inherit;
}

.auth-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(246, 248, 251, 0.4), rgba(238, 242, 246, 0.3)),
        url("../img/auth-yelets-bg.svg") center center / cover no-repeat,
        #edf1f5;
}

.auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(237, 241, 245, 0) 0 260px, rgba(237, 241, 245, .34) 520px, rgba(237, 241, 245, .7) 100%),
        linear-gradient(90deg, rgba(237, 241, 245, .62), rgba(237, 241, 245, .08) 34%, rgba(237, 241, 245, .08) 66%, rgba(237, 241, 245, .62));
}

.auth-back-button {
    position: fixed;
    top: 22px;
    left: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 15px 9px 12px;
    color: var(--zt-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(223, 230, 236, 0.92);
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(14, 33, 46, 0.12);
}

.auth-back-button:hover,
.auth-back-button:focus {
    color: var(--zt-dark);
    text-decoration: none;
    background: #fff;
    border-color: rgba(115, 189, 76, 0.72);
    outline: 0;
}

.auth-back-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.auth-shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 100vh;
    padding: 32px 16px;
}

.auth-page.has-android-app-banner {
    overflow: auto;
}

.android-app-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 14px;
    align-items: center;
    width: min(410px, calc(100vw - 32px));
    padding: 14px;
    color: var(--zt-dark);
    text-align: left;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(223, 230, 236, 0.96);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(14, 33, 46, 0.16);
}

.android-app-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: var(--zt-green);
    border-radius: 8px;
}

.android-app-banner__icon svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.android-app-banner__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.android-app-banner__copy strong {
    font-size: 16px;
    line-height: 1.2;
}

.android-app-banner__copy span {
    color: #40505e;
    font-size: 13px;
    line-height: 1.35;
}

.android-app-banner__copy small {
    color: #6b7782;
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.android-app-banner__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.android-app-banner__download,
.android-app-banner__dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
}

.android-app-banner__download {
    color: #fff;
    background: var(--zt-green);
    border: 1px solid var(--zt-green);
}

.android-app-banner__download:hover,
.android-app-banner__download:focus {
    color: #fff;
    text-decoration: none;
    background: var(--zt-green-dark);
    border-color: var(--zt-green-dark);
    outline: 0;
}

.android-app-banner__dismiss {
    color: var(--zt-dark);
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--zt-line);
}

.android-app-banner__dismiss:hover,
.android-app-banner__dismiss:focus {
    border-color: var(--zt-green);
    outline: 0;
}

.auth-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(410px, calc(100vw - 32px));
    min-height: min(410px, calc(100vw - 32px));
    padding: 52px 58px 44px;
    color: #fff;
    text-align: center;
    background: var(--zt-green);
    border: 14px solid #fff;
    border-radius: 50%;
    box-shadow: 0 26px 70px rgba(14, 33, 46, 0.12);
}

.auth-card h1 {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-card.is-recovery {
    min-height: auto;
    border-radius: 28px;
    padding-top: 38px;
    padding-bottom: 34px;
}

.auth-form {
    width: min(258px, 100%);
    margin: 0 auto;
}

.auth-field {
    display: flex;
    width: 100%;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(14, 33, 46, 0.16);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(14, 33, 46, 0.08);
}

.auth-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    color: #59636d;
    background: #f4f6f8;
    border-right: 1px solid var(--zt-line);
}

.auth-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.auth-field .form-control {
    min-height: 44px;
    color: var(--zt-dark);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 15px;
}

.auth-field .form-control:focus {
    box-shadow: inset 0 0 0 2px rgba(253, 202, 18, 0.65);
}

.auth-submit {
    display: block;
    min-width: 94px;
    margin: 4px auto 0;
    padding: 10px 22px;
    color: var(--zt-dark);
    text-transform: uppercase;
    background: #fff;
    border: 0;
    border-radius: 7px;
    box-shadow: 0 3px 9px rgba(14, 33, 46, 0.16);
}

.auth-submit:hover,
.auth-submit:focus {
    color: var(--zt-dark);
    background: var(--zt-yellow);
}

.auth-submit:disabled {
    color: #6c757d;
    background: #eef2f5;
}

.auth-link {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
}

.auth-link:hover,
.auth-link:focus {
    color: #fff;
    text-decoration: underline;
}

.auth-help {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.35;
}

.auth-select,
.auth-textarea {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    color: #fff;
    text-align: left;
}

.auth-select span,
.auth-textarea span {
    font-size: 12px;
}

.auth-select select,
.auth-textarea textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    color: var(--zt-dark);
    background: #fff;
    border: 1px solid rgba(14, 33, 46, 0.16);
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    outline: 0;
}

.auth-textarea textarea {
    min-height: 88px;
    resize: vertical;
}

.auth-select select:focus,
.auth-textarea textarea:focus {
    box-shadow: inset 0 0 0 2px rgba(253, 202, 18, 0.65);
}

.auth-form .alert {
    margin-bottom: 12px;
    padding: 8px 10px;
    color: var(--zt-dark);
    font-size: 13px;
    border: 0;
}

.convergent-page {
    overflow: auto;
}

.convergent-shell {
    padding: 34px 18px;
}

.convergent-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 28px;
    width: min(900px, 100%);
    padding: 34px;
    color: var(--zt-dark);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--zt-line);
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(14, 33, 46, 0.15);
}

.convergent-media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.convergent-media img {
    width: min(210px, 100%);
    height: auto;
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(14, 33, 46, 0.12);
}

.convergent-kicker {
    margin: 0 0 8px;
    color: var(--zt-green-dark);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.convergent-copy h1 {
    margin: 0 0 16px;
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: 0;
}

.convergent-copy p {
    margin: 0 0 12px;
    color: #40505e;
    font-size: 16px;
    line-height: 1.52;
}

.convergent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.convergent-actions form {
    margin: 0;
}

.convergent-primary,
.convergent-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.convergent-primary {
    color: #fff;
    background: var(--zt-green);
    box-shadow: 0 10px 22px rgba(89, 169, 44, 0.24);
}

.convergent-primary:hover,
.convergent-primary:focus {
    color: #fff;
    text-decoration: none;
    background: var(--zt-green-dark);
    outline: 0;
}

.convergent-secondary {
    color: var(--zt-dark);
    background: #fff;
    border-color: var(--zt-line);
}

.convergent-secondary:hover,
.convergent-secondary:focus {
    color: var(--zt-dark);
    border-color: var(--zt-green);
    outline: 0;
}

.not-found-page {
    min-height: 100vh;
    margin: 0;
    color: var(--zt-dark);
    background:
        linear-gradient(180deg, rgba(246, 248, 251, 0.46), rgba(238, 242, 246, 0.38)),
        url("../img/auth-yelets-bg.svg") center center / cover no-repeat,
        #edf1f5;
}

.not-found-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, rgba(237, 241, 245, 0) 0 260px, rgba(237, 241, 245, .38) 520px, rgba(237, 241, 245, .78) 100%),
        linear-gradient(90deg, rgba(237, 241, 245, .7), rgba(237, 241, 245, .18) 34%, rgba(237, 241, 245, .18) 66%, rgba(237, 241, 245, .7));
}

.not-found-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    color: #fff;
    background: var(--zt-panel);
}

.not-found-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 62px;
    padding: 0 30px;
    color: #fff;
    font-size: 23px;
    line-height: 1;
    text-decoration: none;
}

.not-found-brand:hover,
.not-found-brand:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
}

.not-found-brand span {
    width: 28px;
    height: 28px;
    margin-right: 6px;
    background: var(--zt-green);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(14, 33, 46, 0.25);
}

.not-found-brand strong {
    font-weight: 300;
}

.not-found-brand b {
    font-weight: 700;
}

.not-found-nav {
    display: flex;
    align-items: stretch;
    min-height: 62px;
    margin-left: auto;
}

.not-found-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 0 22px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.not-found-nav a:hover,
.not-found-nav a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    outline: 0;
}

.not-found-nav-primary {
    background: var(--zt-green);
}

.not-found-shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    min-height: calc(100vh - 62px);
    margin: 0 auto;
    padding: 36px 0;
}

.not-found-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
    gap: 28px;
    width: 100%;
    min-height: 360px;
    padding: 36px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--zt-line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(14, 33, 46, 0.14);
}

.not-found-copy {
    align-self: center;
}

.not-found-kicker {
    margin: 0 0 10px;
    color: var(--zt-green-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.not-found-card h1 {
    max-width: 720px;
    margin: 0;
    color: var(--zt-dark);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.not-found-text {
    max-width: 660px;
    margin: 16px 0 0;
    color: #4a5966;
    font-size: 17px;
    line-height: 1.52;
}

.not-found-request {
    display: grid;
    gap: 6px;
    max-width: 560px;
    margin-top: 22px;
    padding: 14px 16px;
    background: #f7fafc;
    border: 1px solid #dfe6ec;
    border-radius: 8px;
}

.not-found-request span {
    color: var(--zt-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.not-found-request strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--zt-dark);
    font-size: 15px;
    font-weight: 700;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.not-found-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 8px;
}

.not-found-button:hover,
.not-found-button:focus {
    text-decoration: none;
    outline: 0;
}

.not-found-button-primary {
    color: #fff;
    background: var(--zt-green);
    box-shadow: 0 10px 22px rgba(89, 169, 44, 0.24);
}

.not-found-button-primary:hover,
.not-found-button-primary:focus {
    color: #fff;
    background: var(--zt-green-dark);
}

.not-found-button-secondary {
    color: var(--zt-dark);
    background: #fff;
    border-color: var(--zt-line);
}

.not-found-button-secondary:hover,
.not-found-button-secondary:focus {
    color: var(--zt-dark);
    border-color: var(--zt-green);
}

.not-found-status {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    gap: 14px;
    min-height: 260px;
    color: var(--zt-panel);
    background: #f4f8fb;
    border: 1px solid #dfe6ec;
    border-radius: 8px;
}

.not-found-status span {
    font-size: 108px;
    font-weight: 700;
    line-height: 1;
}

.not-found-status i {
    width: 76px;
    height: 76px;
    background: var(--zt-green);
    border: 8px solid #fff;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(89, 169, 44, 0.26);
}

@media (max-width: 820px) {
    .not-found-topbar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .not-found-nav {
        width: 100%;
        min-height: 54px;
    }

    .not-found-nav a {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 12px;
        font-size: 14px;
        text-align: center;
    }

    .not-found-card {
        grid-template-columns: 1fr;
    }

    .not-found-status {
        min-height: 180px;
        order: -1;
    }

    .convergent-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 26px;
    }

    .convergent-media img {
        width: 170px;
    }
}

@media (max-width: 575.98px) {
    .auth-back-button {
        top: 14px;
        left: 14px;
        min-height: 38px;
        padding: 8px 12px 8px 10px;
        font-size: 14px;
    }

    .auth-card {
        min-height: auto;
        padding: 36px 24px 32px;
        border-width: 10px;
        border-radius: 28px;
    }

    .auth-card h1 {
        font-size: 20px;
    }

    .auth-form {
        width: 100%;
    }

    .not-found-topbar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .not-found-brand {
        min-height: 56px;
        padding: 0 18px;
        font-size: 20px;
    }

    .not-found-nav {
        width: 100%;
        min-height: 50px;
    }

    .not-found-nav a {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 10px;
        font-size: 13px;
        text-align: center;
    }

    .not-found-shell {
        width: min(100% - 24px, 1180px);
        min-height: auto;
        padding: 20px 0 28px;
    }

    .not-found-card {
        grid-template-columns: 1fr;
        gap: 22px;
        min-height: 0;
        padding: 24px;
    }

    .not-found-card h1 {
        font-size: 29px;
    }

    .not-found-text {
        font-size: 15px;
    }

    .not-found-actions {
        display: grid;
    }

    .not-found-status {
        min-height: 150px;
        order: -1;
    }

    .not-found-status span {
        font-size: 64px;
    }

    .not-found-status i {
        width: 52px;
        height: 52px;
        border-width: 6px;
    }

    .convergent-shell {
        align-items: flex-start;
        padding: 22px 12px;
    }

    .convergent-card {
        padding: 22px;
    }

    .convergent-copy h1 {
        font-size: 26px;
    }

    .convergent-copy p {
        font-size: 15px;
    }

    .convergent-actions {
        display: grid;
    }

    .convergent-primary,
    .convergent-secondary {
        width: 100%;
    }
}
