/* 原生 301 跳转管理 · 界面基于光年 Light Year Admin v4（Bootstrap 4.4.1）
 * 光年模板资源在 assets/vendor/lyear/，来源 https://gitee.com/yinqi/Light-Year-Admin-Template-v4 （Apache-2.0）
 * 这里只放本项目的自定义样式，尽量复用光年/Bootstrap 4 的类名。 */

:root {
  --app-border: #e9edf2;
  --app-soft: #f7f8fc;
  --app-soft-strong: #eef1f7;
  --app-text: #4d5259;
  --app-muted: #8c909a;
  --app-primary: #33cabb;
  --app-primary-dark: #29b3a5;
  --app-ok: #15c377;
  --app-warn: #ffa100;
  --app-danger: #e84c63;
  --app-purple: #926dde;
}

body[data-theme='dark'] {
  --app-border: #303243;
  --app-soft: #292b3d;
  --app-soft-strong: #303243;
  --app-text: #bebdc2;
  --app-muted: #8c909a;
}

body[data-theme='translucent'] {
  --app-border: rgba(255, 255, 255, .22);
  --app-soft: rgba(255, 255, 255, .14);
  --app-soft-strong: rgba(255, 255, 255, .24);
  --app-text: #fff;
  --app-muted: rgba(255, 255, 255, .82);
}

body {
  font-size: 14px;
}

code {
  background: rgba(51, 202, 187, .1);
  border-radius: 3px;
  padding: 1px 5px;
  color: #279e93;
  font-size: 12.5px;
}

body[data-theme='dark'] code {
  background: rgba(51, 202, 187, .16);
  color: #7fd8d0;
}

.app-sub {
  font-size: 13px;
  margin-bottom: 15px;
}

.app-note {
  font-size: 13px;
  margin-bottom: 12px;
}

.app-empty {
  padding: 18px 0;
  margin: 0;
  font-size: 13px;
}

/* ---------- 提示条 ---------- */
.app-flash-stack:empty {
  display: none;
}

.app-flash {
  padding: 12px 40px 12px 16px;
  font-size: 13.5px;
  border-radius: 4px;
}

.app-flash .mdi {
  font-size: 16px;
  vertical-align: -2px;
  margin-right: 4px;
}

/* ---------- 侧边栏 / 顶栏 ---------- */
.app-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
  white-space: nowrap;
}

.app-logo-mark {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  padding: 0 8px;
  border-radius: 9px;
  background: linear-gradient(135deg, #33cabb, #2f6df6);
  color: #fff;
  font-weight: 700;
  letter-spacing: .5px;
  text-align: center;
}

.app-logo-mark-lg {
  min-width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 18px;
}

.app-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: #37404d;
}

body[data-theme='dark'] .app-logo-text {
  color: #bebdc2;
}

.lyear-layout-sidebar-close .app-logo-text {
  display: none;
}

/* 顶栏外链图标（发布面板）：颜色跟随其他顶栏图标，不变成链接色 */
.app-icon-link,
.app-icon-link:hover,
.app-icon-link:focus,
.app-icon-link:active {
  color: inherit;
  text-decoration: none;
}

.app-sidebar-footer {
  height: auto;
  padding: 20px 20px 24px;
  margin-top: 16px;
}

.app-sidebar-footer .app-action-form {
  margin-bottom: 8px;
}

.app-sidebar-note {
  font-size: 12px;
  line-height: 20px;
  color: var(--app-muted);
  margin: 8px 0 0;
}

/* 光年的彩色 logo / 侧边栏 / 头部配色下，文字要跟着变亮 */
[data-logobg*='color_'] .app-logo-text,
[data-sidebarbg*='color_'] .app-sidebar-note,
[data-sidebarbg*='color_'] .app-sidebar-note code {
  color: rgba(255, 255, 255, .88);
}

[data-sidebarbg*='color_'] .app-sidebar-note code {
  background: rgba(255, 255, 255, .18);
}

[data-headerbg*='color_'] .app-page-title {
  color: #fff;
}

[data-headerbg*='color_'] .app-page-desc {
  color: rgba(255, 255, 255, .85);
}

.lyear-layout-sidebar-close .app-sidebar-footer {
  display: none;
}

.app-page-head {
  padding-left: 6px;
}

