/* 新模板 CSS - 商务专业风主题 */

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-hover: #f1f5f9;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --radius: 8px;
    --font-family: 'Inter', sans-serif;
}

/* 通用样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-family);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    border: 1px solid var(--border);
}

.card:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

.btn {
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-family);
    text-decoration: none !important;
}

.btn:hover {
    background: var(--secondary-color);
    text-decoration: none !important;
}

/* 导航栏样式 */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    margin-bottom: 10px;
    height: 60px;
    position: relative;
    overflow: visible;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow: visible;
    height: 100%;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

.navbar-nav li {
    display: inline-block;
    margin: 0;
    padding: 0;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-nav a {
    color: var(--text);
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.navbar-nav a:hover {
    color: var(--primary-color);
}

/* 登出按钮样式 */
.navbar-nav button {
    background: none;
    border: none;
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    padding: 0 5px;
    font-family: inherit;
    font-size: 16px;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-nav button:hover {
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding-top: 0px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-nav {
        gap: 15px;
    }
}

/* 页脚样式 */
.site-footer {
    margin-top: 30px;
    padding: 20px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    text-align: center;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    text-align: center;
}