/* 일감 메타정보 배지 스타일 */

.issue-meta-badges {
    display: inline-block !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
}

.meta-badge {
    display: inline-block !important;
    background: #e0f2fe !important;
    color: #0277bd !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    padding: 0px 4px !important;
    border-radius: 10px !important;
    margin-left: 4px !important;
    border: 1px solid #29b6f6 !important;
    white-space: nowrap !important;
    line-height: 14px !important;
    min-height: 12px !important;
    cursor: help !important;
}

.meta-badge.comments {
    background: #e3f2fd !important;
    color: #1976d2 !important;
    border-color: #3b82f6 !important;
}

.meta-badge.children {
    background: #e8f5e8 !important;
    color: #388e3c !important;
    border-color: #66bb6a !important;
}

.meta-badge.attachments {
    background: #fff3e0 !important;
    color: #f57c00 !important;
    border-color: #ffb74d !important;
}

/* 호버 효과 */
.meta-badge:hover {
    opacity: 0.8 !important;
    transform: scale(1.05) !important;
    transition: all 0.2s ease !important;
}

/* 다크 모드 대응 */
.theme-dark .meta-badge {
    border-width: 1px !important;
}

.theme-dark .meta-badge.comments {
    background: #1976d2 !important;
    color: #e3f2fd !important;
}

.theme-dark .meta-badge.children {
    background: #388e3c !important;
    color: #e8f5e8 !important;
}

.theme-dark .meta-badge.attachments {
    background: #f57c00 !important;
    color: #fff3e0 !important;
}

/* 로딩 상태 */
.meta-badge.loading {
    background: #f5f5f5 !important;
    color: #999 !important;
    border-color: #ddd !important;
}

.meta-badge.loading::after {
    content: "..." !important;
    animation: loading-dots 1.5s infinite !important;
}

@keyframes loading-dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .meta-badge {
        font-size: 7px !important;
        padding: 0px 3px !important;
        margin-left: 2px !important;
    }
    
    .issue-meta-badges {
        margin-left: 4px !important;
    }
}