// Reset default browser styles
* {
  box-sizing: border-box;
}

#root {
  min-height: 100vh;
}

html,
body,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  border: 0 none;
  color: inherit;
  background: transparent;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  color: #333;
  .ant-collapse-header {
    flex-direction: row-reverse;
  }
  .ant-collapse-item {
    background-color: white !important;
    border-radius: 6px !important;
    border-bottom: none !important;
    margin-bottom: 10px;
  }
  .ant-select-dropdown .ant-select-item {
    font-size: 26px;
  }
  .ant-picker-dropdown {
    font-size: 24px;
  }
  .ant-picker-dropdown .ant-picker-content td {
    width: 30px;
  }
  .ant-picker-dropdown .ant-picker-cell::before {
    height: 30px;
  }
  .ant-picker-dropdown .ant-picker-cell .ant-picker-cell-inner {
    min-width: 30px;
    height: 30px;
    line-height: 30px;
  }
}

// Remove list styles on ul, ol
ul,
ol {
  list-style: none;
}

// Remove link styles
a {
  text-decoration: none;
}

// Remove table border
table {
  border-collapse: collapse;
  border-spacing: 0;
  background-color: white;
}

// Remove input styling for IE
input[type='text'],
input[type='password'],
input[type='number'],
textarea {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  // border-radius: 0;
}

// Remove button styling for IE
button,
input[type='submit'],
input[type='reset'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0 none;
  background: none;
  padding: 0;
  cursor: pointer;
}

// Remove outline on focus
*:focus {
  outline: none;
}

.card-box {
  border-radius: 8px;
  box-shadow: 0px 0px 8px 2px rgba(191, 191, 191, 0.2);
  border: 1px solid #eee;
  background: rgba(255, 255, 255);
}

.content-tab {
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  height: calc(100vh - 130px);
  overflow-x: hidden;
  overflow-y: auto;
}
.content-title {
  padding-left: 5px;
  padding-right: 5px;
  height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
}

.password-eye {
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  background: url('@/assets/icon-eye1.png') no-repeat center;
  background-size: 30px;
  &.open {
    background-image: url('@/assets/icon-eye2.png');
  }
}

.tabs {
  display: flex;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #979797;
  &::-webkit-scrollbar {
    display: none;
  }
  .tabs-item {
    flex: 1;
    padding: 16px 24px;
    font-size: 24px;
    font-weight: 400;
    color: #4a4a4a;
    border-right: 1px solid #979797;
    white-space: nowrap;
    &:last-child {
      border-right: none;
    }
    &.active {
      color: #ffffff;
      background: #4a90e2;
    }
  }
}
.section-title {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 40px;
  .section-line {
    width: 4px;
    height: 30px;
    background: #4a90e2;
    margin-right: 8px;
  }
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-thumb {
  background-color: #999;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

*::-webkit-scrollbar-track {
  background-color: #eee;
}

.ant-btn-primary {
  background: #4a90e2;
  font-size: 16px;
  padding-top: 0;
  padding-bottom: 0;
}
.ant-table {
  background-color: white !important;
}
.ant-table-cell,
.ant-table-placeholder {
  background: transparent !important;
}
.ant-table,
.ant-table-container,
.ant-table-wrapper table {
  border-radius: 0 !important;
}

.ant-table-container {
  border: none !important;
}
.ant-table-cell::before {
  display: none;
}
.ant-table-thead {
  background: #cbe0f6;
}
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td {
  border-radius: 0 !important;
  padding: 16px 18px !important;
  font-size: 24px !important;
  color: #4a4a4a !important;
  line-height: 32px !important;
  font-weight: normal !important;
  vertical-align: middle;
  border: none !important;
}
.ant-table-tbody > tr:nth-child(even) {
  background: rgba(145, 192, 238, 0.16);
}

.ant-picker {
  font-size: 26px;
  .ant-picker-input > input {
    font-size: 24px;
  }
  .ant-picker-separator {
    font-size: 24px;
  }
}

.ant-select-selection-item {
  font-size: 26px;
}
.ant-select-selector {
  height: 40px;
  padding: 4px 11px;
}

.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
  height: 40px;
  padding: 4px 11px;
}
.ant-select-single .ant-select-selector {
  font-size: 26px;
}
