:root {
    --cat-ink: #121417;
    --cat-muted: #667085;
    --cat-line: #e4e7ec;
    --cat-field: #f8fafc;
    --cat-surface: #ffffff;
    --cat-soft: #f3f6f3;
    --cat-coral: #F15A24;
    --cat-focus: rgba(35, 152, 212, .18);
    --cat-shadow: 0 24px 70px rgba(18, 20, 23, .16);
}

.kinesthetic-auth-form-page {
    min-height: 100vh;
    min-height: 100svh;
    background-color: #f5fafc;
}

.kinesthetic-auth-form-page .site-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: 50px 20px;
}

.kinesthetic-auth-form-page .site-inner,
.kinesthetic-auth-form-page .content-sidebar-wrap,
.kinesthetic-auth-form-page .content,
.kinesthetic-auth-form-page .entry,
.kinesthetic-auth-form-page .entry-content {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.kinesthetic-auth-form-page .cat-auth-wrap {
    width: min(1180px, 100%);
    /*min-height: min(760px, calc(100svh - 100px));*/
    margin: auto;
}

.cat-auth-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 1.05fr) minmax(360px, .95fr);
    width: min(1180px, calc(100% - 40px));
    /*min-height: min(760px, calc(100vh - 80px));*/
    margin: 40px auto;
    overflow: hidden;
    border: 1px solid rgba(23, 68, 58, .12);
    border-radius: 8px;
    background: var(--cat-surface);
    color: var(--cat-ink);
}

.cat-auth-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.cat-auth-image {
    position: relative;
    min-height: 640px;
    background-color: #2398D4;
    background-position: center;
    background-size: cover;
    isolation: isolate;
}

.cat-auth-panel {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 30px;
    padding-inline: clamp(34px, 5vw, 50px);
}

.cat-auth-panel h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 700;
    line-height: .98;
}

.cat-auth-panel h1::after {
    content: "";
    display: block;
    width: 54px;
    height: 4px;
    margin-top: 18px;
    border-radius: 4px;
    background: #2398D4;
}

.cat-auth-panel p {
    color: var(--cat-muted);
    line-height: 1.65;
}

.cat-auth-form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.cat-auth-form label {
    display: grid;
    gap: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.cat-auth-form input[type="text"],
.cat-auth-form input[type="email"],
.cat-auth-form input[type="password"] {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--cat-line);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--cat-ink);
    background: var(--cat-field);
    font: inherit;
    outline: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.cat-password-field {
    position: relative;
    display: block;
}

.cat-password-field input {
    padding-right: 50px !important;
}

.cat-auth-form .cat-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-height: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    color: var(--cat-muted);
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: none;
    transition: color .18s ease, background .18s ease;
}

.cat-auth-form .cat-password-toggle::before {
    content: "";
    width: 18px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.cat-auth-form .cat-password-toggle::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.cat-auth-form .cat-password-toggle.is-visible::after {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(-38deg);
}

.cat-auth-form .cat-password-toggle:hover,
.cat-auth-form .cat-password-toggle:focus-visible {
    color: #2398D4;
    background: rgba(35, 152, 212, .1);
}

.cat-auth-form input[type="text"]:hover,
.cat-auth-form input[type="email"]:hover,
.cat-auth-form input[type="password"]:hover {
    border-color: #b7c5c1;
    background: #ffffff;
}

.cat-auth-form input[type="text"]:focus,
.cat-auth-form input[type="email"]:focus,
.cat-auth-form input[type="password"]:focus {
    border-color: #2398D4;
    background: #ffffff;
}

.cat-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    margin-top: 2px;
    color: var(--cat-muted) !important;
    font-weight: 700 !important;
}

.cat-check input {
    width: 18px;
    height: 18px;
    accent-color: #2398D4;
}

.cat-auth-form button,
.cat-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border: 0;
    border-radius: 50px;
    margin-top: 10px;
    padding: 14px 22px;
    color: #ffffff;
    background: #2398D4;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.cat-auth-form button:not(.cat-password-toggle):hover,
.cat-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 1.5rem 3rem rgba(35, 152, 212, .25);
}

.cat-auth-form button:focus-visible,
.cat-button:focus-visible {
    outline: 0;
}

.cat-auth-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    margin: 22px 0 0;
    color: var(--cat-muted);
    font-size: 14px;
}

.cat-auth-links a {
    color: #17364A;
    font-weight: 700;
    text-decoration: none;
}

.cat-auth-links a:hover {
    color: #2398D4;
}

.cat-auth-links span {
    color: #c2c8d0;
}

.cat-notice {
    margin-bottom: 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.cat-notice-success {
    border-color: rgba(35, 152, 212, .18);
    color: #17364A;
    background: #eaf6fb;
}

.cat-notice-error {
    border-color: rgba(184, 64, 45, .18);
    color: #9f2d1f;
    background: #fff0eb;
}

.cat-auth-panel > h1 + p {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .cat-auth-wrap {
        grid-template-columns: 1fr;
        width: min(100% - 24px, 620px);
        min-height: auto;
        margin: 24px auto;
    }

    .cat-auth-image {
        min-height: 220px;
    }

    .cat-auth-image::after {
        left: 24px;
        bottom: 24px;
    }

    .cat-auth-panel {
        padding: 20px 15px;
    }

    .kinesthetic-auth-form-page .site-container { padding: 20px; }
}

@media (max-width: 480px) {
    .kinesthetic-auth-form-page .site-container {
        padding-inline: 14px;
    }

    .kinesthetic-auth-form-page .cat-auth-wrap {
        margin: auto;
    }

    .cat-auth-wrap {
        width: 100%;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .cat-auth-image {
        min-height: 170px;
    }

    .cat-auth-panel h1 {
        font-size: 34px;
    }

    .cat-auth-form {
        gap: 15px;
    }
}
.cat-auth-form label {
    position: relative;
    padding-bottom: 15px;
}

.cat-auth-form input.is-invalid {
    border-color: #b8402d;
    background: #fff8f6;
}

.cat-field-error {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 100%;
    color: #9f2d1f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
}

.cat-field-error:empty {
    display: none;
}

.cat-form-error {
    border: 1px solid rgba(184, 64, 45, .18);
    border-radius: 8px;
    padding: 13px 15px;
    color: #9f2d1f;
    background: #fff0eb;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.cat-form-error[hidden] {
    display: none;
}
.cat-auth-form .cat-check {
    padding-bottom: 0;
}
