// EmailInputSection.js import React, { useState } from 'react'; import { Box, Button, TextField, Typography ,useTheme} from '@mui/material'; const EmailInputSection = ({ emailOrPhone, setEmailOrPhone }) => { const theme = useTheme(); const [currentSlide, setCurrentSlide] = useState(0); const slides = [0, 1, 2, 3]; const handleSend = () => { // عملية الإرسال }; const handleNext = () => { if (currentSlide < slides.length - 1) { setCurrentSlide(prev => prev + 1); } }; const handleBack = () => { if (currentSlide > 0) { setCurrentSlide(prev => prev - 1); } }; return ( <> Forget Password Enter your email to reset it and regain access to your account. Email/Phone setEmailOrPhone(e.target.value)} sx={{ '& input': { fontWeight: 500, fontSize: '15px' }, '& input::placeholder': { color: '#969BA7' }, '& .MuiOutlinedInput-root': { borderRadius: '10px', transition: '0.3s', '&.Mui-focused fieldset': { // أضف هذا الجزء لتغيير لون الحدود عند التركيز borderColor: '#FF914D', boxShadow: '0 0 0 2px rgba(255, 145, 77, 0.2)' // ظل برتقالي خفيف } }, '& .MuiOutlinedInput-root.Mui-focused': { borderColor: '#3f51b5', boxShadow: '0 0 0 2px rgba(63,81,181,0.1)' } }} /> {/* send */} By log in, I agree to the  Terms of Service and  Privacy Policy ); }; export default EmailInputSection;