/* =====================================
   ОСНОВНЫЕ СТИЛИ
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    min-height: 100%;
}


body {
    min-height: 100vh;
    min-height: 100dvh;

    overflow: hidden;

    background: #202020;

    font-family: 'Jost', sans-serif;
}


.page {
    display: flex;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    overflow: hidden;
}


/* =====================================
   ЛЕВАЯ ПАНЕЛЬ
===================================== */

.sidebar {
    position: relative;

    width: 37%;
    min-width: 360px;
    height: 100%;

    padding: clamp(45px, 8vh, 80px) 45px;

    overflow: hidden;

    background: #242424;
    color: #ffffff;

    text-align: left;
}


.sidebar-header {
    position: relative;
    z-index: 2;

    text-align: center;
}


.sidebar-header h1 {
    font-family: 'Jost', sans-serif;
    font-size: clamp(30px, 2.7vw, 42px);
    font-weight: 500;
    letter-spacing: 1.5px;
}


.sidebar .tagline {
    margin-top: 9px;

    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;

    color: #858585;
}


/* =====================================
   ЦЕНТРАЛЬНАЯ ФРАЗА
===================================== */

.sidebar-message {
    position: absolute;
    top: 42%;
    left: 50%;
    z-index: 2;

    width: min(330px, 80%);

    transform: translate(-50%, -50%);
}


.message-line {
    display: block;

    width: 100px;
    height: 2px;

    margin-bottom: 25px;

    background: #8a8a8a;
}


