/* ====================================================================
   MODEL INFO PANEL - Always visible status panel
   ==================================================================== */
.model-info-panel {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(18, 18, 38, 0.95));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.model-info-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: center;
}

.model-info-section {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}

.lora-stack {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.lora-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    white-space: nowrap;
}

.lora-badge.lora-active {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(136, 51, 255, 0.2));
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

.optimizer-status {
    color: var(--accent);
    font-weight: 600;
}

.info-btn-inline {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 12px;
    cursor: help;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
}

.info-btn-inline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
}

/* Inline tooltips */
.info-btn-inline[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 20, 0.98);
    color: var(--text);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    width: 320px;
    max-width: 90vw;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
    z-index: calc(var(--z-tooltips) + 1);
}

.info-btn-inline:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive model info */
@media (max-width: 1024px) {
    .model-info-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .model-info-section {
        font-size: 11px;
    }

    .info-btn-inline[data-tip]::after {
        width: 280px;
        left: auto;
        right: 0;
        transform: none;
    }
}