/* Стили для формы логина */
.login-section {
    padding: 6rem 1rem;
    background: #F9FAFB;
    min-height: calc(100vh - 6rem);
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease-in;
}

.login-container h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1F2937;
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #1F2937;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #009369;
    box-shadow: 0 0 5px rgba(0, 147, 105, 0.3);
    outline: none;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background: #4285F4;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.login-button:hover {
    background: #006b4d;
    transform: translateY(-2px);
}

.google-button {
    background: #4285F4;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-button:hover {
    background: #357ae8;
}

.google-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.signup-link a {
    color: #4285F4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #4285F4;
    text-decoration: underline;
}

.message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-align: center;
}

.message.error {
    background: #FEE2E2;
    color: #EF4444;
}

.message.success {
    background: #DCFCE7;
    color: #15803D;
}

/* Адаптивность */
@media (max-width: 640px) {
    .login-section {
        padding: 4rem 0.75rem;
    }

    .login-container {
        padding: 1.5rem;
        max-width: 100%;
    }

    .login-container h2 {
        font-size: 1.5rem;
    }

    .form-group label {
        font-size: 0.75rem;
    }

    .form-group input {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .login-button {
        padding: 0.5rem;
        font-size: 0.875rem;
    }

    .google-icon {
        width: 16px;
        height: 16px;
    }

    .signup-link {
        font-size: 0.75rem;
    }

    .message {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}

/* Анимация */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}