* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.form-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.form-box {
    background: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.button-box {
    width: 300px;
    margin: 0 auto 50px;
    position: relative;
    border-radius: 30px;
    background: #f0f0f0;
}

.toggle-btn {
    padding: 15px 40px;
    cursor: pointer;
    background: transparent;
    border: 0;
    outline: none;
    position: relative;
    font-size: 16px;
    font-weight: 500;
}

#btn {
    top: 0;
    left: 0;
    position: absolute;
    width: 150px;
    height: 100%;
    background: #667eea;
    border-radius: 30px;
    transition: .5s;
}

.input-group {
    position: absolute;
    width: 400px;
    transition: .5s;
    top: 100px;
    opacity: 0;
    pointer-events: none;
}

.input-group.active {
    opacity: 1;
    pointer-events: all;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.input-field {
    width: 100%;
    padding: 15px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    background: #f9f9f9;
    font-size: 16px;
}

.input-field:focus {
    border-color: #667eea;
    background: white;
}

.checkbox-field {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.checkbox-field label {
    margin-left: 10px;
    color: #777;
    font-size: 14px;
}

.check-box {
    margin: 0;
    transform: scale(1.2);
}

span {
    color: #777;
    font-size: 14px;
}

.submit-btn {
    width: 85%;
    padding: 15px 30px;
    cursor: pointer;
    margin: 20px auto;
    background: #667eea;
    border: 0;
    outline: none;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    display: block;
    font-size: 16px;
}

.submit-btn:hover {
    background: #764ba2;
}

#login {
    left: 50px;
    opacity: 1;
    pointer-events: all;
}

#register {
    left: 450px;
} 