/* ============================================================
   TK design system - account page overrides (ASCII only)
   Loaded after css/account.css
   ============================================================ */

/* kill legacy fixed-header offset */
.account {
  margin-top: 0 !important;
}
.oauth {
  margin-top: 0 !important;
}

/* section rhythm */
.basic > .el-row,
.account > .el-row {
  margin-top: 0.28rem;
}

/* section titles */
.account-title {
  font-size: 0.2rem;
  line-height: 0.28rem;
  font-weight: 600;
  color: #0f172a;
  border-left: none;
  padding-left: 0;
}
.basic-title {
  font-size: 0.15rem;
  line-height: 0.22rem;
  font-weight: 600;
  color: #0f172a;
  border-left: 0.04rem solid transparent;
  border-image: linear-gradient(180deg, #2e6bff, #6c4dff) 1;
  padding-left: 0.1rem;
}

/* user header block */
.account > .box-top,
.content-box .box-top {
  height: auto;
  width: 100%;
  box-sizing: border-box;
  padding: 0.22rem 0.24rem;
  background: #f8fafd;
  border: 1px solid #eef1f7;
  border-radius: 0.12rem;
}
.name-text {
  font-size: 0.2rem;
  font-weight: 600;
  color: #0f172a;
}

/* attestation chip */
.attestation-status {
  background: #fff7ed;
  border: 1px solid #fde2bf;
  border-radius: 0.08rem;
  padding: 0.06rem 0.14rem;
  cursor: pointer;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.attestation-status:hover {
  box-shadow: 0 0.06rem 0.16rem rgba(247, 144, 9, 0.18);
  transform: translateY(-1px);
}
.attestation-text {
  font-size: 0.13rem;
  color: #9a6410;
}
.attestation-status .bule-text {
  color: #2e6bff;
  font-weight: 600;
}

/* save button */
.btn-save {
  width: auto;
  padding: 0 0.44rem;
  height: 0.4rem;
  line-height: 0.4rem;
  border-radius: 0.1rem;
  font-size: 0.14rem;
  font-weight: 600;
  margin-top: 0.32rem;
  border: none;
  cursor: pointer;
  background: #2e6bff;
  color: #fff;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.btn-save:hover {
  background: #1f5af7;
  box-shadow: 0 0.06rem 0.16rem rgba(46, 107, 255, 0.35);
}

/* constrain form width on very wide screens */
@media (min-width: 1600px) {
  .basic > .el-row,
  .account > .el-row {
    max-width: 13.6rem;
  }
}

/* inputs inherit tk inputs via global overrides */

/* boxed inputs instead of underline style */
.account .el-input__inner,
.basic .el-input__inner,
.basic .box-item-b .el-input__inner,
.account .el-textarea__inner,
.basic .el-textarea__inner {
  border: 1px solid #e7ebf3 !important;
  border-bottom: 1px solid #e7ebf3 !important;
  border-radius: 0.08rem;
  background: #ffffff;
  padding: 0 0.14rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.basic .el-input__inner:hover,
.account .el-input__inner:hover,
.basic .el-textarea__inner:hover,
.account .el-textarea__inner:hover {
  border-color: #c4cede !important;
}
.basic .el-input__inner:focus,
.account .el-input__inner:focus,
.basic .el-textarea__inner:focus,
.account .el-textarea__inner:focus {
  border-color: #2e6bff !important;
  box-shadow: 0 0 0 0.03rem rgba(46, 107, 255, 0.12);
}
.basic .el-input.is-disabled .el-input__inner,
.account .el-input.is-disabled .el-input__inner {
  background: #f7f9fc;
  cursor: not-allowed;
  color: #98a2b3;
}

/* select controls same boxed look */
.account .el-select .el-input__inner {
  background: #ffffff;
}

/* keep the small edit icons aligned inside boxed inputs */
.account .edit-icon {
  right: 0.12rem;
}

/* boxed inputs on narrow screens keep usable width */
@media (max-width: 920px) {
  .account .form-item .el-input,
  .account .form-item .el-select {
    width: 100% !important;
  }
}
