/**
 * === ADMIN-AI.CSS ===
 * assets/css/admin-ai.css
 * НАЗНАЧЕНИЕ: Стили для админ-панели AI
 * РАЗМЕР: ~250 строк
 */

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes adminFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LAYOUT
   ============================================ */
.admin-ai-layout {
    min-height: 100vh;
    background: var(--bg-primary, #0a0a0a);
    color: var(--text-primary, #f0f0f0);
}

/* ============================================
   HEADER
   ============================================ */
.admin-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: var(--card-bg, #111);
    border-bottom: 1px solid var(--border-color, #1a1a1a);
}

.admin-ai-header h1 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-ai-header .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    color: var(--text-muted, #888);
    background: transparent;
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s;
}

.admin-ai-header .back-btn:hover {
    color: var(--text-primary, #f0f0f0);
    border-color: var(--color-primary, #22d3ee);
}

/* ============================================
   TABS
   ============================================ */
.admin-ai-tabs {
    display: flex;
    gap: 0;
    padding: 0 20px;
    background: var(--card-bg, #111);
    border-bottom: 1px solid var(--border-color, #1a1a1a);
    overflow-x: auto;
}

.admin-ai-tabs .ai-tab {
    position: relative;
    padding: 10px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted, #888);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s;
}

.admin-ai-tabs .ai-tab:hover {
    color: var(--text-primary, #f0f0f0);
}

.admin-ai-tabs .ai-tab.active {
    color: var(--text-primary, #f0f0f0);
}

.admin-ai-tabs .ai-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, #22d3ee, #a78bfa);
    border-radius: 2px 2px 0 0;
}

/* ============================================
   CONTENT
   ============================================ */
.admin-ai-content {
    padding: 10px 20px 20px;
    animation: adminFadeIn 0.3s ease;
}

.admin-ai-content > div {
    display: none;
}

.admin-ai-content > div.active {
    display: block;
}

/* ============================================
   DASHBOARD — STATS GRID
   ============================================ */
.admin-ai-dashboard {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stats-row {
    display: grid;
    gap: 10px;
}

.stats-row.main-stats {
    grid-template-columns: repeat(4, 1fr);
}

.stats-row.secondary-stats {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: var(--card-bg, #111);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: hsl(187 94% 48% / 0.3);
    box-shadow: 0 4px 20px hsl(187 94% 48% / 0.08);
}

.stat-card .stat-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: hsl(187 94% 48% / 0.1);
    color: #22d3ee;
}

.stat-card .stat-info {
    flex: 1;
    min-width: 0;
}

.stat-card .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary, #f0f0f0);
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted, #888);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   CHART CONTAINER
   ============================================ */
.chart-container {
    padding: 10px;
    background: var(--card-bg, #111);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
    margin-top: 10px;
}

.chart-container .chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.chart-container .chart-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.chart-container canvas {
    width: 100% !important;
    max-height: 260px;
}

/* ============================================
   PROVIDERS
   ============================================ */
.admin-ai-providers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.provider-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--card-bg, #111);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.provider-card:hover {
    border-color: hsl(187 94% 48% / 0.25);
}

.provider-card.is-default {
    border-color: hsl(187 94% 48% / 0.4);
    background: hsl(187 94% 48% / 0.04);
}

.provider-card .provider-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: hsl(262 83% 58% / 0.1);
    color: #a78bfa;
    font-size: 1.125rem;
}

.provider-card .provider-info {
    flex: 1;
    min-width: 0;
}

.provider-card .provider-name {
    font-size: 0.875rem;
    font-weight: 600;
}

.provider-card .provider-model {
    font-size: 0.75rem;
    color: var(--text-muted, #888);
}

.provider-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
}

.provider-status.active {
    background: hsl(142 71% 45% / 0.12);
    color: #22c55e;
}

.provider-status.active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
}

.provider-status.inactive {
    background: hsl(0 0% 50% / 0.12);
    color: #888;
}

.provider-status.inactive::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #888;
}

.provider-card .provider-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
}

/* ============================================
   PROMPTS
   ============================================ */
.admin-ai-prompts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prompt-card {
    background: var(--card-bg, #111);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
    overflow: hidden;
    transition: border-color 0.2s;
}

.prompt-card:hover {
    border-color: hsl(262 83% 58% / 0.25);
}

.prompt-card .prompt-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    user-select: none;
}

.prompt-card .prompt-header .prompt-arrow {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: var(--text-muted, #888);
    transition: transform 0.2s;
}

.prompt-card.collapsed .prompt-header .prompt-arrow {
    transform: rotate(-90deg);
}

.prompt-card .prompt-title {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prompt-category {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
}

.prompt-category.system {
    background: hsl(210 90% 50% / 0.12);
    color: #60a5fa;
}

.prompt-category.template {
    background: hsl(142 71% 45% / 0.12);
    color: #34d399;
}

.prompt-category.instruction {
    background: hsl(45 93% 47% / 0.12);
    color: #fbbf24;
}

.prompt-card .prompt-body {
    padding: 0 10px 10px;
}

.prompt-card.collapsed .prompt-body {
    display: none;
}

.prompt-editor {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    font-size: 0.8125rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    line-height: 1.6;
    color: var(--text-primary, #f0f0f0);
    background: hsl(222 47% 5%);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: 8px;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.prompt-editor:focus {
    outline: none;
    border-color: hsl(262 83% 58% / 0.5);
    box-shadow: 0 0 0 3px hsl(262 83% 58% / 0.1);
}

.prompt-card .prompt-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 8px;
}

/* ============================================
   SITES TABLE
   ============================================ */
.admin-ai-sites {
    animation: adminFadeIn 0.3s ease;
}

.sites-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
}

.sites-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.sites-table th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #888);
    background: hsl(222 47% 7%);
    border-bottom: 1px solid var(--border-color, #1a1a1a);
    white-space: nowrap;
}

.sites-table td {
    padding: 10px;
    color: var(--text-primary, #f0f0f0);
    border-bottom: 1px solid hsl(222 30% 12%);
    vertical-align: middle;
}

.sites-table tbody tr {
    transition: background 0.15s;
}

.sites-table tbody tr:hover {
    background: hsl(222 47% 8%);
}

.sites-table tbody tr:last-child td {
    border-bottom: none;
}

.publish-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 9999px;
    white-space: nowrap;
}

.publish-badge.published {
    background: hsl(142 71% 45% / 0.12);
    color: #22c55e;
}

.publish-badge.published::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
}

.publish-badge.draft {
    background: hsl(38 92% 50% / 0.12);
    color: #f59e0b;
}

.publish-badge.draft::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f59e0b;
}

/* ============================================
   BUTTONS (admin-ai specific)
   ============================================ */
.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.ai-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ai-btn:active:not(:disabled) {
    transform: scale(0.97);
}

.ai-btn-primary {
    background: linear-gradient(135deg, #22d3ee, #a78bfa);
    color: #0a0a0a;
    font-weight: 600;
}

.ai-btn-primary:hover:not(:disabled) {
    opacity: 0.9;
    box-shadow: 0 4px 16px hsl(187 94% 48% / 0.25);
}

.ai-btn-ghost {
    background: transparent;
    color: var(--text-muted, #888);
    border: 1px solid var(--border-color, #1a1a1a);
}

.ai-btn-ghost:hover:not(:disabled) {
    color: var(--text-primary, #f0f0f0);
    border-color: hsl(222 30% 25%);
    background: hsl(222 47% 10%);
}

.ai-btn-danger {
    background: hsl(0 72% 51% / 0.12);
    color: #ef4444;
    border: 1px solid hsl(0 72% 51% / 0.2);
}

.ai-btn-danger:hover:not(:disabled) {
    background: hsl(0 72% 51% / 0.2);
    border-color: hsl(0 72% 51% / 0.35);
}

.ai-btn-sm {
    padding: 4px 8px;
    font-size: 0.75rem;
}

/* ============================================
   FORM INPUTS (admin-ai specific)
   ============================================ */
.ai-input {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8125rem;
    color: var(--text-primary, #f0f0f0);
    background: hsl(222 47% 5%);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ai-input::placeholder {
    color: var(--text-muted, #888);
}

.ai-input:focus {
    outline: none;
    border-color: hsl(187 94% 48% / 0.5);
    box-shadow: 0 0 0 3px hsl(187 94% 48% / 0.1);
}

.ai-select {
    appearance: none;
    width: 100%;
    padding: 8px 30px 8px 10px;
    font-size: 0.8125rem;
    color: var(--text-primary, #f0f0f0);
    background: hsl(222 47% 5%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ai-select:focus {
    outline: none;
    border-color: hsl(187 94% 48% / 0.5);
}

.ai-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-form-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted, #888);
}

/* ============================================
   MODAL (prompt editing)
   ============================================ */
.ai-modal-backdrop {
    position: fixed;
    inset: 0;
    background: hsl(0 0% 0% / 0.7);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.ai-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.ai-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: calc(100% - 40px);
    max-width: 600px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: var(--card-bg, #111);
    border: 1px solid var(--border-color, #1a1a1a);
    border-radius: var(--radius, 0.75rem);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.ai-modal-backdrop.active + .ai-modal,
.ai-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.ai-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--border-color, #1a1a1a);
}

.ai-modal-title {
    font-size: 0.9375rem;
    font-weight: 600;
}

.ai-modal-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--border-color, #1a1a1a);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.ai-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ai-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-section-count {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 2px 7px;
    background: hsl(187 94% 48% / 0.1);
    color: #22d3ee;
    border-radius: 9999px;
}

/* ============================================
   ACCESS DENIED
   ============================================ */
.admin-ai-access-denied {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.admin-ai-access-denied .stat-card {
    max-width: 400px;
    text-align: center;
    padding: 20px;
}

.admin-ai-access-denied .stat-value {
    font-size: 1.125rem;
    color: #ef4444;
}

.admin-ai-access-denied .stat-label {
    margin-top: 6px;
}

.admin-ai-access-denied .ai-btn {
    margin-top: 12px;
}

/* ============================================
   HEADER EXTRAS
   ============================================ */
.admin-ai-header .header-icon-brain {
    color: #22d3ee;
}

.admin-ai-header .header-gradient-title {
    background: linear-gradient(to right, #22d3ee, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-ai-header .header-spacer {
    width: 100px;
}

/* ============================================
   TAB ICONS
   ============================================ */
.admin-ai-tabs .ai-tab .tab-icon {
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============================================
   STAT ICON VARIANTS
   ============================================ */
.stat-icon--purple {
    background: hsl(262 83% 58% / 0.1) !important;
    color: #a78bfa !important;
}

.stat-icon--green {
    background: hsl(142 71% 45% / 0.1) !important;
    color: #22c55e !important;
}

.stat-icon--amber {
    background: hsl(38 92% 50% / 0.1) !important;
    color: #f59e0b !important;
}

.stat-icon--blue {
    background: hsl(210 90% 50% / 0.1) !important;
    color: #60a5fa !important;
}

.stat-icon--yellow {
    background: hsl(45 93% 47% / 0.1) !important;
    color: #fbbf24 !important;
}

.stat-icon--red {
    background: hsl(0 72% 51% / 0.1) !important;
    color: #ef4444 !important;
}

/* ============================================
   SECTION ICON COLORS
   ============================================ */
.icon-color-purple { color: #a78bfa; }
.icon-color-blue { color: #60a5fa; }
.icon-color-cyan { color: #22d3ee; }

/* ============================================
   TABLE / CHART HELPERS
   ============================================ */
.errors-chart-container {
    margin-top: 10px;
}

.errors-table-wrap {
    border: none;
    border-radius: 0;
}

.table-cell-empty {
    text-align: center;
    color: var(--text-muted, #888);
    padding: 20px;
}

/* ============================================
   LOADING CARDS
   ============================================ */
.loading-card {
    justify-content: center;
    padding: 20px;
}

/* ============================================
   PROMPT MODAL META ROW
   ============================================ */
.prompt-modal-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.prompt-modal-meta code {
    font-size: 0.6875rem;
    color: var(--text-muted, #888);
    font-family: 'JetBrains Mono', monospace;
}

.prompt-modal-meta .prompt-modal-version-text {
    font-size: 0.6875rem;
    color: var(--text-muted, #888);
}

/* ============================================
   PROVIDER MODAL GRID
   ============================================ */
.provider-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.provider-modal-checkboxes {
    display: flex;
    gap: 16px;
    align-items: center;
}

.provider-modal-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-primary, #f0f0f0);
    cursor: pointer;
}

.provider-modal-checkboxes input[type="checkbox"].checkbox-cyan {
    accent-color: #22d3ee;
}

.provider-modal-checkboxes input[type="checkbox"].checkbox-purple {
    accent-color: #a78bfa;
}

/* ============================================
   JS-RENDERED INLINE STYLE REPLACEMENTS
   ============================================ */

/* Chart.js fallback message */
.chart-fallback-msg {
    color: var(--text-muted, #888);
    font-size: 0.8125rem;
    text-align: center;
    padding: 20px;
}

/* Provider no-key status */
.provider-status.no-key {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.08);
}

.provider-status.no-key .lucide-icon {
    width: 14px;
    height: 14px;
}

/* Provider icon inside card */
.provider-icon .lucide-icon {
    width: 20px;
    height: 20px;
}

/* Default badge in provider name */
.provider-default-badge {
    margin-left: 6px;
}

/* Prompt version label */
.prompt-version-label {
    color: var(--text-muted, #888);
    font-size: 0.75rem;
    flex: 0 0 auto;
}

/* Prompt status dot */
.prompt-status-active {
    color: #22c55e;
    font-size: 0.6875rem;
}

.prompt-status-inactive {
    color: #888;
    font-size: 0.6875rem;
}

/* Prompt body description */
.prompt-body-description {
    color: var(--text-muted, #888);
    font-size: 0.8125rem;
    margin: 0 0 8px;
}

/* Prompt body meta */
.prompt-body-meta {
    color: var(--text-muted, #888);
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.prompt-body-meta code {
    color: #22d3ee;
}

/* Empty state text */
.empty-state-text {
    color: var(--text-muted, #888);
    text-align: center;
    padding: 20px;
}

/* Error cell truncate */
.cell-truncate {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Actions cell nowrap */
.cell-nowrap {
    white-space: nowrap;
}

/* Site slug link */
.site-slug-link {
    color: #22d3ee;
    text-decoration: none;
}

.site-slug-link:hover {
    text-decoration: underline;
}

/* Preview link as button */
.ai-btn.ai-btn-link {
    text-decoration: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .stats-row.main-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .admin-ai-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .admin-ai-content {
        padding: 10px;
    }

    .stats-row.main-stats,
    .stats-row.secondary-stats {
        grid-template-columns: 1fr;
    }

    .provider-card {
        flex-wrap: wrap;
    }

    .provider-card .provider-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .sites-table-wrap {
        margin: 0 -10px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .ai-modal {
        width: calc(100% - 20px);
        max-height: calc(100vh - 40px);
    }
}

/* ============================================
   API KEY TOGGLE (eye icon)
   ============================================ */
.ai-input-with-toggle {
    position: relative;
    display: flex;
    align-items: center;
}
.ai-input-with-toggle .ai-input {
    padding-right: 40px;
    width: 100%;
}
.ai-input-toggle {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted, #6b7280);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.ai-input-toggle:hover {
    opacity: 1;
}
.ai-input-toggle .toggle-icon-visible {
    display: none;
}
.ai-input-toggle.showing .toggle-icon-hidden {
    display: none;
}
.ai-input-toggle.showing .toggle-icon-visible {
    display: block;
}
