
ul {
  padding-left: 0;
  list-style: none;
}

:root {
  --tag-red: #FDEDED;
  --slate-200: #E2E8F0;
  --item-title-color: #8C8C8C;
  --el-tabs-header-height-custom: 30px;
  --el-disabled-font-color: #000;
  --el-component-size: 30px;
}

.el-input__inner, .el-button>span {
  font-size: 12px;
}

div.el-select, div.el-select__wrapper, div.el-input__wrapper, input.el-input__inner {
  min-height: 28px;
  height: 28px;
}


.justify-items-start {
  justify-items: start;
}

.btn-sm {
  padding: 4px 8px;
}

.btn-container {
  text-align: center;
}

.btn-underline {
  background: none;
  border: none;
  text-decoration: underline;
}

.btn-close-square {
  padding: 2px 4px;
  cursor: pointer;
  background: none;
  /*border: 1px solid #d9d9d9;*/
  color: #666;
  font-size: 16px;
  border: none;
  border-radius: 4px;
}

.btn-close-pop {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.tag {
  display: inline-block;
  padding: 4px 0;
  width: 74px;
  border-radius: 4px;
  text-align: center;
}

.tag-red {
  background: var(--tag-red);
}

.tag-gray {
  background: var(--slate-200);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.underline {
  text-decoration: underline;
}

/*정산하기 페이지*/
.page.settlement {
  p,span,a {font-size: 12px;}
  .item-line {
    margin-bottom: 16px;
  }
  .el-date-editor {
    width: fit-content;
    .el-input__wrapper {
      box-shadow: none;
    }
    .el-input__prefix {
      display: none;
    }
    .el-input__suffix {
      display: none;
    }
    input.el-input__inner {
      width: 100px;
      padding: 0;
      border-bottom: 1px solid #777;
      text-align: center;
    }
  }
  .el-tabs__nav-wrap{
    /*padding: 6px;*/
    /*background: var(--slate-200);*/
    /*border: 1px solid var(--el-border-color);*/
    border-top: none;
    border-bottom: none;
  }
  .el-tabs__nav-wrap.is-scrollable {
    padding: 0;
  }
  div.el-tabs--border-card>.el-tabs__content {
    padding: 30px 14px;
  }
  div.el-tabs--border-card {
    /*border-bottom: none;*/
  }
  div.el-tabs__header {

  }
  div.el-tabs__header, div.el-tabs__header .el-tabs__item {
    height: 40px;
  }
  div.el-tabs__header .el-tabs__new-tab {
    margin: 6px;
  }
  /*.el-tabs--card>.el-tabs__header .el-tabs__item{*/
  /*  background: var(--slate-200);*/
  /*}*/
  /*.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{*/
  /*  background: #fff;*/
  /*}*/
  .el-tabs--card>.el-tabs__header {
    border-bottom: none;
    height: 30px;
    margin: 10px 0 24px;
  }
  .el-tabs__nav-scroll {
    overflow-x: auto;
  }
  .el-tabs__nav-prev, .el-tabs__nav-next {
    display: none;
  }

  .el-tabs__item.is-active {
    background: #fff;
  }
  .el-tabs__item.is-active, .el-tabs__item:hover {
    color: initial;
  }
  .el-tabs__item {
    padding: 4px 10px;
    height: var(--el-tabs-header-height-custom);
  }
  .el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2), .el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2) {
    padding-left: 10px;
  }

  .el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable {
    padding-left: 10px;
    padding-right: 10px;
  }

  .item-line{
    display: flex;
    justify-content: space-between;

  }
  .item-title {
    color: var(--item-title-color);
  }

  .set-picture {
    .thumb img{
      width: 70px;
      height: 70px;
      object-fit: cover;
    }
    .btn-close-square {
      margin-left: 8px;
    }
  }

  .participant-ratio {
    gap: 5px;
  }

  .detail-container {
    gap: 10px;
  }

  .participant-row {
    margin: 8px 0;
    * {
      font-size: 12px;
    }
    .btn-close-square i {
      font-size: 14px;
    }
    &.active {
      opacity: 1;
    }
    &.temp  {
      opacity: .6;
      .amount {
        margin-right: 27px;
      }
    }
    .amount {
      margin-right: 6px;
    }
  }

  .btn-container {
    margin-top: 60px;
  }

  .detail-total-amount {
    margin-right: 6px;
    font-weight: bold;
  }

  .participant-row.temp .detail-total-amount {
    margin-right: 27px;
    opacity: .5;
  }

  .on-detail .parent-category-row {
    margin: 4px 0;
  }

  .on-detail .child-category-row {
    margin: 4px 0;
  }

  .mini-summary{
    position: sticky;
    top: 53px;
    z-index: 20;
    background:#fff;
    border-bottom:1px solid #eee;
    /*display:grid;*/
    /*grid-template-columns:1fr 1fr auto;*/
    /*gap:12px;*/
    font-size:14px;
  }

  .amount-input {
    margin-left: 10px;
    .q-field__bottom {
    display: none;
    }
  }

  .btn-distribute {
    font-size: 12px;
  }
}

