@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --blue-900: #0b2b5b;
    --blue-700: #165dce;
    --blue-600: #1b72ff;
    --blue-500: #3a86ff;
    --blue-100: #e9f1ff;
    --blue-50: #f6f9ff;
    --ink-900: #0f1d2b;
    --ink-700: #405266;
    --border: #e2eaf5;
    --shadow: 0 20px 50px rgba(18, 55, 102, 0.12);
}

body {
    background: linear-gradient(180deg, #f7faff 0%, #eff4fb 100%);
    color: var(--ink-900);
    font-family: "Manrope", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.45;
}

body::before {
    top: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(27, 114, 255, 0.28), transparent 60%);
}

body::after {
    bottom: -180px;
    left: -140px;
    background: radial-gradient(circle, rgba(16, 117, 255, 0.22), transparent 60%);
}

a {
    color: var(--blue-700);
    text-decoration: none;
}

a:hover {
    color: var(--blue-600);
}

.layui-header {
    width: 100%;
    height: 84px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(16, 52, 96, 0.08);
    position: relative;
    z-index: 2;
}

.layui-header .layui-container {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.layui-header .logo {
    width: 210px;
    margin: 23px 0;
    float: left;
    font-weight: 500;
}

.layui-header .logo span {
    margin-left: 10px;
}

.layui-header .logo .pic {
    width: 45px;
    margin-bottom: 5px;
}

.layui-header .title {
    position: static;
    height: 40px;
    font-size: 22px;
    line-height: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--blue-900);
    letter-spacing: 0.04em;
}

.layui-content {
    padding: 56px 0 96px;
    position: relative;
    z-index: 1;
    animation: contentFade 0.6s ease both;
}

.layui-fixed {
    width: min(960px, 92vw);
    min-height: 420px;
    background-color: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    animation: cardIn 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.layui-card-header {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.layui-card-header span {
    font-size: 15px;
    color: var(--ink-700);
}

.layui-card-header span:first-child {
    font-size: 16px;
    color: var(--ink-900);
    font-weight: 600;
}

.layui-card-version {
    font-size: 12px;
    color: var(--blue-700);
    background: var(--blue-100);
    border: 1px solid #d6e5ff;
    padding: 4px 10px;
    border-radius: 999px;
}

.layui-card-body {
    padding: 10px 26px 26px;
}

.layui-btn {
    border-radius: 999px;
    height: 40px;
    line-height: 40px;
    padding: 0 24px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.layui-btn-normal {
    background: linear-gradient(135deg, #1b72ff, #4b9bff);
    box-shadow: 0 10px 22px rgba(27, 114, 255, 0.2);
}

.layui-btn-normal:hover {
    background: linear-gradient(135deg, #1b72ff, #61a7ff);
    transform: translateY(-1px);
}

.layui-btn-normal:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(27, 114, 255, 0.18);
}

.layui-center {
    margin: 26px auto;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.layui-textarea {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fbfdff;
    color: var(--ink-700);
}

.layui-step-group {
    width: min(760px, 92vw);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.layui-step {
    height: auto;
    text-align: center;
    margin: 0;
    float: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-700);
    animation: stepIn 0.5s ease both;
}

.layui-step.layui-active .layui-sort {
    background-color: var(--blue-600);
    border-color: rgba(255, 255, 255, 0.8);
}

.layui-step .layui-sort {
    width: 28px;
    height: 28px;
    color: white;
    line-height: 28px;
    text-align: center;
    font-size: 13px;
    border-radius: 50%;
    background-color: #d9e4f4;
    border: 1px solid #c8d8ee;
    display: inline-block;
    font-weight: 600;
}

.layui-step.layui-active .layui-desc {
    color: var(--blue-700);
    font-weight: 600;
}

.layui-step .layui-desc {
    height: 25px;
    line-height: 25px;
    display: inline-block;
    color: #7b8ea6;
    font-size: 14px;
}

.layui-step.layui-line {
    flex: 1;
    height: 2px;
    background-color: #d6e2f2;
    border-radius: 999px;
    margin: 0;
    animation: stepIn 0.5s ease both;
}

.layui-step.layui-active.layui-line {
    background: linear-gradient(90deg, #1b72ff, #6aa8ff);
}

.layui-footer {
    position: fixed;
    right: 0;
    bottom: 0;
    height: 60px;
    line-height: 60px;
    padding: 0 15px;
    width: 100%;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    color: #7a8aa0;
    backdrop-filter: blur(6px);
    border-top: 1px solid #e6edf8;
}

.layui-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.layui-table thead tr {
    color: #fff;
    background: linear-gradient(135deg, #1b72ff, #4b9bff);
}

.layui-table thead tr th {
    width: 33.33333%;
}

.layui-table tbody tr:nth-child(even) {
    background: #f7faff;
}

.dir {
    margin-top: 30px;
}

.dir thead tr {
    background: #1b3d72;
}

.layui-table tr,
.layui-table tr td,
.layui-table tr th {
    text-align: center;
}

.layui-icon-ok-circle {
    font-size: 18px;
    color: #1dbf73;
}

.layui-icon-close-fill {
    color: #ff4d4f;
    font-size: 18px;
}

.layui-icon-face-smile {
    font-size: 30px;
    color: var(--blue-600);
    margin-bottom: 20px;
}

.layui-form[wid100] .layui-form-label {
    width: 100px;
    color: var(--ink-700);
    font-weight: 600;
}

.layui-form-item {
    margin-bottom: 16px;
}

.layui-input,
.layui-select,
.layui-textarea {
    border-radius: 10px;
    border-color: #d7e3f7;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.layui-input:focus,
.layui-textarea:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(27, 114, 255, 0.15);
}

.layui-word-aux {
    color: #6b7c93;
}

.layui-elem-quote {
    background: #f4f8ff;
    border-left: 3px solid var(--blue-500);
    border-radius: 12px;
    color: var(--ink-700);
}

.layui-install,
.layui-complete {
    text-align: center;
    padding: 30px 0 10px;
}

.layui-success {
    font-size: 20px;
    color: var(--blue-900);
    font-weight: 700;
    margin-bottom: 14px;
}

.layui-btn-fixed,
.layui-btn-admin {
    min-width: 140px;
}

.layui-anim {
    width: 150px;
    height: 150px;
    line-height: 150px;
    margin: 0 auto 10px;
    text-align: center;
    background-color: var(--blue-600);
    cursor: pointer;
    color: #fff;
    font-style: normal;
    border-radius: 50%;
}

.layui-step-group .layui-step:nth-child(1) { animation-delay: 0.05s; }
.layui-step-group .layui-step:nth-child(2) { animation-delay: 0.1s; }
.layui-step-group .layui-step:nth-child(3) { animation-delay: 0.15s; }
.layui-step-group .layui-step:nth-child(4) { animation-delay: 0.2s; }
.layui-step-group .layui-step:nth-child(5) { animation-delay: 0.25s; }

@keyframes contentFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(18px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes stepIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .layui-header {
        height: 72px;
    }

    .layui-header .layui-container {
        height: 72px;
    }

    .layui-header .title {
        font-size: 20px;
    }

    .layui-card-header {
        padding: 16px 18px;
    }

    .layui-card-body {
        padding: 12px 18px 22px;
    }

    .layui-step-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .layui-step.layui-line {
        display: none;
    }
}

@media (max-width: 520px) {
    .layui-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .layui-btn {
        width: 100%;
    }

    .layui-center {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .layui-content,
    .layui-fixed,
    .layui-step {
        animation: none;
    }
}
