/* ============================================================
   账户中心（照参考站 view=account 实测值重写）
   页底 #F6F9FD，左右 22px、底部 32px；
   标题 24px/34px 700 #111D34；
   标签浅灰小方块，选中白底蓝字 #2766FF；
   摘要白卡 1px rgba(33,61,104,.04)，内边距 8px 12px；
   区块白卡内边距 16px 18px 18px，标题 15px 700 #1C2940 + 3px 蓝条；
   字段标签 14.5px #74819A；输入框 36px、底色 #F0F1F5、无边框、直角；
   按钮 150×36，主 #0052D9，次白底 #D5DDE9 边框。
   ============================================================ */

.el-main {
  padding: 50px 0 20px 190px !important;   /* top 50px 给固定顶栏让位 */
  box-sizing: border-box;
  background: #F6F9FD;
}

.main-card.account-page {
  background: #F6F9FD;
  padding: 0 22px 32px;
  margin: 0;
  min-height: calc(100vh - 50px);
  height: auto !important;
  box-sizing: border-box;
  font-family: PingFang SC, "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  color: #1C2940;
}

.content-box {
  padding: 29px 0 0;
  margin-top: 0 !important;
}

/* ---------- 页头 ---------- */
.acct-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  margin-bottom: 14px;
}

.main-card-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  color: #111D34;
}

.acct-banner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.acct-illus {
  display: block;
  width: 84px;
  height: auto;
}

.acct-banner-text {
  text-align: right;
}

.acct-banner-t1 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #1C2940;
}

.acct-banner-t2 {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: #74819A;
}

/* ---------- 标签（浅灰小方块） ---------- */
.acct-tabs .el-tabs__header {
  margin: 0 0 20px;
}

.acct-tabs .el-tabs__nav-wrap::after {
  display: none;
}

.acct-tabs .el-tabs__nav {
  background: #F2F3F5;
}

.acct-tabs .el-tabs__item {
  height: 28px;
  line-height: 28px;
  padding: 0 10px;
  font-size: 14px;
  color: #16181D;
  border: 0;
}

.acct-tabs .el-tabs__item.is-active {
  background: #FFFFFF;
  color: #2766FF;
  font-weight: 400;
}

.acct-tabs .el-tabs__active-bar {
  display: none;
}

.acct-tabs .el-tabs__content {
  overflow: visible;
}

/* ---------- 摘要卡 ---------- */
.acct-summary {
  background: #FFFFFF;
  border: 1px solid rgba(33, 61, 104, 0.04);
  padding: 8px 12px;
  margin: 0 0 14px;
  box-sizing: border-box;
}

.acct-summary-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 8px 0;
}

.acct-user {
  display: flex;
  align-items: center;
}

.acct-avatar {
  flex: none;
  width: 56px;
  height: 56px;
  margin-right: 14px;
  border-radius: 0;
  background: #F2F3F5;
  display: block;
  object-fit: cover;
  overflow: hidden;
}

.acct-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #1C2940;
}

.acct-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 18px;
  color: #74819A;
}

.acct-sub .country-img {
  display: block;
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.acct-col {
  display: flex;
  align-items: flex-start;
  padding-left: 22px;
  border-left: 1px solid #F0F1F5;
}

.acct-col-icon {
  flex: none;
  margin-right: 12px;
  margin-top: 1px;
  font-size: 22px;
  color: #3B4A66;
}

.acct-col-val {
  font-size: 14.5px;
  line-height: 22px;
  color: #1C2940;
  word-break: break-all;
}

.acct-col-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 18px;
  color: #00A870;
}

.acct-safe {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 18px;
  color: #74819A;
}

.acct-badge {
  padding: 1px 5px;
  background: #FFF7E8;
  color: #FF7D00;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 18px;
}

/* 认证提示条 */
.acct-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: #F5F7FA;
  font-size: 13px;
  line-height: 20px;
  color: #4B5A71;
  cursor: pointer;
}

.acct-tip-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #2766FF;
  font-size: 20px;
}

.acct-tip-body {
  flex: 1;
  min-width: 0;
}

.acct-tip-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: #1C2940;
}

.acct-tip-desc {
  font-size: 12.5px;
  line-height: 20px;
  color: #74819A;
}

.acct-tip .bule-text {
  margin-left: 8px;
  color: #2766FF;
}

/* 账户安全：纯文本行 + 修改 */
.acct-static {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  font-size: 14.5px;
  color: #34425A;
}

.acct-static-val {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.acct-static-dots {
  letter-spacing: 1px;
}

.acct-static .acct-edit {
  line-height: 36px;
}

/* ---------- 区块白卡 ---------- */
.account-section {
  background: #FFFFFF;
  border: 1px solid rgba(33, 61, 104, 0.04);
  padding: 17px 18px 7px;
  margin: 14px 0 0 !important;
  box-sizing: border-box;
}

.account-section .basic-title,
.account-section .account-title {
  position: relative;
  padding-left: 12px;
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: #1C2940;
}

.account-section .basic-title::before,
.account-section .account-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 3px;
  height: 14px;
  background: #0052D9;
}

/* 三列排列：等分三列，列间留 24px */
.account-section .el-row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 0 10px !important;
}

