body { font-family: 'Roboto', sans-serif; background-color: #f4f7fa; margin: 0; } .form-container { max-width: 600px; margin: auto; margin-top: 6rem; background-color: #ffffff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } .progress-container { width: 100%; height: 10px; background-color: #e9ecef; margin-bottom: 20px; border-radius: 5px; overflow: hidden; } .progress-bar { height: 100%; width: 0; background-color: #007bff; transition: width 0.3s ease; } h2 { text-align: center; color: #333; margin-bottom: 20px; } .step { display: none; } .step.active { display: block; } input[type="text"], input[type="email"], input[type="number"], select { width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; transition: border-color 0.3s; } input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, select:focus { border-color: #007bff; outline: none; } input[type="radio"], input[type="checkbox"] { margin-right: 5px; } .button-container { display: flex; justify-content: space-between; margin-top: 20px; } .button-container button { background-color: #007bff; color: white; border: none; padding: 12px 20px; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, transform 0.2s; font-size: 16px; } .button-container button:hover { background-color: #0056b3; transform: translateY(-1px); } #successMessage { display: none; text-align: center; margin-top: 20px; padding: 20px; background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-radius: 5px; } .step-indicator { display: flex; justify-content: space-between; margin-bottom: 20px; } .step-indicator div { width: 100%; text-align: center; padding: 10px; border-radius: 5px; background-color: #e9ecef; color: #6c757d; } .step-indicator .active { background-color: #007bff; color: white; } @media (max-width: 600px) { .button-container { flex-direction: column; } .button-container button { margin-bottom: 10px; width: 100%; } }