/* CmsproNav 前台样式 - 卡片网格风格 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

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

/* 头部 */
.nav-header {
    background: linear-gradient(135deg, #1e9fff 0%, #5fb8ff 100%);
    color: #fff;
    padding: 60px 0 40px;
    text-align: center;
}

.nav-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.nav-subtitle {
    font-size: 16px;
    opacity: 0.9;
}

/* 主内容区 */
.nav-main {
    padding: 30px 0 60px;
}

/* 空状态 */
.nav-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.nav-empty i {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.nav-empty p {
    font-size: 15px;
}

/* 分类区块 */
.nav-section {
    margin-bottom: 40px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e6e6e6;
}

.nav-section-icon {
    font-size: 20px;
    color: #1e9fff;
    margin-right: 8px;
}

.nav-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.nav-section-desc {
    margin-left: 12px;
    font-size: 13px;
    color: #999;
}

/* 卡片网格 */
.nav-grid {
    display: grid;
    gap: 16px;
}

/* 链接卡片 */
.nav-card {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1e9fff;
}

.nav-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 8px;
    margin-right: 12px;
}

.nav-card-icon i {
    font-size: 20px;
    color: #1e9fff;
}

.nav-card-body {
    flex: 1;
    min-width: 0;
}

.nav-card-title {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-card-desc {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 页脚 */
.nav-footer {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 13px;
    border-top: 1px solid #e6e6e6;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-header {
        padding: 40px 0 30px;
    }

    .nav-title {
        font-size: 24px;
    }

    .nav-subtitle {
        font-size: 14px;
    }

    .nav-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .nav-card {
        padding: 12px;
    }

    .nav-card-icon {
        width: 32px;
        height: 32px;
    }

    .nav-card-icon i {
        font-size: 16px;
    }

    .nav-card-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .nav-grid {
        grid-template-columns: 1fr !important;
    }
}
