:root {
    --primary-color: #4CAF50; /* Основной зеленый */
    --secondary-color: #388E3C; /* Темно-зеленый */
    --accent-color: #8BC34A; /* Светло-зеленый */
    --success-color: #689F38; /* Зеленый успеха */
    --success-hover: #558B2F; /* Темнее при наведении */
    --light-bg: #E8F5E9; /* Светло-зеленый фон */
    --text-color: #1B5E20; /* Темно-зеленый текст */
    --text-light: #7CB342; /* Светло-зеленый текст */
    --error-color: #E53935; /* Красный для ошибок */
}

.section-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
    background: rgba(248, 249, 250, 0.98);
}

.login-div {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.15); /* Зеленая тень */
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.screen__content {
    padding: 40px;
}

.screen__content > p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.screen__content > p::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 15px auto 0;
    border-radius: 2px;
}

.login__form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.login__field {
    display: flex;
    align-items: center;
    background-color: var(--light-bg);
    border-radius: 12px;
    padding: 5px 15px;
    border: 1px solid #C8E6C9; /* Светло-зеленая граница */
    transition: all 0.3s ease;
}

.login__field:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); /* Зеленая подсветка */
}

.login__icon {
    color: var(--text-light);
    font-size: 1rem;
    min-width: 20px;
}

.login__input {
    flex: 1;
    background: none;
    border: none;
    padding: 15px 10px;
    font-size: 16px;
    color: var(--text-color);
}

.login__input:focus {
    outline: none;
    box-shadow: none;
}

.login__submit {
    background: linear-gradient(209.03deg, var(--success-color) -9.83%, var(--success-hover) 93.22%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(104, 159, 56, 0.3); /* Зеленая тень */
    margin-top: 10px;
}

.login__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(104, 159, 56, 0.4); /* Усиленная зеленая тень */
}

.login__footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.login__footer a {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
}

.login__footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login h3 {
    color: var(--error-color);
    font-size: 15px;
    font-weight: 500;
    padding: 10px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 8px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .screen__content {
        padding: 30px 20px;
    }

    .screen__content > p {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}