*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-mark {
  display: inline-block;
  background: #1a3a6b;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

h1 {
  color: #1a3a6b;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.subtitle {
  color: #666;
  font-size: 0.85rem;
}

label {
  display: block;
  font-size: 0.875rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.2s;
  margin-bottom: 0.75rem;
}

input[type="text"]:focus {
  outline: none;
  border-color: #1a3a6b;
  box-shadow: 0 0 0 3px rgba(26, 58, 107, 0.12);
}

button[type="submit"] {
  width: 100%;
  padding: 0.75rem;
  background: #1a3a6b;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.25rem;
}

button[type="submit"]:hover:not(:disabled) {
  background: #14305a;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.error-msg {
  color: #c0392b;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  padding: 0.4rem 0.6rem;
  background: #fdf0ef;
  border-radius: 4px;
  border-left: 3px solid #c0392b;
}

.delivery-hint {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

#otp {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.4em;
  font-weight: bold;
}

.secondary-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.link-btn {
  background: none;
  border: none;
  color: #1a3a6b;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.link-btn:hover:not(:disabled) {
  color: #14305a;
}

.link-btn:disabled {
  color: #999;
  cursor: not-allowed;
  text-decoration: none;
}

.footer-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
}