.app-page-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  line-height: 22px;
  color: #37404d;
}

.app-page-desc {
  margin: 0;
  font-size: 12px;
  color: var(--app-muted);
}

body[data-theme='dark'] .app-page-title {
  color: #bebdc2;
}

.app-action-form {
  margin: 0;
}

.app-action-form .dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.app-menu {
  min-width: 260px;
}

.app-menu .drop-title p,
.app-menu-body {
  padding: 6px 4px;
}

.app-menu-body {
  padding: 4px 0 6px;
}

/* ---------- 统计卡片 ---------- */
.app-stat .card-body {
  padding: 18px 20px;
}

.app-stat-value {
  font-size: 22px;
  line-height: 26px;
  font-weight: 600;
}

.app-stat-value-sm {
  font-size: 16px;
  line-height: 20px;
  word-break: break-all;
}

.app-stat-foot {
  margin-top: 10px;
  font-size: 12.5px;
  text-align: right;
}

.app-stat-hint {
  margin-left: 6px;
  opacity: .8;
}

.app-stat-label {
  opacity: .95;
}

/* ---------- 卡片正文里的按钮组 ---------- */
.app-actions,
.app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-links {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--app-border);
}

.app-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.app-toolbar-search {
  max-width: 280px;
}

.app-toolbar-select {
  max-width: 240px;
}

/* 搜索框旁边的「搜索类型」，短一点才不占地方 */
.app-toolbar-select-narrow {
  width: 108px;
  max-width: 108px;
  flex: 0 0 auto;
}

.app-toolbar-note {
  font-size: 12.5px;
}

/* 目标分类标签组：目标域名列表按分类筛（全部 / 已备案工具网 / …） */
.app-cat-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.app-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  border: 1px solid var(--app-border);
  border-radius: 20px;
  background: var(--app-soft);
  color: var(--app-text);
  font-size: 13px;
  line-height: 22px;
}

.app-cat-tab:hover {
  border-color: var(--app-primary);
  color: var(--app-primary-dark);
  text-decoration: none;
}

.app-cat-tab.is-active {
  background: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
}

.app-cat-tab.is-active:hover {
  color: #fff;
}

.app-cat-count {
  font-size: 12px;
  opacity: .85;
}

/* 顶栏右侧的一键提交部署 */
.app-nav-deploy {
  display: flex;
  align-items: center;
  margin-right: 8px;
}

.app-nav-deploy .btn {
  white-space: nowrap;
}

.app-toolbar .btn.is-active {
  background: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
}

/* 依赖勾选的按钮：勾上任意一行才出现 */
.app-toolbar [data-requires-check] {
  display: none;
}

.app-toolbar.is-checking [data-requires-check] {
  display: inline-block;
}

.app-hints {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.app-hints li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--app-text);
}

.app-hints li:last-child {
  margin-bottom: 0;
}

.app-hints li:before {
  content: "\F12C";
  font-family: "Material Design Icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--app-primary);
}

.app-textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 22px;
}

/* ---------- 行式编辑器 ---------- */
.app-rows {
  border: 1px solid var(--app-border);
  border-radius: 4px;
  overflow: hidden;
}

.app-row {
  display: grid;
  grid-template-columns: 34px 56px minmax(0, 1.05fr) minmax(0, .85fr) minmax(0, 1.05fr) 84px 84px 150px minmax(0, 1.15fr) 220px;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--app-border);
  transition: background .15s;
}

.app-row-account {
  grid-template-columns: minmax(0, 2.2fr) 100px 130px 180px minmax(0, 190px);
}

.app-row:last-child {
  border-bottom: 0;
}

.app-row-head {
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 12.5px;
  font-weight: 600;
  padding-top: 10px;
  padding-bottom: 10px;
}

.app-row:not(.app-row-head):hover {
  background: var(--app-soft);
}

.app-row.is-busy {
  opacity: .6;
}

.app-cell {
  min-width: 0;
}

.app-cell-label {
  display: none;
  font-size: 12px;
  color: var(--app-muted);
  margin-bottom: 3px;
}

.app-cell-note {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  color: var(--app-muted);
}

.app-col-check {
  text-align: center;
}

.app-col-id {
  color: var(--app-muted);
  font-variant-numeric: tabular-nums;
}