.account-section .el-col-7 {
  width: calc((100% - 48px) / 3) !important;
  max-width: none !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.account-section .el-col-3 {
  display: none !important;
}

/* ---------- 字段 ---------- */
.box-item-t {
  display: flex;
  align-items: center;
  margin-bottom: 8px !important;
  padding: 0 !important;
  height: auto !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 22px;
  color: #74819A !important;
}

.acct-req {
  margin-right: 4px;
  color: #F0142F;
  font-size: 13px;
}

.acct-switch-label {
  justify-content: space-between;
}

.box-item-b {
  padding: 0 !important;
}

.account-section .el-input,
.account-section .el-select {
  width: 100% !important;
  border: 0 !important;
}

.account-section .el-input__inner,
.account-section .el-select .el-input__inner,
.account-section .el-textarea__inner {
  height: 36px;
  line-height: 36px;
  padding: 0 12px;
  background: #F0F1F5;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14.5px;
  color: #34425A;
}

.account-section .el-textarea__inner {
  height: auto;
  min-height: 72px;
  padding: 8px 12px;
  line-height: 22px;
}

.account-section .el-input__inner:focus,
.account-section .el-textarea__inner:focus {
  border-color: #0052D9;
  background: #FFFFFF;
}

.account-section .el-input.is-disabled .el-input__inner,
.account-section .el-select .el-input.is-disabled .el-input__inner {
  background: #F0F1F5;
  color: #8692B0;
}

.account-section .box-item-b .el-input__inner {
  cursor: pointer;
}

/* 修改（文字按钮） */
.acct-edit {
  padding-right: 8px;
  font-size: 12.5px;
  color: #71809A;
  cursor: pointer;
  line-height: 34px;
}

.acct-edit:hover {
  color: #0052D9;
}

/* 开关：28×16 */
.account-section .el-switch {
  height: 16px;
  line-height: 16px;
  min-width: 28px;
}

.account-section .el-switch .el-switch__core {
  width: 28px !important;
  min-width: 28px !important;
  height: 16px !important;
  border-radius: 8px;
}

.account-section .el-switch .el-switch__core::after {
  width: 12px;
  height: 12px;
  top: 2px;
  left: 2px;
  margin-left: 0;
}

.account-section .el-switch.is-checked .el-switch__core::after {
  left: 100% !important;
  margin-left: -14px !important;
}

/* 自定义字段 / 第三方绑定沿用同一套栅格 */
.account-section .oauth-box {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.account-section .oauth-box .box-item {
  width: calc((100% - 48px) / 3);
  padding: 0;
  margin-bottom: 12px;
}

/* ---------- 底部按钮 ---------- */
.acct-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.acct-save,
.acct-reset {
  width: 150px;
  height: 36px;
  padding: 0;
  border-radius: 0;
  font-size: 14.5px;
  line-height: 34px;
}

.acct-save {
  background: #0052D9;
  border: 1px solid #0052D9;
  color: #FFFFFF;
}

.acct-save:hover,
.acct-save:focus {
  background: #0B63E5;
  border-color: #0B63E5;
  color: #FFFFFF;
}

.acct-reset {
  background: #FFFFFF;
  border: 1px solid #D5DDE9;
  color: #4B5A71;
}

.acct-reset:hover,
.acct-reset:focus {
  background: #FFFFFF;
  border-color: #0052D9;
  color: #0052D9;
}

/* ---------- 表格（操作日志） ---------- */
.account-section .el-table th.el-table__cell {
  height: 42px;
  background: #F2F3F5;
  color: #4E5969;
  font-weight: 400;
  font-size: 14px;
}

.account-section .el-table td.el-table__cell {
  height: 47px;
}

/* ---------- 移动端 ---------- */
@media screen and (max-width: 750px) {
  .el-main {
    padding: 12px !important;
    padding-left: 12px !important;
  }

  .main-card.account-page {
    padding: 0 12px 20px;
    min-height: 0;
  }

  .acct-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .main-card-title {
    font-size: 20px;
    line-height: 28px;
  }

  .acct-banner {
    display: none;
  }

  .acct-summary-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .acct-col {
    padding-left: 0;
    border-left: 0;
    padding-top: 12px;
    border-top: 1px solid #F0F1F5;
  }

  .account-section {
    padding: 14px 12px 16px;
  }

  .account-section .el-col-7 {
    width: 100%;
  }

  .box-item-t,
  .box-item-b {
    padding-right: 0;
  }

  .acct-btn-row {
    margin-top: 16px;
  }

  .acct-save,
  .acct-reset {
    width: 100%;
  }
}

/* ---------- 操作日志 ---------- */
.acct-log-card {
  background: #FFFFFF;
  border: 1px solid rgba(33, 61, 104, 0.04);
  padding: 16px 18px 10px;
  box-sizing: border-box;
}

.acct-log-card .searchbar.com-search {
  margin: 0 0 16px;
  text-align: left !important;
}

.acct-log-card .acct-log-search {
  width: 280px !important;
}

.acct-log-card .acct-log-search .el-input__inner {
  height: 32px;
  line-height: 32px;
  padding: 0 12px;
  background: #F2F3F5;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  color: #4E5969;
}

.acct-log-card .el-input__suffix {
  right: 8px;
  color: #86909C;
}

.acct-log-card .content_table,
.acct-log-card .tabledata {
  margin: 0;
}

.acct-log-card .el-table {
  font-size: 14px;
  color: #1C2940;
}

.acct-log-card .el-table th.el-table__cell {
  height: 40px;
  padding: 0;
  background: #F7F8F8;
  color: #86909C;
  font-weight: 400;
  font-size: 13.5px;
  border-bottom: 0;
}

.acct-log-card .el-table td.el-table__cell {
  height: 57px;
  padding: 0;
  border-bottom: 1px solid #F2F3F5;
  color: #1C2940;
}

.acct-log-card .el-table .cell {
  padding: 0 16px;
  line-height: 20px;
}

.acct-log-card .el-table::before,
.acct-log-card .el-table__fixed::before {
  display: none;
}

.acct-log-card .el-table__body-wrapper {
  overflow-x: hidden;
}

.acct-log-card .el-pagination {
  margin-top: 12px;
  padding: 0;
}
