: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-shell {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
}

.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;
}

@media (max-width: 575.98px) {
    .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%;
    }
}