.amount-cut-modal {
  div.q-field__marginal {
    padding: 0;
  }
}

.cont-box {
  padding: 14px 0;
}
.cont-box:first-child {
  padding-top: 0;
}

.cont-box:not(:nth-last-child(1 of .cont-box)) {
  border-bottom: 1px solid #ddd;
}

.tree-node-label {
  width: 12px;
  height: 14px;
  margin-top: 2px;
  margin-right: 6px;
  content: '';
  display: inline-block;
  border-left: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
}

.modal-content {
  background: #fff;
}

div.el-select__wrapper {
  padding: 4px 8px;
}

div.el-input.is-disabled .el-input__inner {
  color: var(--el-disabled-font-color);
}

div.el-input.is-disabled .el-input__inner:disabled {
  color: #000 !important;
  -webkit-text-fill-color: #000;
  opacity: 1;
}

div.el-input__wrapper {
  padding: 0 8px;
}

button.el-button--large, button.el-button, button.el-button.is-round {
  padding: 4px 10px;
}


div.q-field__control {
  height: 40px;
}

div.q-field__label {
  top: 12px;
  font-size: 12px;
}
label.q-field--labeled .q-field__native, label.q-field--labeled .q-field__prefix {
  line-height: 22px;
  padding-top: 22px;
}
label.q-field--labeled .q-field__suffix {
  line-height: 18px;
  padding-top: 18px;
  font-size: 12px;
}
.text-right {
  text-align: right;
}

label.q-field--auto-height .q-field__control, div.q-field__marginal {
  min-height: 40px;
  height: 40px;
  padding: 0 8px;
}

label.q-field--auto-height.q-field--labeled .q-field__control-container {
  padding-top: 15px;
}

label.q-field--with-bottom {
  padding-bottom: 0;
}

label.q-field--disabled .q-field__control:before{
  background-color: var(--el-disabled-bg-color);
  border: var(--el-border);
}


.q-field--focused .selected-text {
 /*display: none;*/
}

.info-badge {
  display: inline-block;
  padding: 3px 3px;
  color: #1976d2;
  border-radius: 4px;
  font-size: 12px;
}

.info-badge.red {
  color: #d32f2f;
}

.info-badge.green {
  color: #4caf50;
}

.info-badge.red .btn-distribute {
  background: #d32f2f;
  border-color: #d32f2f;
}

.distribution-badge {
  display: block;
  padding: 2px 4px;
  font-size: 11px !important;
}

.btn-setting.el-button--info {
  padding: 0 4px !important;
  height: 24px;
  background: var(--el-color-primary);
  border-color: var(--el-color-primary);
}

.single-tab .el-tabs__header .el-tabs__nav-wrap .el-tabs__nav-scroll .el-tabs__nav .el-tabs__item .is-icon-close {
  display: none;
}
