@import "mixin";
* {
  transition: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-internal-autofill-selected {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  background-color: transparent !important;
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  display: inline-block;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;

  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: "liga";
}

.error-message {
  color: var(--v-alert-base);
  font-size: 0.75rem;
}

.auth-content {
  padding-top: 88px;
}

.v-list-item--link {
  &:before {
    background-color: transparent !important;
  }
}

.ws-content-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--v-textPrimary-base);
  // padding: 20px 0;
}

.content-section-text {
  font-size: 0.75rem;
  line-height: 1.33;
  color: var(--v-textSecondary-base);
}

.ws-title {
  @include auto_margin_top(20px);
}
.ws-button-group {
  @include auto_margin_top(18px);
}
.ws-data-expand-list {
  @include auto_margin_top(18px);
}
.ws-content-title {
  @include auto_margin_top(18px);
}
.ws-state-locales {
  @include auto_margin_top(20px);
}
.ws-locale-picker {
  @include auto_margin_top(20px);
}
.ws-read-content-block {
  @include auto_margin_top(18px);
}

.ws-card {
  box-shadow: inset 0 -1px 0 0 #d7dee7;
  border-radius: 8px;
  box-shadow: 0 3px 3px -1px rgba(4, 48, 71, 0.06), 0 0 1px 0 rgba(4, 48, 71, 0.1);
  background-color: var(--v-cardBackground-base);
  .ws-content {
    border-top: solid 1px var(--v-inputBorder-base);
    &.no-border {
      border: 0;
    }
    &:first-child {
      border-top: 0;
    }
  }
}

.ws-content-section {
  @include auto_margin_top(18px);
  @include flex;
  width: 100%;
  .ws-content-section-observer {
    width: 100%;
  }
  .v-form {
    width: 100%;
  }
  .ws-content-section__primary {
    width: calc(100% - 320px);
  }
  .ws-content-section__secondary {
    margin-left: 20px;
    width: 300px;
    flex: 0 0 auto;
  }
  .ws-state-content-block {
    @include auto_margin_top(20px);
  }
}

.ws-button-group {
  .ws-btn {
    @include auto_margin_left(10px);
  }
}

.ws-state-date {
  .mx-datepicker {
    width: 100%;
  }
  .date-picker {
    position: relative;
    .input {
      @include ts;
      width: 100%;
      border-radius: 8px;
      padding: 8px 12px;
      font-size: 1rem;
      line-height: 22px;
      color: var(--v-textSecondary--base);
      border: solid 1px var(--v-inputBorder-base);
      &:focus {
        outline: none;
        border: solid 1px var(--v-primary-base);
        & ~ .icon {
          color: var(--v-primary-base);
        }
      }
    }
    .icon {
      position: absolute;
      top: 11px;
      right: 12px;
    }
    // .calendar {
    // }
  }
}

.ws-info-file {
  @include auto_margin_top(4px);
  .ws-info-file__upload-btns {
    @include flex;
    @include flex_align(flex-start);
    flex-direction: column;
  }

  .ws-state-file-item {
    @include flex;
    @include flex_align;
    @include ts;
    // @include flex_align(flex-start);
    // display: table;
    flex: 0 0 auto;
    border-radius: 8px;
    border: solid 1px #d7dee7;
    position: relative;
    align-self: flex-start;
    &:hover {
      box-shadow: 0 3px 3px -1px rgba(4, 48, 71, 0.06), 0 0 1px 0 rgba(4, 48, 71, 0.1);
    }
    .ws-state-file-item__link {
      font-size: 0.875rem;
      padding: 10px 12px;
      display: block;
      line-height: 1.43;
      color: var(--v-textPrimary-base);
      text-decoration: none;
    }
    .ws-state-file-item__icon {
      flex: 0 0 auto;
    }
  }
}

.ws-crud-titlebar {
  @include flex;
  // @include flex_align;
  // justify-content: space-between;
  .ws-crud-titlebar__label {
    font-size: 1.625rem;
    font-weight: bold;
    line-height: 1.23;
  }
}

.ws-crud-filter {
  @include flex;
  > * {
    @include auto_margin_left(10px);
  }
  .ws-line-group {
    width: 100%;
  }
}

.ws-data-table-pagenate {
  @include flex;
  padding: 20px;
  justify-content: center;
  border-top: solid 1px var(--v-inputBorder-base);
}

.ws-block-btn {
  @include flex_center;
  @include ts;
  @include no_select;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  border: solid 1px var(--v-inputBorder-base);
  font-size: 14px;
  line-height: 1.43;
  color: var(--v-textSecondary-base);
  box-shadow: 0 3px 3px -1px rgba(4, 48, 71, 0.06), 0 0 1px 0 rgba(4, 48, 71, 0.1);
  background-color: #fff;
  &:hover {
    box-shadow: 0 6px 6px -2px rgba(4, 48, 71, 0.06), 0 0 1px 0 rgba(4, 48, 71, 0.1);
  }
  &.active {
    color: var(--v-textPrimary-base);
    pointer-events: none;
    background-color: #f5f7f8;
  }
  &[disabled] {
    pointer-events: none;
  }
}

.ws-content-remark {
  font-size: 0.75rem;
  line-height: 1.33;
  color: var(--v-textSecondary--base);
}

.ws-info-has-many {
  @include auto_margin_top(5px);
  width: 100%;
}

.ws-info-belongs-to {
  @include auto_margin_top(10px);
}
