/* 马拉松赛事网 - 兼容性样式 */

/* 此文件包含与 modern.css 不冲突的必要样式，主要用于保持向后兼容性 */

/* 自定义表单样式 */
.dropdown-item-form {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* 操作按钮组 */
.action-buttons {
    white-space: nowrap;
}

/* 表单验证样式 */
.field-validation-error {
    color: #e74c3c;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: #e74c3c !important;
}

.validation-summary-errors ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* 自定义辅助类 */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cursor-pointer {
    cursor: pointer;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    body {
        background: #fff !important;
    }
    
    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }
}

/* 保留一些可能在 modern.css 中不存在的特殊样式 */
.stats-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}

.stats-card .icon-box i {
    font-size: 1.5rem;
}