:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4bb543;
    --error-color: #ff3333;
}

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

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

.login-container {
    display: flex;
    width: 900px;
    height: 600px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.login-card {
    width: 50%;
    padding: 50px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.decoration-side {
    width: 50%;
    background: linear-gradient(135deg, #4361ee, #3f37c9);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.welcome-message {
    z-index: 1;
    padding: 30px;
    text-align: center;
}

.welcome-message h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.welcome-message p {
    font-size: 16px;
    opacity: 0.9;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.welcome-text {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.subtext {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

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

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.input-icon {
    position: absolute;
    left: 15px;
    bottom: 12px;
    color: #6c757d;
    font-size: 16px;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.login-btn:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.additional-options {
    margin-top: 20px;
    text-align: center;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        height: auto;
    }
    
    .login-card, .decoration-side {
        width: 100%;
    }
    
    .decoration-side {
        padding: 30px;
        height: 200px;
    }
    
    .login-card {
        padding: 30px;
    }
}