
/* ---- Model selector ---- */
.model-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.model-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
    color: var(--text);
}
.model-option:hover {
    border-color: rgba(108,99,255,0.4);
    background: rgba(108,99,255,0.06);
}
.model-option.active {
    border-color: var(--accent);
    background: rgba(108,99,255,0.12);
}
.model-icon { font-size: 1.3rem; flex-shrink: 0; }
.model-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.model-info strong { font-size: 0.9rem; color: var(--text); }
.model-info span { font-size: 0.75rem; color: var(--text3); }
.model-cost-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent2);
    background: rgba(167,139,250,0.1);
    border: 1px solid rgba(167,139,250,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Credit status bar ---- */
.credit-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--text3);
}
.credit-balance-display {
    color: var(--accent2);
    font-weight: 600;
}
.credit-cost-display strong {
    color: var(--text);
}

/* ---- Grayed out restricted fields ---- */
.model-restricted {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .model-option { padding: 0.6rem 0.75rem; }
    .model-cost-badge { display: none; }
}
