/* Common styles */ body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: linear-gradient(135deg, #ffeeee 25%, #dce2ff 75%); background-attachment: fixed; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; } h1 { color: #333; margin: 20px 0; font-size: 24px; text-align: center; } form { background-color: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); width: 350px; display: flex; flex-direction: column; align-items: center; } form div { margin-bottom: 20px; width: 100%; } label { margin-bottom: 5px; color: #555; font-size: 14px; } input[type="text"], input[type="password"] { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; font-size: 16px; } button { padding: 12px; background-color: #007BFF; color: #fff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, transform 0.2s; font-size: 16px; width: 100%; } button:hover { background-color: #0056b3; transform: scale(1.02); } .error { color: red; margin-bottom: 15px; font-size: 14px; text-align: center; }