/* =============================================================================
   components/tooltips.css - Tooltip Component Styles
   ============================================================================= */

.parameter-tooltip {
    position: fixed !important;
    display: none;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10000 !important;
    min-width: 280px;
    max-width: 350px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.02s ease;
    pointer-events: auto;
    visibility: hidden;
}

.parameter-tooltip.tooltip-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.parameter-tooltip::before,
.parameter-tooltip::after {
    display: none !important;
}

.tooltip-header {
    background: linear-gradient(135deg, #585858 0%, #3b3b3d 100%);
    color: white;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    position: relative;
}

.tooltip-header::before {
    content: '⚙️';
    margin-right: 8px;
}

.tooltip-content {
    padding: 16px;
    max-height: 250px;
    overflow-y: auto;
}

.tooltip-param {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f7fafc;
    font-size: 13px;
}

.tooltip-param:last-child {
    border-bottom: none;
}

.param-name {
    color: #4a5568;
    font-weight: 500;
    flex: 1;
    margin-right: 12px;
}

.param-value {
    color: #2d3748;
    font-weight: 600;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #f7fafc;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    min-width: 60px;
    text-align: center;
}