ion-content {
  --background: #f5f5f5;
}

ion-item {
  --background: white;
  margin-bottom: 16px;
  border-radius: 8px;
}

ion-textarea {
  --padding-top: 8px;
  --padding-bottom: 8px; 
   min-height: 150px;  // 增加最小高度
  font-size: 16px;   // 增大字体
}

.image-upload-box {
  width: 25%;
  height: 120px;
  border: 2px dashed var(--ion-color-medium);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  cursor: pointer;
  
  .plus-icon {
    font-size: 32px;
    color: var(--ion-color-medium);
  }
  
  &:hover {
    border-color: var(--ion-color-primary);
    background-color: rgba(var(--ion-color-primary-rgb), 0.05);
    
    .plus-icon {
      color: var(--ion-color-primary);
    }
  }
}

ion-button[fill="clear"] {
  color: var(--ion-color-primary);
  margin-top: -10px;
}

ion-select {
  width: 100%;
  margin-top: 8px;
}

.toggle-buttons {
  display: flex;
  gap: 8px;
  
  ion-button {
    flex: 1;
    margin: 0;
  }
}

.type-points-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  
  .toggle-button-small {
    margin-right: 16px;
  }
  
  .points-input {
    width: 120px;
    background: white;
    border-radius: 8px;
    --padding-start: 12px;
    --padding-end: 12px;
  }
  .points-container {
    display: flex;
    align-items: center;
    border: 1px solid var(--ion-color-medium);
    border-radius: 8px;
    padding: 0 12px;
    
    .points-label {
      margin-right: 8px;
      font-size: 14px;
      color: var(--ion-color-medium);
    }
    
    .points-input {
      border: none;
      --padding-start: 0;
      --padding-end: 0;
      --background: hsla(0, 4%, 85%, 0.155);
      
    }
  }
}
.toggle-button-small {
  display: flex;
  align-items: center;
  gap: 8px;
  
  .toggle-switch {
    width: 50px;
    height: 24px;
    background: var(--ion-color-primary);
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    
    &.urgent {
      background: var(--ion-color-danger);
      
      .toggle-handle {
        left: 26px;
      }
    }
    
    .toggle-handle {
      position: absolute;
      width: 20px;
      height: 20px;
      background: white;
      border-radius: 50%;
      top: 2px;
      left: 2px;
      transition: left 0.2s ease;
    }
  }
  
  .toggle-label {
    font-size: 14px;
  }
}
