@import '../style/common_mixin.css';


.model-content {
  width: 100%;
  height: 100%;

}
.play-pause-button {
  background-color: #4CAF50; /* 绿色背景 */
  border: none;
  color: white; /* 白色文字 */
  padding: 5px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  margin: 10px 20px;
  cursor: pointer;
  border-radius: 5px; /* 圆角 */
  transition: background-color 0.3s ease; /* 背景色过渡效果 */
}

.play-pause-button:hover {
  background-color: #45a049; /* 悬停时的背景色 */
}

.add-page-button {
  background-color: #4CAF50; /* 绿色背景 */
  border: none;
  color: white; /* 白色文字 */
  padding: 5px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
  margin: 10px 20px;
  cursor: pointer;
  border-radius: 5px; /* 圆角 */
  transition: background-color 0.3s ease; /* 背景色过渡效果 */
}
.add-page-button:hover {
  background-color: #45a049; /* 悬停时的背景色 */
}

.current-time-display {
  font-size: 14px;
  color: #333; /* 深灰色文字 */
  /* margin-top: 10px; */
  padding: 5px;
  margin-left: 40px;
  background-color: #f9f9f9; /* 浅灰色背景 */
  border: 1px solid #ddd; /* 边框 */
  border-radius: 5px; /* 圆角 */
  display: inline-block;
}

.add-hot-zone-button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
}

.hot-zone-container {
  margin: 10px 15px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  position: relative; /* 相对定位以放置绝对定位的删除按钮 */
}

.toggle-button {
  background-color: #6c757d;
  color: white;
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 5px;
}

.delete-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 16px;
}

.delete-button:hover {
  color: #c82333;
}

.hot-zone-content {
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.bg-box{
  margin-bottom: 1rem;
}

.add-btn {
  margin-top: 1rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  width: 150px;
  height: 60px;
  display: inline-block;
}
.time-text {
  color: #0beb40;
  user-select: text; /* 确保文本可以被选中 */
}

.zoom-controls {
  margin: 10px 0;
  text-align: center;
  
  .zoom-button {
    margin: 0 5px;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    
    &:hover {
      background: #f5f5f5;
    }
  }
}
.waveform-container {
  position: relative;
  min-height: 100px;
  
  nz-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .loading-text {
      display: flex;
      align-items: center;
      gap: 8px; 
      
      i {
        font-size: 16px;
      }
      
      span {
        font-size: 14px;
      }
    }
  }
}