/* 培训页面非Bootstrap工具类样式补充 */

/* 颜色类 */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-white {
    color: var(--text-light) !important;
}

.text-gray-500 {
    color: var(--text-muted) !important;
}

.text-gray-600 {
    color: var(--text-secondary) !important;
}

/* 背景类 */
.bg-white {
    background-color: var(--bg-card) !important;
}

.bg-gray-50 {
    background-color: var(--bg-muted) !important;
}

.bg-opacity-10 {
    background-color: rgba(var(--primary-rgb), 0.1) !important;
}

/* 间距类 - 内边距 */
.p-4 {
    padding: 1rem !important;
}

.p-6 {
    padding: 1.5rem !important;
}

/* 间距类 - 外边距 */
.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

.mb-8 {
    margin-bottom: 2rem !important;
}

.mb-10 {
    margin-bottom: 2.5rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-8 {
    margin-top: 2rem !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 0.75rem !important;
}

.mr-4 {
    margin-right: 1rem !important;
}

/* 水平居中 */
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 最大宽度 */
.max-w-3xl {
    max-width: 48rem !important;
}

/* 行高 */
.py-15 {
    padding-top: 3.75rem !important;
    padding-bottom: 3.75rem !important;
}

/* 弹性布局 */
.flex {
    display: flex !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-center {
    justify-content: center !important;
}

.items-center {
    align-items: center !important;
}

.items-start {
    align-items: flex-start !important;
}

/* 文本对齐 */
.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

/* 字体大小 */
.text-sm {
    font-size: 0.875rem !important;
}

.text-4xl {
    font-size: 2.25rem !important;
}

.h2 {
    font-size: 1.875rem !important;
    font-weight: 600 !important;
}

.h4 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
}

.h5 {
    font-size: 1rem !important;
    font-weight: 600 !important;
}

/* 字体权重 */
.font-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* 边框和圆角 */
.rounded-lg {
    border-radius: var(--border-radius) !important;
}

.rounded-xl {
    border-radius: var(--border-radius-lg) !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

/* 阴影 */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

/* 过渡效果 */
.transition-all {
    transition: all 0.3s ease !important;
}

.duration-300 {
    transition-duration: 300ms !important;
}

/* 显示 */
.block {
    display: block !important;
}

.w-full {
    width: 100% !important;
}

/* 列表样式 */
.list-unstyled {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.space-y-2 > * + * {
    margin-top: 0.5rem !important;
}

/* 响应式网格 */
.grid {
    display: grid !important;
}

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

.gap-4 {
    gap: 1rem !important;
}

.gap-8 {
    gap: 2rem !important;
}

.gap-10 {
    gap: 2.5rem !important;
}

/* 响应式断点 - 中等屏幕 */
@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* 响应式断点 - 大屏幕 */
@media (min-width: 992px) {
    .p-6 {
        padding: 2rem !important;
    }
}

/* 响应式断点 - 小屏幕 */
@media (max-width: 767px) {
    .py-15 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .mb-10 {
        margin-bottom: 2rem !important;
    }
    
    .gap-10 {
        gap: 2rem !important;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
}

/* 响应式断点 - 超小屏幕 */
@media (max-width: 575px) {
    .py-15 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .p-6 {
        padding: 1.25rem !important;
    }
    
    .h2 {
        font-size: 1.5rem !important;
    }
}

/* 培训页面特定样式 */
.training-overview.py-15,
.training-targets.py-15,
.training-courses.py-15,
.training-formats.py-15,
.learning-path.py-15,
.training-faq.py-15,
.training-contact.py-15 {
    scroll-margin-top: var(--header-height);
}

/* 进度条样式补充 */
.progress {
    background-color: var(--secondary-light) !important;
}

.progress-bar {
    background-color: var(--primary-color) !important;
}

/* 手风琴样式补充 */
.accordion-item {
    border: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* 动画延迟 */
[data-aos-delay="100"] {
    transition-delay: 0.1s !important;
}

[data-aos-delay="200"] {
    transition-delay: 0.2s !important;
}

[data-aos-delay="300"] {
    transition-delay: 0.3s !important;
}

/* 鼠标悬停效果增强 */
.course-card:hover,
.format-card:hover,
.bg-white.hover-shadow:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-3px) !important;
}

/* 按钮样式补充 */
.training-tab.active {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.accordion-button:hover {
    color: var(--primary-color) !important;
    background-color: var(--bg-muted) !important;
}