* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.auth-container {
    display: flex;
    width: 900px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-forms {
    width: 50%;
    padding: 40px;
}

.auth-welcome {
    width: 50%;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #444;
}

.form-header p {
    color: #777;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.input-group label i {
    margin-left: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #a777e3;
    box-shadow: 0 0 0 3px rgba(167, 119, 227, 0.2);
    outline: none;
}

.toggle-password {
    position: absolute;
    left: 15px;
    top: 38px;
    cursor: pointer;
    color: #777;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-left: 8px;
}

.forgot-password {
    color: #a777e3;
    text-decoration: none;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

.form-footer a {
    color: #a777e3;
    text-decoration: none;
    font-weight: 500;
}

.terms {
    margin: 20px 0;
    font-size: 13px;
}

.terms a {
    color: #a777e3;
    text-decoration: none;
}

.welcome-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.welcome-content p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.features {
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature i {
    font-size: 20px;
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        width: 100%;
        max-width: 500px;
    }
    
    .auth-forms, .auth-welcome {
        width: 100%;
    }
    
    .auth-welcome {
        padding: 40px 30px;
        order: -1;
    }
}