.message-title {
    font-family: 'Jost', sans-serif;
    font-size: clamp(27px, 2.4vw, 37px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.5px;

    color: #f1f1f1;
}


.message-text {
    margin-top: 25px;

    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;

    color: #858585;
}


/* =====================================
   НИЖНИЕ ПУНКТЫ
===================================== */

.sidebar-bottom {
    position: absolute;
    right: 45px;
    bottom: 55px;
    left: 45px;
    z-index: 2;

    display: flex;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


.help-item {
    display: flex;
    flex-direction: column;
    gap: 5px;

    font-family: 'Jost', sans-serif;
    font-size: 20px;
    font-weight: 400;

    color: #b5b5b5;
}


.help-number {
    font-size: 12px;
    color: #666666;
}


/* =====================================
   ДЕКОР
===================================== */

.sidebar-decoration {
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;

    pointer-events: none;
}


.decoration-one {
    right: -150px;
    bottom: -180px;

    width: 430px;
    height: 430px;
}


.decoration-two {
    top: 34%;
    left: -180px;

    width: 350px;
    height: 350px;
}


/* =====================================
   ПРАВАЯ ЧАСТЬ
===================================== */

.content {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;

    padding: 30px;

    overflow: hidden;

    background: #ffffff;
}


.content-inner {
    position: relative;
    z-index: 2;

    width: min(470px, 100%);

    padding: 34px 38px 30px;

    border: 1px solid #eeeeee;
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.95);

    box-shadow:
        0 20px 55px rgba(35, 35, 35, 0.09),
        0 3px 12px rgba(35, 35, 35, 0.04);

    text-align: center;
}


/* =====================================
   ВЕСЬ ТЕКСТ СПРАВА — JOST
===================================== */

.content h2,
.content .subtitle,
.content .description,
.form-group label,
.form-group input,
.forgot-password,
.submit-btn,
.bottom-note {
    font-family: 'Jost', sans-serif;
}


.content h2 {
    margin-bottom: 5px;

    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.5px;

    color: #111111;
}


.content .subtitle {
    margin-bottom: 7px;

    font-size: 21px;
    font-weight: 500;

    color: #222222;
}


.content .description {
    margin-bottom: 32px;

    font-size: 17px;
    font-weight: 400;
    line-height: 1.45;

    color: #a0a0a0;
}


.form-group {
    position: relative;

    margin-bottom: 21px;

    text-align: left;
}


.form-group label {
    display: block;

    margin-bottom: 7px;
    padding-left: 5px;

    font-size: 22px;
    font-weight: 400;

    color: #222222;
}


.form-group input {
    display: block;

    width: 100%;
    height: 52px;

    padding: 0 18px;

    border: 2px dashed #777777;
    border-radius: 27px;

    outline: none;
    background: #ffffff;

    font-size: 17px;
    font-weight: 400;
    color: #222222;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.form-group input::placeholder {
    color: #b8b8b8;
}


.form-group input:focus {
    border-style: solid;
    border-color: #272727;

    box-shadow: 0 0 0 4px rgba(39, 39, 39, 0.08);
}


.password-group {
    margin-bottom: 0;
}


.forgot-password {
    display: block;

    width: fit-content;

    margin: 8px 6px 0 auto;

    font-size: 14px;
    font-weight: 400;
    color: #8d8d8d;

    text-decoration: none;
}


.forgot-password:hover {
    color: #222222;
    text-decoration: underline;
}


.input-wrapper {
    position: relative;

    width: 100%;
}


.cat-icon {
    position: absolute;
    top: -45px;
    right: 22px;
    z-index: 3;

    width: 105px;

    pointer-events: none;
}


.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 285px;
    height: 53px;

    margin: 34px auto 0;

    border: none;
    border-radius: 28px;

    background: #272727;
    color: #ffffff;

    font-size: 20px;
    font-weight: 500;

    cursor: pointer;

    box-shadow: 0 8px 16px rgba(39, 39, 39, 0.18);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.submit-btn:hover {
    background: #111111;
    transform: translateY(-2px);
}


.button-paw {
    font-size: 17px;
    filter: grayscale(1);
}


.bottom-note {
    margin-top: 25px;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;

    color: #b1b1b1;
}


/* =====================================
   СОБАКА И ДЕКОР СПРАВА
===================================== */

.content-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.content-decoration-one {
    top: -150px;
    right: -100px;

    width: 390px;
    height: 390px;

    background: #f2eee9;
}


.content-decoration-two {
    bottom: -170px;
    left: -130px;

    width: 400px;
    height: 400px;

    border: 1px solid #f0ece8;
}


.dog-illustration {
    position: absolute;
    bottom: -8px;
    left: 18px;
    z-index: 1;

    width: clamp(200px, 20vw, 280px);

    pointer-events: none;
}


/* =====================================
   АДАПТИВ
===================================== */

@media (max-width: 800px) {

    .sidebar {
        display: none;
    }


    .content {
        width: 100%;
        padding: 20px;
    }


    .content-inner {
        width: min(470px, 100%);

        padding: 28px 25px 24px;
    }
}


@media (max-width: 430px) {

    .content {
        padding: 14px;
    }


    .content-inner {
        padding: 23px 19px 20px;
        border-radius: 23px;
    }


    .content h2 {
        font-size: 28px;
    }


    .content .subtitle {
        font-size: 18px;
    }


    .content .description {
        margin-bottom: 25px;
        font-size: 15px;
    }


    .form-group label {
        font-size: 19px;
    }


    .form-group input {
        height: 48px;
        font-size: 16px;
    }


    .cat-icon {
        top: -41px;
        right: 14px;
        width: 90px;
    }


    .submit-btn {
        width: 100%;
        height: 49px;

        margin-top: 28px;

        font-size: 19px;
    }


    .bottom-note {
        margin-top: 18px;
        font-size: 13px;
    }


    .dog-illustration {
        width: 115px;
        opacity: 0.4;
    }
}


@media (max-height: 700px) and (min-width: 801px) {

    .sidebar {
        padding-top: 30px;
    }


    .sidebar-header h1 {
        font-size: 32px;
    }


    .sidebar-message {
        top: 40%;
    }


    .message-title {
        font-size: 30px;
    }


    .sidebar-bottom {
        bottom: 25px;
    }


    .content-inner {
        padding-top: 23px;
        padding-bottom: 20px;
    }


    .content .description {
        margin-bottom: 20px;
    }


    .form-group {
        margin-bottom: 14px;
    }


    .form-group input {
        height: 45px;
    }


    .submit-btn {
        height: 47px;
        margin-top: 23px;
    }


    .bottom-note {
        margin-top: 14px;
    }


    .dog-illustration {
        width: 130px;
    }
}