@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Nunito", sans-serif;
    background: #fff8ec;
    color: #315c49;
}



.register-page {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    background:
        radial-gradient(
            circle at 5% 5%,
            #d9f3df 0,
            #d9f3df 100px,
            transparent 101px
        ),
        radial-gradient(
            circle at 95% 90%,
            #f7d5e0 0,
            #f7d5e0 100px,
            transparent 101px
        ),
        #fff8ec;
}



.register-card {
    width: 920px;
    height: 640px;

    display: grid;

    grid-template-columns: 42% 58%;

    overflow: hidden;

    background: #ffffff;

    border-radius: 32px;

    box-shadow:
        0 25px 70px rgba(49, 92, 73, 0.15);
}



.register-left {
    position: relative;

    overflow: hidden;

    background: #315c49;

    padding: 30px;
}

.register-left::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    left: -85px;
    top: -90px;

    border-radius: 50%;

    background: rgba(97, 201, 165, 0.22);
}

.register-left::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -180px;
    bottom: -190px;

    border-radius: 50%;

    background: #61c9a5;
}



.register-brand {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;

    gap: 10px;
}

.register-brand img {
    width: 44px;
    height: 44px;

    object-fit: contain;
}

.register-brand h2 {
    font-family: "Fredoka", sans-serif;

    color: #ffffff;

    font-size: 26px;

    line-height: 1;
}

.register-brand p {
    margin-top: 4px;

    color: #bde6d6;

    font-size: 10px;

    font-weight: 800;
}



.register-message {
    position: absolute;

    z-index: 5;

    left: 35px;
    bottom: 78px;

    width: 235px;
}

.register-message h1 {
    font-family: "Fredoka", sans-serif;

    color: #ffffff;

    font-size: 44px;

    line-height: 0.95;
}

.register-message h1 span {
    display: block;

    color: #61c9a5;
}

.register-message p {
    width: 215px;

    margin-top: 17px;

    color: #e3f5ed;

    font-size: 12px;

    line-height: 1.6;
}



.register-rabbit {
    position: absolute;

    z-index: 7;

    width: 165px;

    right: 0;
    bottom: 0;

    pointer-events: none;
}



.register-right {
    display: flex;

    align-items: center;

    padding: 32px 45px;

    background: #ffffff;
}

.register-form {
    width: 100%;

    max-width: 470px;

    margin: auto;
}



.register-badge {
    display: inline-block;

    padding: 7px 16px;

    margin-bottom: 13px;

    border-radius: 30px;

    background: #d9f3df;

    color: #315c49;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}



.register-form h1 {
    font-family: "Fredoka", sans-serif;

    color: #315c49;

    font-size: 43px;

    line-height: 1;

    margin-bottom: 6px;
}

.register-subtitle {
    color: #71857d;

    font-size: 14px;

    margin-bottom: 19px;
}



.register-error {
    padding: 9px 12px;

    margin-bottom: 12px;

    border-radius: 10px;

    background: #fde5e5;

    color: #a14c4c;

    font-size: 11px;

    font-weight: 700;
}



.register-row {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    gap: 14px;
}



.register-field {
    margin-bottom: 11px;
}

.register-field label {
    display: block;

    margin-bottom: 5px;

    color: #315c49;

    font-size: 11px;

    font-weight: 800;
}

.register-field input {
    width: 100%;

    height: 44px;

    padding: 0 14px;

    border: 2px solid #dfebe5;

    border-radius: 13px;

    outline: none;

    background: #fffdf9;

    color: #315c49;

    font-family: "Nunito", sans-serif;

    font-size: 13px;

    transition: 0.2s;
}

.register-field input:focus {
    border-color: #61c9a5;

    box-shadow:
        0 0 0 4px rgba(97, 201, 165, 0.10);
}

.register-field input::placeholder {
    color: #a4b8b0;
}



.register-field small {
    display: block;

    margin-top: 3px;

    color: #8c9d96;

    font-size: 9px;
}



.register-submit {
    width: 100%;

    height: 49px;

    margin-top: 4px;

    border: none;

    border-radius: 28px;

    background: #61c9a5;

    color: #ffffff;

    font-family: "Nunito", sans-serif;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}

.register-submit:hover {
    background: #4fb591;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(97, 201, 165, 0.22);
}



.register-bottom {
    margin-top: 14px;

    text-align: center;

    color: #84968f;

    font-size: 11px;
}

.register-bottom a {
    color: #315c49;

    font-weight: 800;

    text-decoration: none;
}

.register-bottom a:hover {
    color: #61c9a5;
}

.register-bottom .back-home {
    display: block;

    margin-top: 7px;

    color: #879991;

    font-size: 10px;
}



@media (max-height: 750px) and (min-width: 901px) {

    .register-page {
        padding: 15px;
    }

    .register-card {
        height: 600px;
    }

    .register-right {
        padding: 25px 40px;
    }

    .register-message {
        bottom: 60px;
    }

    .register-rabbit {
        width: 145px;
    }

    .register-field {
        margin-bottom: 8px;
    }

    .register-field input {
        height: 41px;
    }

    .register-submit {
        height: 45px;
    }
}



@media (max-width: 900px) {

    .register-card {
        width: 650px;

        height: auto;

        grid-template-columns: 1fr;
    }

    .register-left {
        height: 280px;
    }

    .register-message {
        left: 30px;
        bottom: 35px;
    }

    .register-rabbit {
        width: 135px;
    }

    .register-right {
        padding: 35px;
    }
}



@media (max-width: 600px) {

    .register-page {
        padding: 10px;
    }

    .register-card {
        width: 100%;

        border-radius: 24px;
    }

    .register-left {
        height: 260px;

        padding: 22px;
    }

    .register-message {
        left: 22px;
        bottom: 28px;
    }

    .register-message h1 {
        font-size: 36px;
    }

    .register-rabbit {
        width: 115px;
    }

    .register-right {
        padding: 30px 22px;
    }

    .register-form h1 {
        font-size: 38px;
    }

    .register-row {
        grid-template-columns: 1fr;
    }
}