* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "HarmonyOS Sans", "HarmonyOS Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: #f0f2f5; }
.app-container { display: flex; min-height: 100vh; }

/* 左侧边栏 - 草绿色 */
.sidebar {
    width: 260px;
    background: linear-gradient(135deg, #66bb6a, #388e3c);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.site-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    padding: 30px 20px;
    border-bottom: 1px solid #81c784;
    margin-bottom: 20px;
    width: 100%;
    color: #ffffff;
}
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
    width: 100%;
    align-items: center;
}
.nav-item {
    display: block;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.2s;
    font-size: 16px;
    text-align: center;
    width: 100%;
}
.nav-item:hover {
    background: #81c784;
    transform: translateX(5px);
}
.logout-btn {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #81c784;
    margin-top: auto;
    width: 100%;
}
.logout-btn a {
    color: #fff9c4;
    text-decoration: none;
    font-size: 14px;
}
.logout-btn a:hover {
    text-decoration: underline;
}
.main-content { flex: 1; padding: 30px 40px; background: #ffffff; overflow-y: auto; border-top-left-radius: 20px; border-bottom-left-radius: 20px; box-shadow: -2px 0 10px rgba(0,0,0,0.05); }
.search-bar { margin-bottom: 20px; }
.search-bar form { display: flex; gap: 10px; align-items: center; }
.search-bar input { flex: 1; padding: 8px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; }
.search-bar button, .clear-btn { padding: 8px 16px; background: #2c3e50; color: white; border: none; border-radius: 6px; cursor: pointer; text-decoration: none; }
.clear-btn { background: #6c757d; }
.note-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.note-table th, .note-table td { padding: 12px 8px; text-align: left; border-bottom: 1px solid #ddd; }
.note-table th { background: #f8f9fa; font-weight: 600; }
.note-table tr:hover { background: #f1f3f5; }
.note-table td a { color: #2c3e50; text-decoration: none; }
.note-table td a:hover { color: #3498db; text-decoration: underline; }
.no-result { margin-top: 20px; color: #6c757d; }
.login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #e9ecef; }
.login-box { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); width: 360px; text-align: center; }
.login-box h2 { margin-bottom: 30px; color: #2c3e50; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 6px; font-weight: 500; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; }
.login-btn { width: 100%; padding: 10px; background: #388e3c; color: white; border: none; border-radius: 6px; cursor: pointer; }
.login-btn:hover { background: #2e7d32; }
.error-msg { color: #e74c3c; margin-bottom: 15px; }
@media (max-width: 700px) { .sidebar { width: 80px; } .site-title { font-size: 16px; padding: 20px 5px; } .nav-item { text-align: center; font-size: 12px; padding: 10px 5px; } .main-content { padding: 15px; } }