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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #0f0f0f;
}

.container {
    position: relative;
    width: 850px;
    height: 550px;
    background: #1a1a1a;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 77, 0, .3);
}

.form-box {
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .8s ease-in-out;
}

.login {
    left: 0;
}

.register {
    right: -50%;
}

.container.active .login {
    left: -50%;
}

.container.active .register {
    right: 0;
}

form {
    width: 80%;
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

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

.input-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    outline: none;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 50px;
    background: #ff4d00;
    color: white;
    cursor: pointer;
    transition: .4s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #ff4d00;
}

.toggle-box {
    position: absolute;
    width: 50%;
    height: 100%;
    right: 0;
    background: linear-gradient(135deg, #0702f8, #ff7b00);
    transition: .8s ease-in-out;
}

.container.active .toggle-box {
    right: 50%;
}

.toggle-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;
}

.toggle-right {
    display: none;
}

.container.active .toggle-left {
    display: none;
}

.container.active .toggle-right {
    display: flex;
}

footer {
    text-align: center;
    padding: 20px;
    background: #000;
}