
.scan-icon-large {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.scan-placeholder p {
  font-size: 14px;
  color: var(--text-secondary);
}

.scan-page {
  background: #000;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: calc(24px + var(--app-safe-area-top, 0px));
  padding-bottom: calc(var(--nav-item-size, 70px) + 12px);
  box-sizing: border-box;
}

.scan-container {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 12px;
}

.scan-frame {
  width: 280px;
  height: 280px;
  border: 2px solid rgba(78, 205, 196, 0.3);
  border-radius: 12px;
  position: relative;
  background: rgba(78, 205, 196, 0.05);
  overflow: hidden;
}

.scan-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid #4ecdc4;
}

.scan-corner.top-left {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
  border-radius: 8px 0 0 0;
}

.scan-corner.top-right {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
  border-radius: 0 8px 0 0;
}

.scan-corner.bottom-left {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 8px;
}

.scan-corner.bottom-right {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
  border-radius: 0 0 8px 0;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
  animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
  0% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0.5;
  }
}

.scan-tip {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 24px;
}

.scan-actions {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 16px 0 0;
  flex: 0 0 auto;
  margin-top: auto;
}

.scan-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 12px;
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.scan-btn svg {
  width: 40px;
  height: 40px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.scan-btn span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.scan-btn.active svg,
.scan-btn:active svg {
  opacity: 1;
}

.scan-btn.active span,
.scan-btn:active span {
  color: #4ecdc4;
}

.scan-btn:active {
  transform: scale(0.95);
}

.scan-page {
  height: 100dvh;
  padding-top: calc(24px + var(--app-safe-area-top));
  padding-bottom: calc(var(--nav-item-size, 70px) + 12px);
}

.page-content.scan-page {
  min-height: 0;
  height: 100dvh;
  padding-bottom: calc(var(--nav-item-size, 70px) + 12px);
}
