.account-menu-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.account-trigger {
  height: 100%;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

.account-trigger span { margin-left: 5px; font-size: 18px; }

.account-dropdown {
  position: absolute;
  z-index: 50;
  top: 78px;
  left: 50%;
  width: 150px;
  padding: 16px 0;
  transform: translateX(-50%);
  border: 1px solid #e1e4e8;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.account-dropdown::before {
  content: "";
  position: absolute;
  top: -9px;
  left: calc(50% - 9px);
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
  border-top: 1px solid #e1e4e8;
  border-left: 1px solid #e1e4e8;
  background: #fff;
}

.account-dropdown button {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 48px;
  border: 0;
  background: #fff;
  color: #555;
  font-size: 17px;
}

.account-dropdown button:hover { background: #f5f7fa; color: var(--blue); }

.password-page {
  width: 700px;
  padding: 22px 0 0 4px;
}

.password-page label {
  display: flex;
  align-items: center;
  margin: 0 0 26px;
  color: #606266;
  font-size: 15px;
}

.password-page label > span {
  width: 165px;
  text-align: left;
}

.password-page i {
  margin-right: 5px;
  color: #f56c6c;
  font-style: normal;
}

.password-page input {
  width: 365px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #c7ccd3;
  border-radius: 4px;
  outline: none;
}

.password-page input:focus { border-color: var(--blue); }
.password-page .btn { margin-left: 165px; min-width: 84px; }

.wallet-search-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  margin-bottom: 16px;
  padding: 14px 18px;
  background: var(--soft);
}

.wallet-search-panel label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #606266;
  white-space: nowrap;
}

.wallet-search-panel input,
.wallet-search-panel select {
  width: 205px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #c7ccd3;
  border-radius: 3px;
  background: #fff;
  outline: none;
}

.wallet-search-panel .date-range input { width: 160px; }
.wallet-search-panel select { width: 155px; }
.wallet-search-panel .btn { height: 40px; }
.wallet-search-panel .wallet-export { border: 1px solid var(--blue); background: #fff; color: var(--blue); }

.wallet-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
}

.wallet-table {
  min-width: 1450px;
  table-layout: fixed;
}

.wallet-table th,
.wallet-table td {
  height: 58px;
  padding: 9px 10px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  vertical-align: middle;
  word-break: break-word;
}

.wallet-table th:nth-child(1) { width: 140px; }
.wallet-table th:nth-child(2) { width: 90px; }
.wallet-table th:nth-child(3) { width: 210px; }
.wallet-table th:nth-child(4) { width: 150px; }
.wallet-table th:nth-child(5) { width: 120px; }
.wallet-table th:nth-child(6),
.wallet-table th:nth-child(7),
.wallet-table th:nth-child(8) { width: 105px; }
.wallet-table th:nth-child(9) { width: 145px; }
.wallet-table th:nth-child(10) { width: 100px; }
.wallet-table th:nth-child(11) { width: 105px; }
.wallet-table td:last-child,
.wallet-table th:last-child { border-right: 0; }
.wallet-table a,
.wallet-status-link { color: var(--blue); }
.wallet-amount { color: #2d6b46; }

@media (max-width: 1400px) {
  .wallet-search-panel { flex-wrap: wrap; }
}

.invoice-form {
  width: min(940px, 100%);
  padding: 24px 0 40px 80px;
}

.invoice-form-row {
  display: flex;
  align-items: center;
  min-height: 62px;
  margin-bottom: 2px;
  color: #303133;
  font-size: 15px;
}

.invoice-form-row > span {
  flex: 0 0 150px;
  padding-right: 28px;
  text-align: right;
}

.invoice-form-row > span i {
  margin-right: 5px;
  color: #f56c6c;
  font-style: normal;
}

.invoice-form-row input {
  width: 510px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #c7ccd3;
  border-radius: 3px;
  outline: none;
  font-size: 15px;
}

.invoice-form-row input:focus { border-color: var(--blue); }

.invoice-segments { display: flex; }
.invoice-segments button {
  height: 42px;
  padding: 0 24px;
  border: 1px solid var(--line);
  background: #fff;
  color: #555;
  font-weight: 600;
}
.invoice-segments button + button { border-left: 0; }
.invoice-segments button.active { background: #5a9cf4; color: #fff; border-color: #5a9cf4; }

.invoice-content-row strong { font-size: 24px; font-weight: 500; }
.invoice-tax-row strong { color: #ff6a2a; font-size: 22px; font-weight: 500; }
.invoice-amount-row { align-items: flex-start; padding-top: 6px; }
.invoice-amount-row > span { padding-top: 13px; }
.invoice-amount-row p { margin: 12px 0 0; color: #ff6a2a; font-size: 14px; }
.invoice-divider { height: 1px; margin: 18px 0 12px; background: var(--line); }
.invoice-submit { min-width: 120px; height: 46px; margin: 18px 0 0 150px; font-size: 16px; }
.invoice-submit:disabled { cursor: not-allowed; opacity: .55; }
.invoice-disabled-tip { margin: 10px 0 0 150px; color: #909399; }

.invoice-table-wrap { width: 100%; overflow: auto; }
.invoice-table { width: 100%; min-width: 980px; table-layout: fixed; border: 1px solid var(--line); }
.invoice-table th,.invoice-table td { height: 56px; padding: 10px 14px; border-right: 1px solid var(--line); text-align: left; }
.invoice-table th:last-child,.invoice-table td:last-child { border-right: 0; }
.invoice-status { color: #d78116; }
.invoice-status.approved { color: var(--green); }
.invoice-status.rejected,.invoice-status.cancelled { color: var(--red); }
.invoice-empty { display: grid; place-items: center; min-height: 360px; color: #aeb4bd; }
.invoice-empty span { font-size: 88px; font-weight: 100; transform: rotate(45deg); opacity: .2; }
.invoice-empty b { margin-top: -95px; font-weight: 400; }

@media (max-width: 1400px) {
  .invoice-form { padding-left: 30px; }
}
