/* 通用样式 - C919 机组综合平台 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: #f5f7fa;
    min-height: 100vh;
}

/* 顶部导航栏 - 航空科技感 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: linear-gradient(135deg, #0f2d5e 0%, #1a4a7a 50%, #0d3b66 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(13, 59, 102, 0.25);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-logo:hover {
    background: rgba(255,255,255,0.1);
}

.nav-logo-icon {
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

.nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

/* 主内容区域 */
.main-content {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 24px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 16px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: #1677ff;
    color: white;
}

.btn-primary:hover {
    background: #0958d9;
}

.btn-secondary {
    background: #f2f3f5;
    color: #1d2129;
}

.btn-secondary:hover {
    background: #e5e6eb;
}

/* 响应式 */
@media (max-width: 768px) {
    .top-nav {
        padding: 0 12px;
    }
    
    .nav-logo {
        font-size: 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .card {
        padding: 16px;
    }
}
