/* --- 全局设置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; } /* 让容器可以撑满屏幕 */
body {
    background-color: #0d0d0f; /* 深黑背景 */
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", "Arial", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

a { color: #00ff9d; text-decoration: none; }
a:hover { opacity: 0.8; }

/* --- 主容器 --- */
.container {
    width: 100%;
    max-width: 400px; /* 限制登录框宽度 */
}

/* --- 登录框样式 --- */
.login-box {
    background: #1a1a1a;
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid #282828;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

/* Logo (复用 support 站样式) */
.lucent-hearts-logo-small {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}
.lucent-hearts-logo-small .logo-leaf { fill: none; stroke: #666; stroke-width: 4; }
.lucent-hearts-logo-small .logo-aperture { fill: rgba(0, 255, 157, 0.1); stroke: #00ff9d; stroke-width: 1; }
.lucent-hearts-logo-small .logo-spark { fill: #00ff9d; }


.login-box h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 600;
}

.description {
    color: #aaa;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* 表单样式 (复用 support 站样式) */
.form-group {
    margin-bottom: 20px;
    text-align: left; /* 标签左对齐 */
}
.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    background: #252525;
    border: 1px solid #333;
    border-radius: 4px;
    color: #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #00ff9d;
    box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
}

.submit-button {
    display: block;
    width: 100%;
    padding: 12px; /* 调整 padding */
    background-color: #00ff9d;
    color: #121212;
    border: none;
    border-radius: 4px;
    font-size: 1rem; /* 调整字号 */
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 10px; /* 调整与上方间距 */
}
.submit-button:hover { background-color: #33ffb8; }
.submit-button:active { transform: scale(0.98); }

/* 错误消息 */
.error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 15px;
    min-height: 1.2em; /* 预留空间 */
}

/* 返回主站链接 */
.back-link {
    margin-top: 25px;
    font-size: 0.85rem;
}
.back-link a {
    color: #888;
    text-decoration: underline;
}
.back-link a:hover {
    color: #ccc;
}