.app-col-actions {
  text-align: right;
}

.app-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.app-row-head .app-col-actions {
  padding-right: 2px;
}

.app-inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.app-inline-form .form-control {
  min-width: 130px;
}

.app-inline-add {
  margin-top: 8px;
}

/* 分类页里批量加一级域名：多行文本框 + 按钮，文本框占住剩下的宽度 */
.app-inline-batch {
  align-items: flex-start;
}

.app-inline-batch .app-textarea {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 420px;
  min-height: 62px;
}

.app-col-target {
  width: 300px;
}

/* 合并模式的子行：默认收起，展开后跟在主行下面 */
.app-table > tbody > tr.app-sub-row {
  display: none;
}

.app-table > tbody > tr.app-sub-row.is-open:not([hidden]) {
  display: table-row;
}

.app-table > tbody > tr.app-sub-row > td {
  background: var(--app-soft);
}

.app-table > tbody > tr.app-sub-row:hover > td {
  background: var(--app-soft-strong);
}

.app-table > tbody > tr.app-sub-row > td.app-col-target {
  padding-left: 34px;
}

/* 目标域名列表：勾选列固定窄一点，勾选行的域名用「复制域名」按钮复制 */
.app-table > thead > tr > th.app-col-check,
.app-table > tbody > tr > td.app-col-check {
  width: 36px;
}

.app-sub-branch {
  display: inline-block;
  margin-right: 4px;
  color: var(--app-muted);
}

.app-table > tbody > tr.app-sub-row .app-col-count,
.app-table > tbody > tr.app-sub-row .app-col-time {
  font-size: 12.5px;
}

.app-col-metric {
  width: 220px;
}

.app-table-kv > tbody > tr > td:first-child {
  color: var(--app-muted);
  font-weight: 600;
}

.app-form-hint {
  margin: 8px 0 0;
}

/* 「直接选已有的目标域名」：搜索框 + 可点选的列表 */
.app-picker-search {
  margin-bottom: 6px;
}

.app-picker-list {
  height: auto;
  padding: 4px;
}

.app-settings-preview {
  margin-top: 20px;
}

/* ---------- API 文档 ---------- */
.app-api-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--app-border);
  border-radius: 4px;
  background: var(--app-soft);
}

.app-api-key-main {
  flex: 1 1 320px;
  min-width: 0;
}

.app-api-key-main .app-cell-label {
  margin-right: 8px;
}

.app-api-key-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.app-api-key-actions .app-action-form {
  margin: 0;
}

.app-api-block {
  margin-top: 22px;
}

.app-api-block-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--app-text);
}

.app-api-block-desc {
  font-weight: 400;
  color: var(--app-muted);
}

.app-api-params {
  color: var(--app-muted);
  font-size: 12.5px;
}

.app-pre {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--app-border);
  border-radius: 4px;
  background: var(--app-soft);
  color: var(--app-text);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  cursor: pointer;
}

.app-pre:empty {
  display: none;
}

.app-pre-json {
  max-height: 320px;
  overflow: auto;
}

.app-batch:empty {
  display: none;
}

.app-batch {
  margin-bottom: 14px;
}

/* ---------- 徽章 / 小标签 ---------- */
.app-badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: rgba(140, 144, 154, .12);
  color: var(--app-muted);
  font-size: 12px;
  line-height: 20px;
  white-space: nowrap;
}

.app-badge-btn {
  cursor: pointer;
}

.app-badge-btn:focus {
  outline: none;
}

.app-badge-ok {
  background: rgba(21, 195, 119, .12);
  border-color: rgba(21, 195, 119, .3);
  color: var(--app-ok);
}

.app-badge-none {
  background: rgba(140, 144, 154, .12);
  border-color: rgba(140, 144, 154, .25);
  color: var(--app-muted);
}

.app-badge-warn {
  background: rgba(255, 161, 0, .12);
  border-color: rgba(255, 161, 0, .3);
  color: var(--app-warn);
}

.app-badge-fail {
  background: rgba(232, 76, 99, .12);
  border-color: rgba(232, 76, 99, .3);
  color: var(--app-danger);
}

.app-chip {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 1px 7px;
  border-radius: 4px;
  border: 1px solid var(--app-border);
  background: var(--app-soft);
  color: var(--app-text);
  font-size: 12px;
  line-height: 18px;
  word-break: break-all;
}

