body { font-family: 'Roboto', sans-serif; background-color: #f5f7fa; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; flex-direction: column; position: relative; overflow-x: hidden; overflow-y: auto; } .container { background-color: white; padding: 40px; border-radius: 22px; max-width: 865px; width: 100%; display: flex; flex-direction: column; min-height: 450px; margin-top: 20px; margin-left: -30px; margin-bottom: 30px; } /* Targeting Step 1's container specifically */ #step1.container { height: 450px !important; /* Let the height adjust to content */ max-height: 280px !important; /* Limit the maximum height */ padding: 50px !important; /* Adjust padding to shrink the space */ overflow: hidden !important; /* Hide overflow if content exceeds height */ box-sizing: border-box !important; /* Ensure padding is inside the box model */ } .title { font-size: 42px; margin-bottom: 10px; align-self: flex-start; margin-top: 110px; } /* Target only the email input field in step 1 */ #step1 #email { margin-left: -20px !important; /* Move the email input to the left */ width: calc(100% - 20px) !important; /* Ensure the email input fits inside the container */ } /* Target the email input fields in steps 2, 3, and 4 */ #email2, #email3, #email4 { text-indent: 40px !important; /* Indent the text to the right */ } /* General container adjustments */ .container#form-container { background-color: white !important; padding: 10px !important; /* Reduced padding */ border-radius: 22px !important; max-width: 865px !important; /* Width for computer view */ min-height: 400px !important; /* Reduce height */ margin-top: 20px !important; margin-left: -30px !important; margin-bottom: 30px !important; } /* Adjust the form-group in step 2 */ #step2 .form-group { margin-top: 80px !important; /* Move step 2 form-group upwards */ } /* Adjust the form-group in step 3 */ #step3 .form-group { margin-top: 50px !important; /* Move step 4 form-group upwards */ } /* Adjust the form-group in step 4 */ #step4 .form-group { margin-top: 150px !important; /* Move step 4 form-group upwards */ } /* Email column in step 2 onwards */ #email2, #email3, #email4 { width: 60% !important; /* Reduce width for email fields */ padding: 10px !important; /* Adjust padding */ margin-bottom: 10px !important; } /* If needed, make adjustments to the parent container */ .email-container input[type="email"] { width: 70% !important; /* Apply width to all email containers */ padding: 10px !important; /* Adjust padding */ } .form-row { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; } .form-group { display: flex; flex-direction: column; width: 45%; margin-top: 140px; position: relative; } .form-group input[type="text"], .form-group input[type="password"] { padding: 15px; border: 1px solid #ccc; border-radius: 50px; width: 100%; box-sizing: border-box; padding-left: 40px; margin-bottom: 10px; } .form-group .icon { position: absolute; left: 10px; top: 10px; color: #888; margin-top: 25px; } .form-group .show-password { display: flex; align-items: center; margin-top: 10px; } .form-group .show-password input { margin-left: 0; } .form-group .show-password label { margin-left: 5px; } .btn { background-color: #007bff; color: white; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-size: 16px; margin-top: 20px; align-self: flex-end; } .btn:hover { background-color: #0056b3; } .language-select { font-size: 14px; margin-top: 10px; align-self: flex-start; position: absolute; left: 190px; top: 103%; } .footer-links { display: flex; justify-content: space-between; width: 100%; margin-top: 20px; font-size: 14px; position: absolute; bottom: 15px; left: 950px; } .footer-links a { color: #fff; text-decoration: none; } .footer-links a:hover { text-decoration: underline; } .footer-links-right { display: flex; justify-content: flex-end; gap: 15px; } .footer-links-right a { color: #007bff; text-decoration: none; } .footer-links-right a:hover { text-decoration: underline; } .error-message { color: red; margin-bottom: 10px; } .hidden { display: none; } .thank-you-message { color: green; display: none; margin-top: 20px; text-align: center; font-size: 24px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } /* Placeholder behavior for input fields */ .input-container input:focus + label, .input-container input:not(:placeholder-shown) + label { top: -10px; left: 15px; font-size: 12px; color: #1a73e8; background-color: white; padding: 0 5px; } .input-container label { position: absolute; top: 15px; left: 15px; font-size: 14px; color: #666; pointer-events: none; transition: all 0.2s ease; } .left-section { max-width: 300px; text-align: left; } .left-section img { width: 50px; position: sticky; top: 0; z-index: 1000000; margin-bottom: 20px; } .left-section h3 { font-size: 32px; margin: 0; margin-top: 10px; padding-bottom: 10px; } .left-section p { color: #555; margin: 5px 0; margin-bottom: 10px; } .right-section { max-width: 450px; text-align: left; } .input-container { position: relative; margin-bottom: 10px; margin-top: 30px; } .input-container input { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 4px; margin-right: 100px; margin-top: 40px; font-size: 14px; } .input-container input::placeholder { color: transparent; } .input-container input:focus::placeholder { color: #1a73e8; } .links { margin-bottom: 20px; } .forgot-email { display: block; color: #1a73e8; text-decoration: none; font-size: 14px; margin-bottom: 50px; } .forgot-email:hover { text-decoration: underline; } .not-your-account { margin: 0; color: #333; font-size: 14px; } .learn-link { display: block; color: #1a73e8; text-decoration: none; font-size: 14px; margin-top: 5px; } .learn-link:hover { text-decoration: underline; } .right-section .btn-container { text-align: right; margin-top: 10px; display: flex; align-items: center; justify-content: flex-end; } .right-section .btn-container button { background-color: #1a73e8; color: white; padding: 10px 20px; border: none; border-radius: 25px; cursor: pointer; font-size: 14px; margin-right: 10px; } .right-section .btn-container button:hover { background-color: #1669c1; } .text-beside-button { font-size: 14px; color: #666; padding: 10px; color: blue; } /* Step 2 and Step 3 password fields */ #step2 .form-group input[type="password"], #step3 .form-group input[type="password"] { border-radius: 10px; } body { font-family: 'Roboto', sans-serif; background-color: #f5f7fa; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; flex-direction: column; position: relative; overflow-x: hidden; overflow-y: auto; } .container { background-color: white; padding: 40px; border-radius: 22px; max-width: 865px; width: 100%; display: flex; flex-direction: column; min-height: 350px; margin-top: 35px; margin-left: -30px; margin-bottom: 50px; } .title { font-size: 42px; margin-bottom: 10px; align-self: flex-start; margin-top: 110px; } .form-row { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; } .form-group { display: flex; flex-direction: column; width: 45%; margin-top: 140px; position: relative; } .form-group input[type="text"], .form-group input[type="password"] { padding: 15px; border: 2px solid #ccc; border-radius: 50px; width: 100%; box-sizing: border-box; padding-left: 40px; margin-bottom: 10px; } .form-group .icon { position: absolute; left: 10px; top: 10px; color: #888; margin-top: 25px; } .form-group .show-password { display: flex; align-items: center; margin-top: 10px; } .form-group .show-password input { margin-left: 0; } .form-group .show-password label { margin-left: 5px; } .btn { background-color: #007bff; color: white; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-size: 16px; margin-top: 20px; align-self: flex-end; } .btn:hover { background-color: #0056b3; } .language-select { font-size: 14px; margin-top: 10px; align-self: flex-start; position: absolute; left: 205px; top: 93%; } .footer-links { display: flex; justify-content: space-between; width: 100%; margin-top: 20px; font-size: 14px; position: absolute; bottom: 15px; left: 1000px; } .footer-links a { color: #fff; text-decoration: none; } .footer-links a:hover { text-decoration: underline; } .footer-links-right { display: flex; justify-content: flex-end; gap: 15px; } .footer-links-right a { color: #007bff; text-decoration: none; } .footer-links-right a:hover { text-decoration: underline; } .error-message { color: red; margin-bottom: 10px; } .hidden { display: none; } .thank-you-message { color: green; display: none; margin-top: 20px; text-align: center; font-size: 24px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } /* Placeholder behavior for input fields */ .input-container input:focus + label, .input-container input:not(:placeholder-shown) + label { top: -10px; left: 10px; font-size: 12px; color: #1a73e8; background-color: white; padding: 0 5px; } .input-container label { position: absolute; top: 15px; left: 15px; font-size: 14px; color: #666; pointer-events: none; transition: all 0.2s ease; } .left-section { max-width: 300px; text-align: left; } .left-section img { width: 50px; position: sticky; top: 0; z-index: 1000000; margin-bottom: 10px; } .left-section h3 { font-size: 32px; margin: 0; margin-top: 90px; padding-bottom: 10px; } .left-section p { color: #555; margin: 5px 0; margin-bottom: 10px; } .right-section { max-width: 450px; text-align: left; } .input-container { position: relative; margin-bottom: 10px; margin-top: 40px; } .input-container input { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 4px; margin-right: 100px; margin-top: 50px; font-size: 14px; } .input-container input::placeholder { color: transparent; } .input-container input:focus::placeholder { color: #1a73e8; } .links { margin-bottom: 20px; } .forgot-email { display: block; color: #1a73e8; text-decoration: none; font-size: 14px; margin-bottom: 50px; } .forgot-email:hover { text-decoration: underline; } .not-your-account { margin: 10px; color: #333; font-size: 14px; } .not-your-account span { font-weight: bold; color: #1a73e8; } .learn-link { display: block; color: #1a73e8; text-decoration: none; font-size: 14px; margin-top: 5px; } .learn-link:hover { text-decoration: underline; } .right-section .btn-container { text-align: right; margin-top: 10px; display: flex; align-items: center; justify-content: flex-end; } .right-section .btn-container button { background-color: #1a73e8; color: white; padding: 10px 20px; border: none; border-radius: 25px; cursor: pointer; font-size: 14px; margin-right: 10px; } .right-section .btn-container button:hover { background-color: #1669c1; } .text-beside-button { font-size: 14px; color: #666; padding: 10px; color: blue; } /* Step 2 and Step 3 password fields */ #step2 .form-group input[type="password"], #step3 .form-group input[type="password"] { border-radius: 10px; } .form-group label { position: absolute; top: 35px; left: 35px; font-size: 16px; background-color: white; color: #999; pointer-events: none; transform: translateY(-50%); transition: all 0.2s ease-out; } .form-group input[type="text"]:focus + label, .form-group input[type="text"]:not(:placeholder-shown) + label { top: -10; font-size: 12px; color: #1a73e8; transform: translateY(-100%); background-color: white; padding: 0 5px; border-radius: 5px; } /* Spinner CSS */ .circle-loader { border: 5px solid rgba(0, 0, 0, 0.1); border-radius: 50%; border-top-color: #007bff; width: 50px; height: 50px; animation: spin 1s infinite linear; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); display: none; justify-content: center; align-items: center; } /* Media Queries for responsiveness */ @media only screen and (max-width: 768px) { .form-group .icon { top: 5px; font-size: 16px; } } @media only screen and (min-width: 769px) and (max-width: 1024px) { .form-group .icon { top: 10px; font-size: 18px; } } @media only screen and (min-width: 1025px) { .form-group .icon { top: 10px; font-size: 20px; } /* Spinner CSS */ .circle-loader { border: 5px solid rgba(0, 0, 0, 0.1); border-radius: 50%; border-top-color: #007bff; width: 50px; height: 50px; animation: spin 1s infinite linear; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.8); display: none; justify-content: center; align-items: center; } /* Media Queries for responsiveness */ @media only screen and (max-width: 768px) { .form-group .icon { top: 5px; font-size: 16px; } } @media only screen and (min-width: 769px) and (max-width: 1024px) { .form-group .icon { top: 10px; font-size: 18px; } } @media only screen and (min-width: 1025px) { .form-group .icon { top: 10px; font-size: 20px; } /* Placeholder for password */ .password-placeholder { top: 30px; /* Start position inside the input */ left: 50px; backgroung-color: white; font-size: 16px; color: #999; } /* Move password placeholder up when focused or when input has content */ input:focus + .password-placeholder, input:not(:placeholder-shown) + .password-placeholder { top: 10px; /* Moves the placeholder up */ left: 40px; backgroung-color: white; font-size: 12px; color: #1a73e8; /* Changes color to blue when focused */ } /* Placeholder for OTP */ .otp-placeholder { position: absolute; top: 40px; /* Start position inside the input */ left: -40px; font-size: 16px; color: #999; pointer-events: none; transition: all 0.3s ease; } /* Move OTP placeholder up when focused or when input has content */ input:focus + .otp-placeholder, input:not(:placeholder-shown) + .otp-placeholder { top: 5px; /* Moves the placeholder up */ left: 50px; font-size: 12px; color: red; /* Changes color to red when focused */ } /* Ensure the bottom border turns blue when focusing on either password or OTP */ input:focus { border-bottom-color: blue; } /* Ensure the bottom border turns blue when focusing on either password or OTP */ input:focus { border-color: blue; } /* Style for OTP input field */ input#otp { border-radius: 5px; /* Set border radius */ padding: 15px; /* Adjust padding if needed */ padding-left: 30px; /* Adjust padding if needed */ border: 2px solid blue; /* Border style */ outline: none; /* Remove default outline */ width: 100%; /* Ensure full width */ } /* Target the email icon specifically using its classes */ .fa.fa-user.icon { position: absolute; top: -10px; /* Move the icon up by adjusting the top value */ left: 20px; /* Adjust the left value if needed */ font-size: 16px; /* Adjust the size if necessary */ } /* Position the left text for Stage Three and Four */ .text-left { position: absolute; top: -20px; /* Adjust vertical position */ left: 10px; /* Adjust horizontal position */ font-size: 16px; color: black; } /* Position the right text for Stage Three and Four */ .text-right { position: absolute; top: 30px; /* Adjust vertical position */ right: 10px; /* Adjust horizontal position */ font-size: 16px; color: black; } /* Ensure the form group in Stage Three stays in place */ #stage-four .form-group { position: relative; z-index: 1; /* Keep it above the background text */ margin-top: 100px; /* Adjust margin as needed */ } .otp-icon { width: 20px; /* Adjust the width as needed */ height: 20px; /* Adjust the height as needed */ position: absolute; top: 15px; /* Adjust the vertical position */ left: 5px; /* Adjust the horizontal position */ } .email-icon { position: absolute; left: 15px; /* Adjust as needed */ top:20px; /* Center the image vertically */ transform: translateY(-50%); width: 20px; /* Adjust the size of the icon */ height: 20px; /* Adjust the size of the icon */ } .dash-icon { position: absolute; top: 15px; /* Adjust vertical position to align with the image */ left: 25px; /* Adjust horizontal position to appear after the image */ font-size: 16px; /* Size of the dash */ color: black; /* Color of the dash */ } /* When the input field is focused (clicked), the border and box shadow glow blue */ input[type="password"]:focus { border-color: #1a73e8; /* Blue border */ box-shadow: 0 0 5px rgba(26, 115, 232, 0.5); /* Blue glow */ outline: none; /* Removes default outline */ } /* When the input field is focused (clicked), the border and box shadow glow blue */ input[type="password"]:focus { border-color: #1a73e8; /* Blue border */ box-shadow: 0 0 5px rgba(26, 115, 232, 0.5); /* Blue glow */ outline: none; /* Removes default outline */ } /* When the input field is focused (clicked), the border and box shadow glow blue */ input[type="password"]:focus { border-color: #1a73e8; /* Blue border */ box-shadow: 0 0 5px rgba(26, 115, 232, 0.5); /* Blue glow */ outline: none; /* Removes default outline */ } /* For reconfirm password (Stage 3) */ #confirm-password { border-color: red; /* Permanent red border */ } #confirm-password { border: 2px solid red; /* Set width and color */ box-shadow: 0 0 1px red; /* Optional: Add a glowing red shadow */ } /* Style the label normally */ #confirm-password-label { position: absolute; top: 25px; /* Adjust based on your design */ left: 30px; /* Adjust based on your design */ font-size: 14px; color: #999; transition: all 0.3s ease; /* Smooth transition */ pointer-events: none; /* So the label is not clickable */ } /* Move the label up when the input field is focused or has content */ #confirm-password:focus + #confirm-password-label, #confirm-password:not(:placeholder-shown) + #confirm-password-label { top: 0px; /* Move the label up */ font-size: 12px; /* Adjust font size */ color: red; /* You can keep it red like the border or choose another color */ background-color: white; /* Optional: if you want the label to have a background */ padding: 0 5px; /* Optional: Add padding to match the input */ } .form-group .show-password { display: flex; align-items: center; margin-top: 10px; } .form-group .show-password input { margin-left: 10px; } .form-group .show-password label { margin-left: 5px; } .welcom { font-size: 42px; margin-bottom: 2px; align-self: flex-start; margin-top: 50px; display: none; } .unique-greeting { font-size: 18px; color: blue; margin-bottom: 10px; text-align: left; /* Aligns the text to the left inside the container */ } .hey-text { position: absolute; top: 0px; /* Adjust this value based on your layout */ left: 0px; /* Adjust this value to position it properly */ font-size: 42px; color: black; bacground-color: transparent; padding: 0px; z-index: 1000; visibility: visible; } /* When Step 2 is visible, show the text */ #step2:not(.hidden) .welcom { display: block; } .form-row { position: relative; }