/**
 * Variable Helper Styles
 * 
 * Styles for the variable suggestion UI and variable highlighting.
 */

/* Input fields with variables */
.has-variables {
    background-color: #f8f9ff;
    border-color: #91a7ff !important;
}

/* Variable button */
.variable-button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 12px;
    vertical-align: middle;
    transition: background-color 0.2s;
}

.variable-button:hover {
    background: #e0e0e0;
}

/* Variable suggestions dropdown */
.variable-suggestions {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    width: 300px;
}

.variable-suggestions-heading {
    padding: 8px 12px;
    font-weight: bold;
    background-color: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.variable-suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.variable-suggestion-item:hover {
    background: #f5f5f5;
}

.variable-suggestion-item strong {
    color: #3366cc;
    font-family: monospace;
}

.variable-description {
    color: #666;
    font-size: 0.9em;
    margin-left: 5px;
}

/* Highlight variables in text */
.variable-highlight {
    background-color: #e6f7ff;
    border-radius: 3px;
    padding: 0 3px;
    border: 1px solid #91d5ff;
    font-family: monospace;
}
