.left-side .logo { width: 100%; max-width: 300px; /* Adjustable maximum size */ height: auto; } /* Responsive adjustments for smaller screens */ @media (max-width: 768px) { .left-side .logo { max-width: 300px; /* Reduce size on smaller screens */ } } @media (max-width: 480px) { .left-side .logo { max-width: 150px; /* Further reduce size for very small screens */ } } /* General styles */ body { margin: 0; font-family: Arial, sans-serif; display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #f4f4f4; } .container { display: flex; flex-direction: row; align-items: center; justify-content: center; width: 100%; max-width: 1200px; padding: 20px; box-sizing: border-box; } .left-side { background-color: #fff; flex: 1; max-width: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 2px solid #ccc; padding: 20px; box-sizing: border-box; } .left-side .logo { max-width: 100%; height: auto; margin-top: 10px; } .password-reset-container { flex: 1; max-width: 400px; width: 100%; padding: 20px; background-color: #f9f9f9; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; box-sizing: border-box; } .password-reset-container h2 { font-size: 1.8em; color: #333; margin-bottom: 20px; } .form-group { margin-bottom: 15px; text-align: left; width: 100%; } .form-group label { display: block; font-size: 0.9rem; color: #555; margin-bottom: 5px; } .form-group input { width: 100%; padding: 10px; font-size: 1rem; border: 1px solid #ccc; border-radius: 5px; background-color: #fff; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); box-sizing: border-box; } .form-group input:focus { border-color: #007bff; box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); outline: none; } .form-actions { width: 100%; margin-top: 20px; } .form-actions button { width: 100%; padding: 10px; font-size: 1rem; font-weight: bold; color: #fff; background-color: #007bff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; box-sizing: border-box; } .form-actions button:hover { background-color: #0056b3; } /* Responsive design */ @media (max-width: 768px) { .container { flex-direction: column; max-width: 100%; } .left-side { border-right: none; border-bottom: 2px solid #ccc; } .left-side .logo { max-width: 150px; } .password-reset-container { margin: 20px 0; max-width: 100%; padding: 15px; } }