/* InlineSelect Atom - Compact select for table cells and tight layouts */
/* SPACING CONTRACT: No external margins. Parent controls spacing. */

.inline-select {
    appearance: none;
    width: 100%;
    padding: var(--space-1) var(--space-5) var(--space-1) var(--space-2);
    font-family: var(--font-family-sans);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-tight);
    color: var(--text-body);
    background-color: var(--bg-surface);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-1) center;
    background-size: 14px;
    border: var(--border-width-1) solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    box-sizing: border-box;
    max-width: 180px;
    transition: border-color var(--duration-150) var(--easing-out);
}

.inline-select:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: var(--focus-ring-shadow);
}

.inline-select:hover:not(:disabled) {
    border-color: var(--border-default);
}

.inline-select:disabled {
    background-color: var(--bg-panel);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}

/* Muted variant - blends into table background until hovered */
.inline-select-muted {
    background-color: transparent;
    border-color: transparent;
}

.inline-select-muted:hover:not(:disabled) {
    background-color: var(--bg-surface);
    border-color: var(--border-subtle);
}

.inline-select-muted:focus {
    background-color: var(--bg-surface);
    border-color: var(--border-focus);
}
