/* +----------------------------------------------------------------------
/* | Static Plugin for ThinkAdmin
/* +----------------------------------------------------------------------
/* | 官方网站: https://thinkadmin.top
/* +----------------------------------------------------------------------
/* | 版权所有 2014~2025 ThinkAdmin [ thinkadmin.top ]
/* +----------------------------------------------------------------------
/* | 开源协议 ( https://mit-license.org )
/* | 免责声明 ( https://thinkadmin.top/disclaimer )
/* +----------------------------------------------------------------------
/* | gitee 代码仓库：https://gitee.com/zoujingli/think-plugs-static
/* | github 代码仓库：https://github.com/zoujingli/think-plugs-static
/* +----------------------------------------------------------------------
/* | 自定义后台扩展样式，需要在加载 console.css 后载入
/* | 使用 composer require zoujingli/think-plugs-static 时不会更新此文件
/* +---------------------------------------------------------------------- */

/* 兼容菜单图标只填写 layui-icon-xxx、漏写 layui-icon 基础类的情况 */
.layui-side-tree .nav-icon,
.layui-side-icon a i {
    font-family: layui-icon !important;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 业务弹窗表单（新增博主、交易账号、跟单任务、模拟信号） */
.hy-modal-form {
    padding: 22px 24px 16px;
}

.hy-modal-form .hy-modal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}

.hy-modal-form .hy-modal-field {
    flex: 1 1 200px;
    min-width: 180px;
    margin-bottom: 16px;
}

.hy-modal-form .hy-modal-label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-size: 13px;
    line-height: 20px;
}

.hy-modal-form .hy-modal-label.required::after {
    content: " *";
    color: #e74c3c;
}

.hy-modal-form .hy-modal-note {
    margin-top: 6px;
    color: #95a5a6;
    font-size: 12px;
    line-height: 18px;
}

.hy-modal-form .hy-modal-note.is-ok {
    color: #1d9b6c;
}

.hy-modal-form .hy-modal-note.is-error {
    color: #d9534f;
}

.hy-modal-form .hy-modal-note.is-loading {
    color: #3f8fd8;
}

.hy-modal-form .hy-modal-hint {
    margin: 4px 0 16px;
    padding: 12px 14px;
    border-radius: 6px;
    background: #f7f9fc;
    color: #7f8c8d;
    font-size: 12px;
    line-height: 22px;
}

.hy-modal-form .hy-modal-footer {
    padding-top: 14px;
    border-top: 1px solid #eef1f5;
    text-align: right;
}

.hy-modal-form .hy-modal-footer .layui-btn {
    margin-left: 8px;
}

.hy-modal-form .layui-input,
.hy-modal-form select {
    height: 38px;
    border-radius: 6px;
}

.hy-modal-form .layui-form-select dl {
    max-height: 260px;
}

/* 登录页左右分栏，样式以 k-login 作用域隔离主题样式。 */
body.k-login-body {
    min-height: 100vh;
    background: #f3f5fb;
}

.k-login {
    --brand: #5b5bd6;
    --brand-deep: #4747ba;
    --ink: #20243a;
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    background: #fff;
}

.k-login-brand {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 64px clamp(40px, 7vw, 110px);
    background: linear-gradient(145deg, #f0f0ff 0%, #f7f8ff 48%, #edf6ff 100%);
}

.k-login-brand::before,
.k-login-brand::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.k-login-brand::before {
    right: -180px;
    bottom: -170px;
    width: 500px;
    height: 500px;
    border: 80px solid rgba(91, 91, 214, .045);
}

.k-login-brand::after {
    top: -140px;
    left: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(133, 133, 230, .09), transparent 70%);
}

.k-login-brand-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 610px;
    margin: auto;
}

.k-login-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 46px;
    color: #343a59;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .5px;
}

.k-login-logo-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #7272e5, #5353c7);
    box-shadow: 0 8px 20px rgba(91, 91, 214, .23);
    font-size: 22px;
}

.k-login-brand h1 {
    margin: 0;
    color: #272d49;
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -1px;
}

.k-login-brand h1 span {
    color: var(--brand);
}

.k-login-brand > .k-login-brand-inner > p {
    margin: 20px 0 0;
    color: #767e99;
    font-size: 15px;
    line-height: 1.9;
}

.k-login-preview {
    position: relative;
    width: 100%;
    max-width: 530px;
    height: 218px;
    margin-top: 44px;
}

.k-preview-window {
    position: absolute;
    inset: 10px 70px 0 0;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, .85);
    border-radius: 17px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 18px 50px rgba(65, 70, 124, .12);
}

.k-preview-bar {
    display: flex;
    height: 30px;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    border-bottom: 1px solid #eceef6;
    background: #fff;
}

.k-preview-bar i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d8dbea;
}

.k-preview-content {
    display: grid;
    height: calc(100% - 30px);
    grid-template-columns: 70px minmax(0, 1fr);
}

.k-preview-nav {
    padding: 18px 10px;
    background: #fafaff;
}

.k-preview-nav span {
    display: block;
    height: 6px;
    margin-bottom: 13px;
    border-radius: 4px;
    background: #e3e4f3;
}

.k-preview-nav span:first-child {
    background: #aaaae9;
}

