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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: white;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  color: #1f2937;
}

.form-container {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #374151;
  text-align: center;
}

.form-input {
  padding: 1.25rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  min-height: 60px;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.btn {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 56px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #374151;
  margin-top: 2rem;
}

.btn-secondary:hover {
  background-color: #d1d5db;
}

.btn-secondary:active {
  background-color: #9ca3af;
}

.qr-container {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f9fafb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.qr-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.number-display {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.qr-code-box {
  padding: 1.5rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 450px;
}

#qr-code {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 250px;
}

#qr-code img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 반응형 디자인을 위한 미디어 쿼리 */
@media (max-width: 480px) {
  .qr-container {
    padding: 1rem;
  }

  .qr-code-box {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .qr-code-box {
    max-width: 500px;
  }

  #qr-code {
    min-height: 300px;
  }
}

.hidden {
  display: none;
}

/* Footer 스타일 */
.footer {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
}

.copyright {
  font-size: 0.85rem;
  color: #6b7280;
}
