@charset "UTF-8";

html,
body {
    width: 100%;
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1f2d3d;
    background:
        radial-gradient(circle at 16% 18%, rgba(74, 144, 255, 0.22) 0%, rgba(74, 144, 255, 0) 34%),
        radial-gradient(circle at 82% 18%, rgba(134, 198, 255, 0.28) 0%, rgba(134, 198, 255, 0) 30%),
        radial-gradient(circle at 52% 82%, rgba(96, 176, 255, 0.16) 0%, rgba(96, 176, 255, 0) 28%),
        linear-gradient(135deg, #eef5ff 0%, #e5f0ff 45%, #dbe9ff 100%);
    position: relative;
}

#back {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.74) 0%, rgba(235, 244, 255, 0.62) 48%, rgba(220, 235, 255, 0.42) 100%);
}

#back:before,
#back:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

#back:before {
    top: -18%;
    left: -8%;
    width: 42vw;
    height: 42vw;
    min-width: 380px;
    min-height: 380px;
    background: radial-gradient(circle, rgba(91, 155, 255, 0.28) 0%, rgba(91, 155, 255, 0.1) 45%, rgba(91, 155, 255, 0) 72%);
}

#back:after {
    right: -10%;
    bottom: -16%;
    width: 36vw;
    height: 36vw;
    min-width: 340px;
    min-height: 340px;
    background: radial-gradient(circle, rgba(164, 210, 255, 0.44) 0%, rgba(164, 210, 255, 0.14) 42%, rgba(164, 210, 255, 0) 72%);
}

.backLeft,
.backRight {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.backLeft {
    left: auto;
    background:
        linear-gradient(rgba(73, 128, 214, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(73, 128, 214, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 100%);
    opacity: 0.75;
}

.backRight {
    right: auto;
    background:
        radial-gradient(circle at 25% 20%, rgba(116, 169, 245, 0.16) 0 2px, transparent 2px),
        radial-gradient(circle at 72% 38%, rgba(116, 169, 245, 0.14) 0 2px, transparent 2px),
        radial-gradient(circle at 32% 76%, rgba(116, 169, 245, 0.12) 0 2px, transparent 2px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    background-size: 220px 220px, 320px 320px, 260px 260px, 100% 100%;
    opacity: 0.7;
}

.canvas-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.14;
    z-index: 2;
    mix-blend-mode: multiply;
}

.login-shell {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    padding: 28px;
}

.login-shell:before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 100%);
    pointer-events: none;
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(420px, 1.15fr) minmax(420px, 0.85fr);
    align-items: stretch;
    max-width: 1320px;
    min-height: calc(100vh - 56px);
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.68) 0%, rgba(247, 251, 255, 0.58) 48%, rgba(236, 245, 255, 0.42) 100%);
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: 0 28px 72px rgba(70, 115, 175, 0.18);
    backdrop-filter: blur(18px);
}

.brand-panel {
    position: relative;
    padding: 60px 72px 64px;
    background:
        radial-gradient(circle at 18% 18%, rgba(80, 150, 255, 0.18) 0%, rgba(80, 150, 255, 0) 34%),
        radial-gradient(circle at 85% 78%, rgba(173, 214, 255, 0.22) 0%, rgba(173, 214, 255, 0) 32%),
        linear-gradient(180deg, rgba(46, 111, 214, 0.92) 0%, rgba(27, 84, 181, 0.84) 100%);
}

.brand-panel:before {
    content: "";
    position: absolute;
    inset: 36px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    background-size: 28px 28px, 28px 28px, 100% 100%;
}

.brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    color: #ffffff;
}

.brand-kicker {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.system-name {
    margin: 8px 0 16px;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-desc {
    max-width: 520px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.feature-list span {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f7fbff;
    font-size: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.brand-card {
    margin-top: 36px;
    max-width: 540px;
    padding: 28px 30px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 18px 40px rgba(20, 69, 150, 0.16);
}

.brand-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
}

.brand-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.76);
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background:
        radial-gradient(circle at 18% 12%, rgba(83, 149, 255, 0.08) 0%, rgba(83, 149, 255, 0) 34%),
        linear-gradient(180deg, rgba(251, 253, 255, 0.96) 0%, rgba(244, 248, 255, 0.98) 100%);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px 38px 36px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 253, 255, 0.96) 100%);
    box-shadow: 0 18px 42px rgba(68, 106, 160, 0.12);
    border: 1px solid rgba(211, 226, 246, 0.9);
}

.auth-header {
    margin-bottom: 28px;
}

.auth-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(44, 123, 255, 0.08);
    color: #2b75f6;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.auth-header h2 {
    margin: 18px 0 10px;
    font-size: 30px;
    line-height: 1.25;
    color: #1f3358;
}

.auth-header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #7384a6;
}

.form-element {
    margin-bottom: 20px;
}

.form-stack {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5374;
    letter-spacing: 0.4px;
}

input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #d9deeb;
    border-radius: 12px;
    outline: 0;
    background: #f7f9fc;
    color: #1f2d3d;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

input::placeholder {
    color: #a0a8bf;
}

input:focus,
input:active {
    border-color: #2e7dff;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(46, 125, 255, 0.14);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1f2d3d;
    -webkit-box-shadow: 0 0 0 1000px #f7f9fc inset;
    transition: background-color 9999s ease-out 0s;
}

.field-tip {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #8a90a8;
}

.form-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 6px 0 28px;
    font-size: 12px;
    color: #8a90a8;
}

button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 12px;
    outline: 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

button.login {
    background: linear-gradient(135deg, #1f6fff 0%, #17a0ff 100%);
    box-shadow: 0 16px 30px rgba(31, 111, 255, 0.3);
}

button.login:hover,
button.login:focus,
button.login:active {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1862e5 0%, #1094f4 100%);
    box-shadow: 0 20px 36px rgba(24, 98, 229, 0.34);
}

label.error {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #e45656;
}

@media only screen and (max-width: 1180px) {
    body {
        overflow: auto;
    }

    .login-shell {
        padding: 20px;
    }

    .login-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .brand-panel,
    .auth-panel {
        padding: 40px 28px;
    }

    .brand-panel:before {
        inset: 24px;
    }

    .login-shell:before {
        inset: 12px;
    }

}

@media only screen and (max-width: 768px) {
    .login-shell {
        padding: 12px;
    }

    .brand-panel {
        display: none;
    }

    #back:before {
        width: 72vw;
        height: 72vw;
        min-width: 260px;
        min-height: 260px;
    }

    #back:after {
        width: 64vw;
        height: 64vw;
        min-width: 220px;
        min-height: 220px;
    }

    .auth-panel {
        min-height: 100vh;
        padding: 20px 16px;
    }

    .auth-card {
        max-width: none;
        padding: 30px 22px 24px;
        border-radius: 20px;
    }

    .auth-header h2 {
        font-size: 26px;
    }

    .form-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

}
