@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #0072FF;
    --medium-primary-color: #f4faff;
    --light-primary-color: #dcecfc;
    --text-primary-color: #181818;
    --text-secondary-color: #333333;
    --text-third-color: #888888;

    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.4s ease;
    --tran-05: all 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Saira", sans-serif;
}

body {
    background: linear-gradient(90deg, var(--medium-primary-color), var(--primary-color));
    color: var(--text-secondary-color);

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    position: relative;
    width: 850px;
    height: 550px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.form-block{
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    color: var(--text-secondary-color);
    text-align: center;
    padding: 40px;
    z-index: 1;
}

form {
    width: 100%;
}

.container h1 {
    font-size: 36px;
    margin: -10px 0;
}

.input-box {
    position: relative;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    padding: 12px 12px;
    background-color: #e9e9e9;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-secondary-color);
    font-weight: 500;
}

.input-box input::placeholder {
    color: var(--text-third-color);
    font-weight: 400px;
}


.btn {
    width: 100%;
    height: 48px;
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-size: 16px;
    color: white;
    font-weight: 600;
    transition: var(--tran-03);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}

.toggle-box::before {
    content: '';
    position: absolute;
    left: -50%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 150px;
    z-index: 2;
}

.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.toggle-panel p {
    margin-bottom: 20px;
}

.toggle-panel .btn {
    width: 160px;
    height: 48px;
    background: transparent;
    border: 2px solid white;
    box-shadow: none;
}

.toggle-panel .btn:hover {
    background: white;
    color: var(--primary-color);
}