﻿body {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.welcome-section {
    flex: 1;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Добавьте это */
}

.welcome-content {
    max-width: 100%;
    width: 100%; /* Добавьте это */
}

.welcome-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    width: 100%; /* Добавьте это */
}

.welcome-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
    width: 100%; /* Добавьте это */
}

.features {
    list-style: none;
    width: 100%; /* Добавьте это */
    padding: 0; /* Убедитесь, что нет лишних отступов */
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    width: 100%; /* Добавьте это */
}


.form-section {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #777;
}

    .divider:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 45%;
        height: 1px;
        background: #ddd;
    }

    .divider:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 0;
        width: 45%;
        height: 1px;
        background: #ddd;
    }

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: #555;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.switch-form {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .welcome-section, .form-section {
        padding: 30px;
    }
}