.app-dialog-scroll {
  max-height: 320px;
  overflow-y: auto;
  padding: 2px 0;
}

.app-col-step {
  width: 132px;
}

.app-chip-click {
  cursor: pointer;
}

.app-chip-click:hover {
  border-color: var(--app-primary);
  color: #279e93;
}

/* 主域名列表里的分类：正常显示文字，点一下能改这个主域名的分类 */
.app-cell-text {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.app-cell-text:hover {
  color: var(--app-primary);
  text-decoration: underline;
}

.app-cell-text-muted {
  color: var(--app-muted);
}

/* 分类页里「分类名 + 备注 + 保存」一行放不下时自己换行 */
.app-inline-form-wrap {
  flex-wrap: wrap;
}

.app-inline-form-wrap .form-control {
  flex: 1 1 150px;
}

.app-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.app-stepper .btn {
  padding: 1px 6px;
  line-height: 1.4;
}

.app-stepper-value {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
}

.app-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 4px;
}

.app-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.app-radio input {
  margin: 0;
  cursor: pointer;
}

.app-split-roots {
  max-height: 280px;
  overflow-y: auto;
  min-width: 260px;
}

.app-split-roots .dropdown-item {
  white-space: nowrap;
}

.app-split-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.app-split-reroll {
  margin-right: 6px;
}

.app-chip[data-copy] {
  cursor: pointer;
}

.app-chip[data-copy]:hover {
  border-color: var(--app-primary);
  color: #279e93;
}

/* 目标分类页里的一级域名小标签：右边跟一个移除按钮 */
.app-chip-removable {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-right: 3px;
}

.app-chip-removable a {
  color: inherit;
}

.app-chip-removable form {
  display: inline-flex;
  margin: 0;
}

