:root {
  --bg-primary: #0a0e14;
  --bg-card: #111318;
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.5);
  --accent-green: #10b981;
  --accent-cyan: #06b6d4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  padding: 1rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.back-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: 50%;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  margin-right: 40px;
}

.scanner-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
}

.scanner-frame {
  width: 280px;
  height: 280px;
  position: relative;
  margin-bottom: 2rem;
}

.scanner-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid var(--accent-orange);
}

.scanner-corner.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.scanner-corner.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.scanner-corner.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.scanner-corner.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.scanner-line {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  animation: scan 2s linear infinite;
}

@keyframes scan {
  0% {
    top: 10px;
  }

  50% {
    top: calc(100% - 12px);
  }

  100% {
    top: 10px;
  }
}

.scanner-placeholder {
  position: absolute;
  inset: 20px;
  background: rgba(13, 17, 23, 0.9) !important;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.scanner-text {
  text-align: center;
  margin-bottom: 2rem;
}

.scanner-text h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.scanner-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.scanner-actions {
  display: flex;
  gap: 1rem;
}

.scanner-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
}

.scanner-btn:hover {
  background: rgba(13, 17, 23, 0.9) !important;
  transform: translateY(-2px);
}

.scanner-btn svg {
  color: var(--accent-orange);
}

.scanner-btn span {
  font-size: 0.85rem;
}

.recent-section {
  width: 100%;
  max-width: 400px;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 1.5rem 1.5rem 0 0;
  margin-top: auto;
}

.recent-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recent-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
}

.recent-info {
  flex: 1;
}

.recent-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.recent-info p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--accent-green);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s;
  z-index: 100;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.inline-style-76b97300a3 {
  color: var(--accent-orange);
  font-size: 0.8rem;
  text-decoration: none;
}