.k-preview-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
    gap: 10px;
    padding: 18px;
}

.k-preview-mini-card {
    height: 56px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(47, 51, 94, .05);
}

.k-preview-mini-card::before {
    display: block;
    width: 22px;
    height: 5px;
    margin: 11px 0 8px;
    border-radius: 4px;
    background: #e7e7f7;
    content: "";
}

.k-preview-mini-card::after {
    display: block;
    width: 36px;
    height: 9px;
    margin-left: 11px;
    border-radius: 4px;
    background: #c8c8f0;
    content: "";
}

.k-preview-chart {
    grid-column: 1 / -1;
    display: flex;
    height: 60px;
    align-items: flex-end;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
}

.k-preview-chart span {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(#aaa9ed, #e2e2fa);
}

.k-preview-float {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    width: 126px;
    height: 96px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 15px 35px rgba(63, 67, 120, .13);
}

.k-cutout-shape {
    position: relative;
    width: 40px;
    height: 48px;
    border-radius: 15px 15px 20px 20px;
    background: linear-gradient(145deg, #c8c8f4, #8585df);
}

.k-cutout-shape::before,
.k-cutout-shape::after {
    position: absolute;
    width: 18px;
    height: 25px;
    border-radius: 50%;
    background: inherit;
    content: "";
}

.k-cutout-shape::before {
    top: -8px;
    left: -6px;
    transform: rotate(-25deg);
}

.k-cutout-shape::after {
    top: -6px;
    right: -5px;
    transform: rotate(25deg);
}

.k-preview-float b {
    color: var(--brand);
    font-size: 23px;
}

.k-preview-float small {
    display: block;
    margin-top: 3px;
    color: #8b92a8;
    font-size: 10px;
}

.k-login-brand-footer {
    position: absolute;
    right: 40px;
    bottom: 28px;
    left: 40px;
    z-index: 1;
    color: #959bb1;
    font-size: 11px;
}

.k-login-aside {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #fff;
}

.k-login-card {
    width: 100%;
    max-width: 380px;
}

.k-login-card h2 {
    margin: 0;
    color: #262d47;
    font-size: 27px;
    font-weight: 650;
    letter-spacing: -.5px;
}

.k-login-subtitle {
    margin: 10px 0 34px;
    color: #8a91a6;
    font-size: 13px;
    line-height: 1.7;
}

.k-login-card form ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.k-login-card form li {
    position: relative;
    margin: 0 0 19px;
    padding: 0;
    text-shadow: none;
}

.k-login-card form label.label-required-null {
    display: block;
}

.k-login-card form li i.layui-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    padding: 0;
    color: #939ab0;
    font-size: 18px;
    transform: translateY(-50%);
}

.k-login-card input.layui-input {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 46px;
    border: 1px solid #e2e6f0;
    border-radius: 10px;
    background: #fafbfe;
    color: var(--ink);
    font-size: 14px;
    line-height: normal;
    text-indent: 0;
    text-shadow: none;
    letter-spacing: 0;
    -webkit-text-fill-color: var(--ink) !important;
    box-shadow: none !important;
}

.k-login-card input.layui-input:focus {
    border-color: #9696e9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(91, 91, 214, .08) !important;
}

.k-login-card input:-webkit-autofill,
.k-login-card input:-webkit-autofill:hover,
.k-login-card input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fafbfe inset !important;
    -webkit-text-fill-color: var(--ink) !important;
}

.k-login-card li.verify {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    gap: 12px;
}

.k-login-card li.verify.layui-hide {
    display: none !important;
}

.k-login-card [data-captcha] {
    display: flex;
    width: 112px;
    height: 48px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e6f0;
    border-radius: 10px;
    background: #f7f8fc;
    cursor: pointer;
}

.k-login-card [data-captcha] img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
}

.k-login-card li.text-center {
    margin-top: 26px;
}

.k-login-card form li button {
    width: 100%;
    height: 48px;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(100deg, #6868df, #5252c8) !important;
    color: #fff !important;
    font-size: 15px;
    letter-spacing: 2px;
    box-shadow: 0 9px 20px rgba(91, 91, 214, .2) !important;
    transition: transform .2s, box-shadow .2s;
}

.k-login-card form li button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(91, 91, 214, .27) !important;
}

.k-login-footer {
    margin-top: 42px;
    color: #a2a8b8;
    text-align: center;
    font-size: 11px;
    line-height: 2;
}

.k-login-footer a {
    color: #7e859c;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .k-login {
        grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
    }

    .k-login-brand {
        padding: 48px 40px;
    }

    .k-login-preview {
        transform: scale(.9);
        transform-origin: left center;
    }

    .k-preview-float {
        right: 0;
    }
}

@media (max-width: 820px) {
    .k-login {
        display: block;
        min-height: 100vh;
        background: #fff;
    }

    .k-login-brand {
        display: none;
    }

    .k-login-aside {
        min-height: 100vh;
        padding: 32px 24px;
    }

    .k-login-card {
        max-width: 410px;
    }
}

@media (max-width: 600px) {
    .k-login-aside {
        padding: 28px 20px;
    }

    .k-login-card h2 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .k-login-card form li button {
        transition: none !important;
    }
}

