/*
 * NoteEase 样式文件
 * 
 * 背景图片自定义说明：
 * 1. 将你的背景图片放�?assets 目录�?
 * 2. 修改下方 body 样式中的 url('bg.jpg') 为你的图片名�?
 * 3. 支持的格式：jpg, png, webp �?
 * 4. 当前为纯背景图模式（无彩色渐变蒙层）
 */

:root {
    --theme-primary: #5b67ca;
    --theme-secondary: #00d4ff;
    --theme-accent: #ff6b9d;
    --bg-light: rgba(255, 255, 255, 0.95);
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: transparent;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}

/* 头部样式 */
header {
    text-align: center;
    color: white;
    margin-bottom: 20px;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

header h1 {
    font-size: 2.2em;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1em;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

/* 用户信息�?*/
.user-info {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.welcome {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.user-actions {
    display: flex;
    gap: 8px;
}

.btn-user {
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(91, 103, 202, 0.6), rgba(91, 103, 202, 0.5));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9em;
    border: 1px solid rgba(91, 103, 202, 0.4);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(91, 103, 202, 0.2);
}

.btn-user:hover {
    background: linear-gradient(135deg, rgba(91, 103, 202, 0.8), rgba(91, 103, 202, 0.7));
    box-shadow: 0 4px 12px rgba(91, 103, 202, 0.3);
    transform: translateY(-1px);
}

.btn-logout {
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.6), rgba(255, 71, 87, 0.5));
    color: white;
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(255, 71, 87, 0.2);
}

.btn-logout:hover {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.8), rgba(255, 71, 87, 0.7));
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    transform: translateY(-1px);
}

/* 消息提示 */
.message {
    padding: 14px 18px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.message.success {
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.85), rgba(223, 246, 227, 0.8));
    color: #0d3818;
    border: 1px solid rgba(195, 230, 203, 0.6);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

.message.error {
    background: linear-gradient(135deg, rgba(248, 215, 218, 0.85), rgba(255, 235, 238, 0.8));
    color: #5f0009;
    border: 1px solid rgba(245, 198, 203, 0.6);
    box-shadow: 0 4px 16px rgba(244, 67, 54, 0.15);
}


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏样�?*/
.navigation {
    margin: 0;
    animation: slideIn 0.3s ease-out;
    width: 100%;
}

.nav-container {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 8px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-wrap: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.25);
    align-items: center;
    transition: all 0.3s ease;
}

.nav-container:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
}

