/* 赛纷AI防伪认证界面样式 */

.auth-container {
  background: #488af6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    sans-serif;
}

.video-box {
  padding: 10px 22px 0;
  background-color: #488af6;
}

.video-container {
  margin-top: 40px;
}

.auth-header {
  width: 100%;
}

.auth-title {
  font-size: 16px;
  color: #fff;
}

.auth-subtitle {
  font-size: 20px;
  color: #fff;
  text-align: center;
}

#switchingText {
  display: inline-block;
  min-width: 80px;
}

.video-container {
  background-color: #fff;
  padding: 6px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

.auth-video {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.auth-tips {
  font-size: 16px;
  padding: 0 15px;
  color: #000;
}

.auth-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-left: 60px;
  margin-bottom: 140px;
}

.auth-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.auth-button {
  width: 78px;
  height: 78px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  transition: transform 0.2s ease;
}

.auth-button:hover {
  transform: scale(1.1);
}

.auth-button img {
  width: 40px;
  height: 40px;
}

.auto-scan-button .auth-button {
  margin-top: 13px;
  width: 60px;
  height: 60px;
}

.auto-scan-button img {
  height: 20px;
}

.auth-notification-dot {
  position: absolute;
  top: 5px;
  right: -5px;
  width: 15px;
  height: 15px;
  background: #ff4444;
  border-radius: 50%;
  color: #fff;
  text-align: left;
  display: flex;
  align-items: center;
  padding: 2px;
}

.auth-notification-dot span {
  color: #e6e6e6;
  font-weight: bold;
  font-size: 8px;
}

.auth-button-label {
  font-size: 10px;
  line-height: 10px;
  color: #e6e6e6;
}

.auth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 500px;
  font-size: 14px;
  color: #000;
  padding: 8px;
  box-sizing: border-box;
}

.auth-bottom-text {
  font-size: 12px;
  color: #999;
  margin-top: 16px;
  text-align: center;
}

.auth-bottom-link {
  color: #cc3366;
  text-decoration: none;
}

/* 拍照按钮效果增强 */
#cameraButton {
  transition: all 0.3s ease;
}

#cameraButton:hover {
  transform: scale(1.05);
}

#cameraButton:active {
  transform: scale(0.95);
}

/* 隐藏文件输入元素 */
#hiddenCameraInput {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

.upload-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 200px;
}

.upload-box img {
  width: 60%;
  height: auto;
  margin: 20px auto 0;
}

.upload-box-text p {
  text-align: center;
}

.auth-result {
  width: 100%;
  height: auto;
  background-color: #151017;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0px solid #151017;
  position: relative;
  box-sizing: border-box;
}

.auth-result .result-img {
  width: 65%;
  height: auto;
  margin: 40px auto 20px;
}

.auth-result .check {
  position: absolute;
  bottom: 15px;
  right: 9px;
}

.result-item {
  width: 100%;
  background-color: #fff;
  padding: 4px 0;
  margin-top: 8px;
}

.result-item p {
  margin: 0 8px;
}

.button-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 150px;
}

.button-item .btn {
  margin: 4px 0;
  padding: 10px 20px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 6px;
  border: 1px solid #eee;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4);
}
