/* ================= RESET ================= */ * { margin: 0; padding: 0; box-sizing: border-box; } /* ================= BODY ================= */ body { font-family: "Segoe UI", Arial, sans-serif; background: #eef2f6; min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 15px; } /* ================= LOGIN CARD ================= */ .login-container { background: #ffffff; width: 100%; max-width: 420px; padding: 28px; border-radius: 14px; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); } /* ================= MAIN HEADING ================= */ .title { color: #007bff; font-size: 20px; font-weight: 700; white-space: nowrap; /* keep single line */ overflow: hidden; text-overflow: ellipsis; margin-bottom: 6px; } /* ================= SUB HEADING ================= */ .sub-title { font-size: 14px; font-weight: 600; color: #444; white-space: nowrap; /* keep single line */ overflow: hidden; text-overflow: ellipsis; margin-bottom: 14px; } /* ================= LOGIN TEXT ================= */ .subtitle { font-size: 14px; color: #555; margin-bottom: 22px; letter-spacing: 1px; } /* ================= FLASH MESSAGE ================= */ .flash { color: #d9534f; font-size: 14px; margin-bottom: 12px; } /* ================= INPUTS ================= */ input[type="text"], input[type="password"] { width: 100%; padding: 12px 14px; margin-bottom: 16px; border: 1px solid #ccc; border-radius: 8px; font-size: 15px; outline: none; } input:focus { border-color: #007bff; } /* ================= BUTTON ================= */ button { width: 100%; padding: 12px; background: #007bff; color: #ffffff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; } button:hover { background: #0056b3; } /* ================= MOBILE DEVICES ================= */ @media (max-width: 480px) { .login-container { padding: 22px; } .title { font-size: 17px; } .sub-title { font-size: 13px; } .subtitle { font-size: 13px; } input { font-size: 14px; } button { font-size: 15px; } } /* ================= TABLETS ================= */ @media (min-width: 481px) and (max-width: 768px) { .title { font-size: 19px; } .sub-title { font-size: 14px; } } /* ================= LARGE SCREENS ================= */ @media (min-width: 1200px) { .login-container { max-width: 460px; } .title { font-size: 22px; } .sub-title { font-size: 15px; } }