
.phoneContent{
  canvas:focus {
  outline: none;
  border: none;
}
  .header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px 24px 48px;
    background-color: #fff;
    border: 1px solid #E6E6E6;
    .header-left{
      font-weight: 400;
      font-size: 32px;
      color: rgba(0,0,0,0.85);
      line-height: 32px;
    }
    .header-main{
      font-size: 24px;
      .border-icon{
        border-left: 1px solid #e5e7eb;
        border-right: 1px solid #e5e7eb;
        display: inline-block;
        line-height: 16px;
        height: 20px;
        margin: 0 24px;
        padding: 0 24px;
      }
      i{
        cursor: pointer;
      }
      .avtive{
        background: rgba(16,155,224,0.3);
      }
      .el-dropdown{
        width: 20px !important;
        margin-right: 20px;
      }
      .disable{
            cursor: not-allowed;
      }
    }
    .header-right{
      .view {
        height: 40px;
        width: 88px;
        text-align: center;
        line-height: 40px;
        box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04);
        border-radius: 2px;
        border: 1px solid #26559b;
        font-size: 14px;
        color: #26559b;
        cursor: pointer;
      }
    }
  }
}
.photo-editor {
  display: flex;
  height: calc(100vh - 98px);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
}

/* 左侧面板 */
.left-panel {
  width: 510px;
  min-width: 510px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  position: relative;
  &-title{
    font-weight: bold;
    padding: 30px 0 12px 0;
    font-size: 16px;
    color: rgba(0,0,0,0.85);
    line-height: 22px;
  }
  &-top{
    padding: 0 48px 100px 48px;
    max-height: calc(100vh - 98px);
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    min-height: calc(100vh - 270px);
    ::-webkit-scrollbar { display: none; }
  }
}

.photo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.zwsj{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    width: 400px;
    margin: 0 auto;
}
.photo-item {
  position: relative;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
}

.photo-item.selected {
  border-color: #3b82f6;
}

.photo-item img {
  width: 128px;
  height: 128px;
  display: block;
  object-fit: cover;
}

.used-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: #ffffff;border: 1px solid #B2B2B2;
  font-size: 18px;
  text-align: center;
  line-height: 28px;
  border-radius: 50%;
}
.selectImg{
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 22px;
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 12px;
  color: #E6F7FF;
  line-height: 22px;
  text-align: center;
  background: #26559B;
  border-radius:10px 0 0 0 ;
  padding: 0 4px 0 8px;
}

.layout-setting {
  padding: 16px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.radio-label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
}

.auto-layout-bar button {
  width: 100%;
  padding: 10px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.auto-layout-bar button:hover {
  background: #2563eb;
}
.auto-layout-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 48px;
  position: absolute;
  border-top: 1px solid #E6E6E6;
  background: #fff;
  bottom: 0;
width: 100%;
        .view {
        height: 40px;
        width: 88px;
        text-align: center;
        line-height: 40px;
        box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.04);
        border-radius: 2px;
        border: 1px solid #26559b;
        font-size: 14px;
        color: #26559b;
        cursor: pointer;
      }
}
/* 右侧面板 */
.right-panel {
  flex: 1;
  display: flex;
  max-width: calc(100vw - 510px);
  flex-direction: column;
  padding: 20px;
  background-color: #f3f4f6;
}

.page-control-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-control-bar 
button {
  padding: 8px 16px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.page-control-bar button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.page-control-bar button:hover:not(:disabled) {
  background: #2563eb;
}

/* Canvas容器 */
.canvas-container {
  flex: 1;
  border: 1px solid #e5e7eb;
  background-color: #efefef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
}

.canvas-content {
  display: block;
  transition: transform 0.05s ease;
  cursor: grab;
}

.canvas-content:active {
  cursor: grabbing;
}

.control-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.control-bar button {
  padding: 8px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.control-bar button:hover {
  background-color: #f3f4f6;
}