body {
  min-height: 100vh;
  background: #fff;
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-card h2 {
  color: #174fc2;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.login-card input[type="email"],
.login-card input[type="password"] {
  padding: 0.75rem;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s;
}

.login-card input:focus {
  border: 1.5px solid #174fc2;
}

.login-card button[type="submit"] {
  background: #174fc2;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.login-card button[type="submit"]:hover {
  background: #123c8d;
}

.register-text {
  font-size: 0.98rem;
  color: #333;
  text-align: center;
}

.register-text a {
  color: #174fc2;
  text-decoration: underline;
  font-weight: 500;
}

.chat-btn {
  position: fixed;
  right: 1.2rem;
  bottom: 1.5rem;
  background: #174fc2;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(23,79,194,0.15);
  cursor: pointer;
  z-index: 100;
}

.chat-icon {
  color: #fff;
  font-size: 1.8rem;
}

.badge {
  position: absolute;
  top: 10px;
  right: 9px;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: 2px solid #fff;
}

@media (max-width: 400px) {
  .login-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
}