.nav-brand {
    color: white;
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-logout-form {
    display: inline;
}

.nav-link {
    min-width: 0;
    padding: 7px 14px;
    text-align: center;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    cursor: pointer;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.btn-logout-nav {
    padding: 7px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-size: 0.95em;
    min-width: auto;
}

.btn-logout-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

/* 搜索�?*/
.search-bar {
    margin-bottom: 20px;
}

.search-bar form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.search-bar form:focus-within {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-bar input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
}

.search-bar input[type="text"]::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.search-bar input[type="text"]:focus {
    outline: none;
    border-color: rgba(91, 103, 202, 0.6);
    background: white;
    box-shadow: 0 0 0 3px rgba(91, 103, 202, 0.1);
}

.search-bar button {
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(91, 103, 202, 0.8), rgba(91, 103, 202, 0.6));
    color: white;
    border: 1px solid rgba(91, 103, 202, 0.4);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(91, 103, 202, 0.25);
}

.search-bar button:hover {
    background: linear-gradient(135deg, rgba(91, 103, 202, 1), rgba(91, 103, 202, 0.8));
    box-shadow: 0 4px 16px rgba(91, 103, 202, 0.35);
    transform: translateY(-1px);
}

.btn-clear {
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(100, 100, 120, 0.7), rgba(80, 80, 100, 0.6));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-clear:hover {
    background: linear-gradient(135deg, rgba(120, 120, 140, 0.9), rgba(100, 100, 120, 0.8));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* 添加笔记按钮 */
.add-note-btn {
    text-align: center;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(91, 103, 202, 0.95), rgba(0, 212, 255, 0.75));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(91, 103, 202, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(91, 103, 202, 1), rgba(0, 212, 255, 0.9));
    box-shadow: 0 8px 24px rgba(91, 103, 202, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* 笔记表单 */
.note-form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    animation: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.note-form h2 {
    margin-bottom: 18px;
    color: white;
    font-size: 1.45em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 0.95em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a2e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.form-group input[type="text"]::placeholder,
.form-group input[type="password"]::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(91, 103, 202, 0.6);
    background: white;
    box-shadow: 0 0 0 3px rgba(91, 103, 202, 0.1), inset 0 1px 2px rgba(0,0,0,0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* 笔记列表 */
.notes-count {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    font-size: 0.95em;
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.note-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.note-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
}

.note-header h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.35em;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -0.3px;
}

.note-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.note-content {
    margin: 14px 0;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    border-left: 3px solid rgba(91, 103, 202, 0.6);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.note-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-edit {
    padding: 9px 16px;
    background: linear-gradient(135deg, rgba(91, 103, 202, 0.8), rgba(91, 103, 202, 0.6));
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-size: 0.95em;
    font-weight: 600;
    border: 1px solid rgba(91, 103, 202, 0.4);
    box-shadow: 0 2px 8px rgba(91, 103, 202, 0.25);
}

.btn-edit:hover {
    background: linear-gradient(135deg, rgba(91, 103, 202, 1), rgba(91, 103, 202, 0.8));
    box-shadow: 0 4px 16px rgba(91, 103, 202, 0.35);
    transform: translateY(-1px);
}

.btn-delete {
    padding: 9px 16px;
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.7), rgba(255, 71, 87, 0.6));
    color: white;
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.95em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.25);
}

.btn-delete:hover {
    background: linear-gradient(135deg, rgba(255, 99, 71, 0.9), rgba(255, 71, 87, 0.8));
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.35);
    transform: translateY(-1px);
}

/* 空状�?*/
.empty-state {
    text-align: center;
    padding: 48px 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.empty-state:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.empty-state p {
    font-size: 1.65em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 600;
}

.empty-hint {
    font-size: 1em !important;
    color: rgba(255, 255, 255, 0.75) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    line-height: 1.6;
}

/* 页脚 */
footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 40px;
    padding: 24px;
    opacity: 0.85;
    font-size: 0.9em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 站点设置页面样式 */
.color-picker-group {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
}

.color-picker {
    width: 60px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.color-picker:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.color-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
}

.form-hint {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.color-preview {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    vertical-align: middle;
    margin-right: 8px;
}

.settings-preview {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.settings-preview h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.preview-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-preview-primary {
    padding: 15px 40px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    cursor: default;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-preview-link {
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    cursor: default;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .note-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .note-actions {
        flex-direction: column;
    }
    
    .btn-edit,
    .btn-delete {
        width: 100%;
        text-align: center;
    }
    
    .search-bar form {
        flex-direction: column;
    }
    
    .search-bar button,
    .btn-clear {
        width: 100%;
    }
    
    .user-info {
        flex-direction: column;
        align-items: center;
    }
    
    .user-actions {
        width: 100%;
        justify-content: center;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-brand {
        text-align: left;
    }

    .nav-links {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-logout-form {
        width: 100%;
    }
    
    .nav-link,
    .btn-logout-nav {
        min-width: 100%;
        width: 100%;
    }
    
    .register-box {
        padding: 22px 16px;
        margin: 0 8px;
    }
    
    .register-box h2 {
        font-size: 1.5em;
    }
}

/* 登录页面样式 */
.login-page .container {
    max-width: none;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
}

.login-page .message {
    width: 100%;
    max-width: 430px;
    margin-bottom: 0;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 32px);
    padding: 0;
}

.login-page .register-container {
    width: 100%;
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    max-width: 430px;
    width: 100%;
    animation: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.login-box:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    background: rgba(255, 255, 255, 0.1);
}

.login-box h2 {
    text-align: center;
    color: white;
    margin-bottom: 24px;
    font-size: 1.95em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.login-hint {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.95), rgba(255, 253, 235, 0.9));
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #333;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.7;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
    font-size: 0.95em;
}

.login-hint code {
    background: rgba(0,0,0,0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    color: #c00;
}

.btn-login {
    width: 100%;
    padding: 14px;
    font-size: 1.1em;
    margin-top: 12px;
    font-weight: 600;
    border-radius: 8px;
}

/* 注册页面样式 */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65vh;
}

.register-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    max-width: 480px;
    width: 100%;
    animation: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.register-box h2 {
    text-align: center;
    color: white;
    margin-bottom: 16px;
    font-size: 1.95em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.register-intro {
    text-align: center;
    color: white;
    margin-bottom: 18px;
    padding: 12px;
    background: rgba(231, 243, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 4px;
    border-left: 3px solid rgba(255, 255, 255, 0.28);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}

.btn-register {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 10px;
}

/* 用户管理页面 */
.user-management {
    animation: fadeIn 0.4s ease-out;
}

.back-btn {
    margin-bottom: 20px;
}

.back-btn a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.1s;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}

.back-btn a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    padding: 18px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.user-info-card h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.info-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9);
    min-width: 100px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.info-item .value {
    color: white;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 响应�?- 登录页面 */
@media (max-width: 768px) {
    .login-container {
        min-height: calc(100svh - 20px);
    }

    .login-page .register-container {
        min-height: auto;
    }

    .login-page .container {
        min-height: 100svh;
        justify-content: center;
        padding: 16px 10px;
    }

    .login-box {
        padding: 30px 20px;
        margin: 0;
    }
    
    .login-box h2 {
        font-size: 1.5em;
    }
}


