/* Utility Classes for Common Inline Styles */

/* Display utilities */
.hidden {
    display: none !important;
}

/* Progress bar utilities */
.progress-height-8 {
    height: 8px;
}

.progress-height-10 {
    height: 10px;
}

/* Width utilities for dynamic content */
.width-dynamic {
    /* This will be set via CSS custom properties or inline when needed for dynamic values */
}

/* Tag background utilities */
.tag-bg-dynamic {
    /* Background color will be set via CSS custom properties for dynamic tag colors */
    background-color: rgba(var(--tag-color-rgb), 0.2);
    border: 2px solid var(--tag-color);
    color: var(--tag-color);
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    margin: 0.125rem;
}

.tag-bg-solid {
    /* For solid background variants */
    background-color: var(--tag-color);
    color: white;
    border: 2px solid var(--tag-color);
    border-radius: 20px;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    margin: 0.125rem;
}

/* Progress bar color utilities */
.progress-bar-primary {
    background-color: #007bff;
}

.progress-bar-success {
    background-color: #28a745;
}

.progress-bar-info {
    background-color: #17a2b8;
}

.progress-bar-danger {
    background-color: #dc3545;
}

.progress-bar-secondary {
    background-color: #6c757d;
}

/* Text truncation utilities */
.text-truncate-150 {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-truncate-200 {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-truncate-250 {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Fill utilities for dynamic content */
.reasoning-fill {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

.meter-fill {
    background: linear-gradient(90deg, #28a745 0%, #1e7e34 100%);
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
}