.app-chip-removable button {
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--app-muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.app-chip-removable button:hover {
  color: var(--app-danger);
}

/* 分类标签组里最后的「管理分类」入口，虚线边框跟分类区分开 */
.app-cat-manage {
  border-style: dashed;
  background: transparent;
}

.app-chip-ok {
  background: rgba(21, 195, 119, .1);
  border-color: rgba(21, 195, 119, .3);
  color: var(--app-ok);
}

.app-chip-warn {
  background: rgba(255, 161, 0, .1);
  border-color: rgba(255, 161, 0, .3);
  color: var(--app-warn);
}

.app-chip-fail {
  background: rgba(232, 76, 99, .1);
  border-color: rgba(232, 76, 99, .3);
  color: var(--app-danger);
}

.app-code {
  cursor: pointer;
}

.app-code-wrap {
  word-break: break-all;
}

.app-copy {
  padding: 0 6px;
  line-height: 1;
  vertical-align: 1px;
}

/* 目标域名后面的星标：标上的是一颗实心金色星，一眼能看出来 */
.app-star {
  padding: 0 5px;
  line-height: 1;
  vertical-align: 1px;
  color: var(--app-muted);
}

.app-star:hover,
.app-star:focus {
  color: var(--app-warn);
  text-decoration: none;
}

.app-star.is-starred {
  color: var(--app-warn);
}

.app-link-plain,
.app-link-plain:hover,
.app-link-plain:focus {
  color: inherit;
}

.app-link-plain:hover {
  text-decoration: underline;
}

.is-copied {
  border-color: var(--app-ok) !important;
  color: var(--app-ok) !important;
}

/* ---------- 表格 ---------- */
.app-rows,
.table-responsive {
  border-radius: 4px;
}

.app-table {
  margin-bottom: 0;
  font-size: 13.5px;
}

.app-table > thead > tr > th {
  border-top: 0;
  border-bottom-width: 1px;
  background: var(--app-soft);
  color: var(--app-muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.app-table > thead > tr > th[data-sort],
.app-row-head > [data-sort] {
  cursor: pointer;
  user-select: none;
}

.app-table > thead > tr > th[data-sort]::after,
.app-row-head > [data-sort]::after {
  content: '⇅';
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
  opacity: .45;
}

.app-table > thead > tr > th[data-sort][data-sort-dir='asc']::after,
.app-row-head > [data-sort][data-sort-dir='asc']::after {
  content: '↑';
  opacity: 1;
}

.app-table > thead > tr > th[data-sort][data-sort-dir='desc']::after,
.app-row-head > [data-sort][data-sort-dir='desc']::after {
  content: '↓';
  opacity: 1;
}

.app-table > tbody > tr > td {
  vertical-align: middle;
}

.app-table > tbody > tr:last-child > td {
  border-bottom: 0;
}

/* 检测结果这类表格：说明列内容长，单元格允许换行（Bootstrap 默认给 .table-responsive 里的单元格加了 nowrap） */
.table-responsive > .app-table-wrap > tbody > tr > td,
.table-responsive > .app-table-wrap > thead > tr > th {
  white-space: normal;
}

/* 但这些表格里的域名 chips 不要被拆成两行 */
.table-responsive > .app-table-wrap .app-chip {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* 域名那一列也别折行（表头「未加入的目标域名」不要被拆成两行） */
.table-responsive > .app-table-wrap > thead > tr > th:first-child,
.table-responsive > .app-table-wrap > tbody > tr > td:first-child {
  white-space: nowrap;
}

/* 操作列留够按钮的宽度，别让「查看域名」折成两行 */
.table-responsive > .app-table-wrap > tbody > tr > td.app-col-actions,
.table-responsive > .app-table-wrap > thead > tr > th.app-col-actions {
  white-space: nowrap;
  width: 120px;
}

.app-col-count {
  width: 170px;
  white-space: nowrap;
}

.app-col-state {
  width: 190px;
}

.app-col-local {
  width: 170px;
}

.app-col-time {
  width: 160px;
  white-space: nowrap;
}

.app-bar {
  display: inline-block;
  width: 60px;
  height: 6px;
  margin-left: 6px;
  border-radius: 3px;
  background: var(--app-soft-strong);
  overflow: hidden;
  vertical-align: middle;
}

.app-bar i {
  display: block;
  height: 100%;
  background: var(--app-primary);
}

body[data-theme='dark'] .app-bar {
  background: #3a3d52;
}

/* ---------- 登录页 ---------- */
/* ---------- layer 提示卡片（长消息用） ---------- */
.tz-notice {
  border-radius: 6px;
  border: 1px solid var(--app-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.tz-notice .layui-layer-content {
  padding: 14px 34px 14px 16px;
}

.tz-notice-body {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--app-text);
  word-break: break-word;
}

.tz-notice-error {
  border-color: #f2c6c2;
  background: #fffafa;
}

.tz-notice-error .tz-notice-body {
  color: #b3261e;
}

.layui-layer-msg {
  border-radius: 4px;
  font-size: 13.5px;
  max-width: 420px;
  line-height: 1.7;
}

/* ---------- layer 表单弹窗 ---------- */
.app-layer-dialog {
  border-radius: 6px;
  border: 1px solid var(--app-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  background-color: #fff;
  overflow: hidden;
}

.app-layer-dialog .layui-layer-title {
  height: 46px;
  line-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--app-border);
  background-color: var(--app-soft);
  color: var(--app-text);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 6px 6px 0 0;
}

.app-layer-dialog .layui-layer-content {
  padding: 18px;
  color: var(--app-text);
}

.app-layer-dialog .layui-layer-setwin {
  top: 15px;
  right: 14px;
}

.app-dialog-actions {
  margin-top: 18px;
}

.app-dialog-actions .btn {
  min-width: 100px;
}

body[data-theme='dark'] .app-layer-dialog {
  background-color: #222437;
}

body[data-theme='translucent'] .app-layer-dialog {
  background-color: rgba(255, 255, 255, .96);
  --app-border: #e9edf2;
  --app-soft: #f7f8fc;
  --app-soft-strong: #eef1f7;
  --app-text: #4d5259;
  --app-muted: #8c909a;
}

body[data-theme='translucent'] .app-layer-dialog .form-control {
  background-color: #fff;
  border-color: #d9dee8;
  color: #4d5259;
}

form.is-busy {
  opacity: .65;
}

.app-auth-body {
  background: #fff;
}

.app-auth {
  min-height: 100vh;
}

.app-auth-visual {
  min-height: 100vh;
  background: linear-gradient(150deg, #1f2a44 0%, #14494b 55%, #1f8f86 100%);
  color: #fff;
}

.app-auth-visual-inner {
  align-self: center;
  padding: 56px;
  max-width: 560px;
}

.app-auth-visual h2 {
  color: #fff;
  font-size: 26px;
  margin: 18px 0 12px;
}

.app-auth-visual p {
  color: rgba(255, 255, 255, .78);
  font-size: 13.5px;
  line-height: 24px;
}

.app-auth-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  font-size: 13px;
}

.app-auth-points li {
  color: rgba(255, 255, 255, .86);
  margin-bottom: 10px;
}

.app-auth-points .mdi {
  color: #4fe0d2;
  margin-right: 6px;
}

.app-auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.app-auth-form {
  width: 100%;
  max-width: 400px;
  padding: 40px 28px;
}

.app-auth-title {
  font-size: 22px;
  margin-bottom: 6px;
}

.app-auth-form .app-flash-stack {
  margin-top: 18px;
}

.app-auth-form-body {
  margin-top: 18px;
}

.app-auth-foot {
  margin: 26px 0 0;
  font-size: 12px;
  text-align: center;
}

/* ---------- 响应式 ---------- */
/* 半透明主题下，表格和行编辑器保持白底，避免文字看不清 */
body[data-theme='translucent'] .app-rows,
body[data-theme='translucent'] .table-responsive {
  background-color: rgba(255, 255, 255, .95);
  --app-border: #e9edf2;
  --app-soft: #f7f8fc;
  --app-soft-strong: #eef1f7;
  --app-text: #4d5259;
  --app-muted: #8c909a;
}

body[data-theme='translucent'] .table-responsive .app-table,
body[data-theme='translucent'] .table-responsive .app-note,
body[data-theme='translucent'] .app-rows .text-muted,
body[data-theme='translucent'] .table-responsive .text-muted,
body[data-theme='translucent'] .table-responsive code {
  color: #4d5259 !important;
}

body[data-theme='translucent'] .table-responsive code,
body[data-theme='translucent'] .app-rows code {
  background: var(--app-soft);
}

body[data-theme='translucent'] .app-rows .form-control {
  background-color: #fff;
  border-color: #d9dee8;
  color: #4d5259 !important;
}

body[data-theme='translucent'] .app-rows .form-control::placeholder {
  color: #a4aab6;
}

@media (max-width: 1199.98px) {
  .app-row,
  .app-row-account {
    display: block;
  }

  .app-row-head {
    display: none;
  }

  .app-cell,
  .app-col-check {
    margin-bottom: 10px;
  }

  .app-cell:last-child {
    margin-bottom: 0;
  }

  .app-cell-label {
    display: block;
  }

  .app-col-actions,
  .app-row-actions {
    text-align: left;
    justify-content: flex-start;
  }

  .app-inline-form {
    flex-wrap: wrap;
  }
}

@media (max-width: 575.98px) {
  .app-toolbar-search,
  .app-toolbar-select,
  .app-toolbar-select-narrow {
    max-width: 100%;
  }

  .app-auth-visual-inner {
    padding: 32px;
  }
}

/* ---------- 左侧菜单的二级菜单（系统操作） ---------- */
/* 模板原来给「带子菜单」的项画了个 :after 箭头，这里换成自己的图标，方便跟着展开状态转 */
.nav-drawer .nav-item-has-subnav > a:after {
  content: none;
}

.nav-drawer .nav-item-has-subnav > a .app-nav-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  margin-top: -9px;
  font-size: 18px;
  opacity: .7;
  transition: transform .2s;
}

.nav-drawer .nav-item-has-subnav.open > a .app-nav-arrow {
  transform: rotate(180deg);
}

/* 二级菜单里的链接：比一级轻一点、缩进一点 */
.nav-drawer .nav-subnav > li > a {
  padding: 8px 24px 8px 18px;
  font-size: 13.5px;
  font-weight: 400;
}

.nav-drawer .nav-subnav > li > a > i {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: -2px;
}

/* 侧边栏收起时（鼠标没放在侧边栏上）不显示二级菜单的箭头 */
.lyear-layout-sidebar-close .lyear-layout-sidebar:not(:hover) .nav-item-has-subnav > a .app-nav-arrow {
  display: none;
}
