/* miniprogram/pages/addDevice/addDevice.wxss */
.textcss {
  -webkit-flex: 1;
  flex: 1;
}
.saveButtom{
  margin-bottom: 30rpx;
}
.menuCss{
  margin-right: 20rpx;
}

/* .van-dropdown-item__title{
  margin-right: 1rpx !important;
} */

.van-cell{
  height: 100rpx;
}
.row-class {
    background-color: #fff;
}

.button-class {
    margin-top: 10rpx;
}








/* index.wxss */
.camera-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
  }
  
  .camera {
    width: 100%;
    height: calc(100% - 160rpx);
  }
  
  .camera-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160rpx;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .flash-btn, .capture-btn, .cancel-btn {
    color: white;
    font-size: 28rpx;
    padding: 20rpx 40rpx;
    border-radius: 8rpx;
  }
  
  .capture-btn {
    background-color: #f00;
    width: 120rpx;
    height: 120rpx;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .flash-btn, .cancel-btn {
    background-color: rgba(255, 255, 255, 0.2);
  }




/* -------------------------------------新的--------------------------------------- */
  /* 新增样式 */
.upload-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .upload-tips {
    color: #666;
    font-size: 28rpx;
    text-align: center;
    margin: 20rpx 0;
  }


/* 新增闪光灯控制样式 */
.camera-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15rpx;
  }
  
  .flash-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rpx;
    font-size: 26rpx;
    color: #666;
    padding: 5rpx 0;
  }
  
  .flash-status {
    color: #07c160;
    font-weight: 500;
  }
  
  /* 原有样式保持不变 */
  .btn-group {
    display: flex;
    gap: 20rpx;
    padding: 20rpx;
    align-items: center;
    margin-bottom: 20rpx;
  }
  
  .action-btn {
    flex: 1;
    padding: 0 25rpx;
    border-radius: 12rpx;
    color: #fff;
    font-size: 32rpx;
  }
  
  .camera-btn {
    background-color: #07c160;
  }
  
  .album-btn {
    background-color: #1677ff;
    flex: 1;
  }
  
  /* 图片预览相关样式 */
  .image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15rpx;
    padding: 0 20rpx;
  }
  
  .image-item {
    position: relative;
    width: calc(33.333% - 10rpx);
    aspect-ratio: 1/1;
    border-radius: 8rpx;
    overflow: hidden;
  }
  
  .image-item image {
    width: 100%;
    height: 100%;
  }
  
  /* 上传状态样式 */
  .status-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15rpx;
  }
  
  .progress-bar {
    height: 100%;
    background-color: #07c160;
  }
  
  .progress-text {
    position: absolute;
    top: -30rpx;
    right: 10rpx;
    font-size: 24rpx;
    color: #07c160;
    background-color: rgba(255,255,255,0.8);
    padding: 2rpx 10rpx;
    border-radius: 4rpx;
  }
  
  .status-icon {
    position: absolute;
    top: 10rpx;
    right: 10rpx;
    width: 40rpx;
    height: 40rpx;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24rpx;
  }
  
  .success {
    background-color: #07c160;
  }
  
  .fail {
    background-color: #ff4d4f;
  }
  
  .delete-icon {
    position: absolute;
    top: 10rpx;
    right: 10rpx;
    width: 40rpx;
    height: 40rpx;
    background-color: rgba(0,0,0,0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30rpx;
  }
  
  .retry-btn {
    width: calc(100% - 40rpx);
    margin: 20rpx;
    padding: 20rpx 0;
    background-color: #1677ff;
    color: white;
    border-radius: 8rpx;
    font-size: 28rpx;
  }
