/* 高级感登录页样式 - admin-login.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-1: #0f1724;
    /* 深色基底 */
    --accent: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-2: rgba(255, 255, 255, 0.04);
    --card-radius: 14px;
    --text: #e6eef6;
    --muted: #a9bbce;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, Roboto, -apple-system, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(45, 57, 79, 0.6), transparent),
        radial-gradient(1000px 500px at 90% 90%, rgba(33, 147, 176, 0.2), transparent),
        var(--bg-1);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

/* 背景装饰 */
.bg-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-decor .blur-circle {
    position: absolute;
    width: 420px;
    height: 420px;
    filter: blur(80px);
    opacity: 0.45;
}

.bg-decor .c1 {
    left: -10%;
    top: -5%;
    background: linear-gradient(45deg, #ff7eb3, #ff758c)
}

.bg-decor .c2 {
    right: -5%;
    bottom: -10%;
    background: linear-gradient(45deg, #6dd5ed, #2193b0)
}

.login-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
}

/* 左侧信息区 */
.panel-info {
    padding: 48px 36px;
}

.panel-info h2 {
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
}

.panel-info p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
    margin: 0 0 22px
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px
}

.feature {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--muted);
}

/* 右侧表单卡片 */
.login-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 40px rgba(2, 6, 23, 0.6);
    padding: 28px 28px;
    border-radius: var(--card-radius);
    backdrop-filter: blur(8px) saturate(1.1);
    -webkit-backdrop-filter: blur(8px) saturate(1.1);
    width: 420px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px
}

.brand .logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    flex: 0 0 52px;
    background: var(--glass-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 700
}

.brand h3 {
    margin: 0;
    font-size: 20px
}

.input-group {
    margin-bottom: 14px
}

.input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: var(--text);
    outline: none;
    font-size: 15px
}

.input::placeholder {
    color: rgba(255, 255, 255, 0.35)
}

.password-row {
    position: relative
}

.toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    padding: 8px;
    border-radius: 8px
}

.row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px
}

.forgot {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none
}

.btn {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #05202a;
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
    box-shadow: 0 8px 30px rgba(33, 147, 176, 0.18);
}

.small-note {
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 13px
}

.footer-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none
}

/* 响应 */
@media (max-width:980px) {
    .login-wrap {
        grid-template-columns: 1fr;
        max-width: 420px;
        padding: 18px
    }

    .panel-info {
        display: none
    }
}

/* 微交互 */
.input:focus {
    box-shadow: 0 6px 18px rgba(45, 57, 79, 0.5);
    border-color: rgba(109, 213, 237, 0.2)
}

.btn:active {
    transform: translateY(1px)
}

/* 兼容与小细节 */
a {
    color: inherit
}

/* end of admin-login.css */