* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: linear-gradient(135deg, #6e8efb, #a777e3); min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 20px; } .container { background: rgba(255, 255, 255, 0.95); border-radius: 15px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); width: 100%; max-width: 550px; overflow: hidden; position: relative; } .form-container { padding: 30px; transition: transform 0.6s ease-in-out; } h2 { text-align: center; color: #333; margin-bottom: 25px; font-size: 28px; } .form-group { margin-bottom: 20px; position: relative; } .form-group { margin-bottom: 15px; } .input-container { position: relative; display: flex; align-items: center; } .input-container i { position: absolute; left: 12px; color: #ccc; font-size: 14px; } .input-container input, .input-container select { width: 100%; padding: 10px 12px 10px 35px; /* left padding for icon */ border: 1px solid #ddd; border-radius: 6px; outline: none; background: rgba(255, 255, 255, 0.1); color: #fff; } .password-container .toggle-password { position: absolute; right: 12px; cursor: pointer; color: #ccc; } label { display: block; margin-bottom: 8px; font-weight: 600; color: #444; } input, select { width: 100%; padding: 14px; border: 2px solid #ddd; border-radius: 8px; font-size: 16px; transition: border 0.3s; } input:focus, select:focus { border-color: #6e8efb; outline: none; } .password-row { display: flex; gap: 15px; } .password-column { flex: 1; } .password-container { position: relative; } .toggle-password { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #777; } .error-message { color: #e74c3c; font-size: 14px; margin-top: 5px; min-height: 20px; } .btn { width: 100%; padding: 14px; background: linear-gradient(135deg, #6e8efb, #a777e3); border: none; border-radius: 8px; color: white; font-size: 18px; font-weight: 600; cursor: pointer; transition: all 0.3s; } .btn:hover { background: linear-gradient(135deg, #5d7ce0, #9666d3); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .switch-form { text-align: center; margin-top: 20px; color: #555; } .switch-form a { color: #6e8efb; text-decoration: none; font-weight: 600; cursor: pointer; transition: color 0.3s; } .switch-form a:hover { color: #a777e3; text-decoration: underline; } .success-message { background: linear-gradient(135deg, #6e8efb, #a777e3); color: white; padding: 20px; text-align: center; border-radius: 10px; margin-bottom: 20px; display: none; } .success-message i { font-size: 48px; margin-bottom: 10px; } @media (max-width: 576px) { .container { border-radius: 10px; } .form-container { padding: 20px; } .password-row { flex-direction: column; gap: 0; } }