* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #f0f2f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 380px;
}

.title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 42px;
}

.qr-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.qr-submit {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color .2s;
}

.qr-submit:hover {
  background-color: #0056b3;
}

.qr-img {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.qr-img svg {
  width: 100%;
  height: auto;
  max-width: 250px;
  border: 2px solid #eee;
  border-radius: 5px;
  padding: 5px;
}

.failed-box {
  width: 100%;
  height: 150px;
  background-color: #fedddf;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.failed-message {
  color: #4a1b24;
  font-weight: 700;
  font-size: 1.5rem;
}