/* 辅助类 */
.flex-row {
  display: flex;
}
.hidden {
  visibility: hidden;
}
.border {
  border: 1px solid #e3e7e8;
}
/* config 页面 */
#app {
  width: 60vw;
  min-width: 940px;
}

/* 最上面的说明 */
.settings-heading {
  padding: 1em 0;
}

/* label 样式 */
.kintoneplugin-label {
  padding-left: 20px;
  line-height: 40px;
}
/* laebl input 单行的情况 */
.flex-row .kintoneplugin-label {
  margin: 0;
  width: 8.5em;
}

/* 遮罩 */
#main-area {
  position: relative;
}
#main-area .kuc-spinner-1-18-0__mask {
  position: absolute;
  background-color: white;
}
#main-area .kuc-spinner-1-18-0__spinner {
  position: absolute;
}
#main-area .kuc-spinner-1-18-0__spinner__loader {
  fill: #3498db;
}

/* 表格内容垂直居中 */
.table-area {
  margin: 0;
  align-items: center;
}

/* 整体边框相关样式 */
.header-row {
  padding: 24px 0;
  margin: 0;
  border-bottom: none;
}
.table-main-area {
  flex: 1;
  border-right: 1px solid #e3e7e8;
  padding-top: 24px;
}
.footer-row {
  padding: 24px 0;
  margin-bottom: 32px;
  text-align: right;
  border-top: none;
}

/* 底部按钮空间 */
.save-btn {
  margin-left: 16px;
  margin-right: 24px;
}

/* 输入框宽度 */
.kuc-text-input {
  --kuc-text-input-width: max(15vw, 200px);
  --kuc-dropdown-toggle-width: max(15vw, 200px);
  --kuc-combobox-toggle-width: max(15vw, 200px);
}

/* 统一 kintone +/- 按钮样式 */
.kuc-action-button {
  width: 24px;
  height: 24px;
  background: transparent;
  border: 1px solid transparent;
  padding: 2px;
  cursor: pointer;
  margin: 0 4px;
}
.kuc-action-button.remove {
  margin-right: 8px;
}
.kuc-action-button.add {
  margin-left: 8px;
}
.kuc-action-button:focus {
  border: 1px solid #3498db;
  outline: none;
}
.kuc-action-button.remove:hover path {
  fill: #e74c3c;
}

/* 覆盖表格样式 */
.plugin-kuc-table td {
  border-left-color: rgba(0, 0, 0, 0);
  border-right-color: rgba(0, 0, 0, 0);
  vertical-align: middle;
}

.plugin-kuc-table tr td:nth-last-child(2) {
  border-right-color: #e3e7e8;
}
.plugin-kuc-table tr td:first-child {
  border-left-color: #e3e7e8;
}
.plugin-kuc-table .kuc-table-1-18-0__table__body__row__action {
  height: 55px;
  align-items: center;
}

/* 絞り込み条件选择相关样式 */
.row-connector-area {
  margin: 0 1em;
}
