/* 字体大小调整CSS文件 */
/* 将系统中的文字普遍降低一个字号 */

/* 标题类字体调整 */
.text-3xl {
    @apply text-2xl;
}

.text-2xl {
    @apply text-xl;
}

.text-xl {
    @apply text-lg;
}

.text-lg {
    @apply text-base;
}

.text-base {
    @apply text-sm;
}

.text-sm {
    @apply text-xs;
}

/* 特定元素字体调整 */
h1 {
    @apply text-2xl;
}

h2 {
    @apply text-xl;
}

h3 {
    @apply text-lg;
}

h4 {
    @apply text-base;
}

h5 {
    @apply text-sm;
}

h6 {
    @apply text-xs;
}

/* 表格标题字体调整 */
.text-xs.font-medium {
    @apply text-2xs;
}

/* 按钮字体调整 */
.btn, button {
    @apply text-sm;
}

/* 导航栏字体调整 */
.nav-link {
    @apply text-sm;
}

.sidebar-item {
    @apply text-sm;
}

/* 表单元素字体调整 */
.form-label {
    @apply text-xs;
}

.form-control {
    @apply text-sm;
}

/* 卡片标题字体调整 */
.card-title {
    @apply text-base;
}

/* 统计数字字体调整 */
.text-2xl.font-bold {
    @apply text-xl;
}

/* 任务列表字体调整 */
.task-content {
    @apply text-sm;
}

.task-meta {
    @apply text-xs;
}

/* 资料列表字体调整 */
.material-title {
    @apply text-base;
}

.material-meta {
    @apply text-xs;
}

/* 分页字体调整 */
.pagination a {
    @apply text-sm;
}

/* 响应式字体调整 */
@media (max-width: 768px) {
    .text-3xl {
        @apply text-xl;
    }
    
    .text-2xl {
        @apply text-lg;
    }
    
    .text-xl {
        @apply text-base;
    }
    
    .text-lg {
        @apply text-sm;
    }
    
    .text-base {
        @apply text-xs;
    }
}