/* ═══════════════════════════════════════════════════════
   AI Designer Panel Styles
   ═══════════════════════════════════════════════════════ */

.ai-designer-floating {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 380px;
    max-height: 70vh;
    background: rgba(15, 18, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 211, 238, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    z-index: 500;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-designer-floating.collapsed {
    max-height: 44px;
    border-color: rgba(255,255,255,0.08);
}

.ai-designer-floating.collapsed .ai-body {
    display: none;
}

.ai-designer-floating.collapsed .ai-collapse-icon {
    transform: rotate(-90deg);
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    cursor: pointer;
    background: rgba(34, 211, 238, 0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 600;
    font-size: 0.85rem;
    color: #e2e8f0;
    user-select: none;
}

.ai-header:hover {
    background: rgba(34, 211, 238, 0.08);
}

.ai-icon {
    font-size: 1.1rem;
}

.ai-collapse-icon {
    margin-left: auto;
    font-size: 0.7rem;
    color: #6b7280;
    transition: transform 0.2s;
}

.ai-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

/* ─── Chat Area ─── */

.ai-chat {
    flex: 1;
    overflow-y: auto;
    min-height: 150px;
    max-height: 45vh;
}

.ai-welcome {
    padding: 24px 16px;
    text-align: center;
}

.ai-welcome-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.ai-welcome-title {
    font-weight: 700;
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.ai-welcome-desc {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ai-examples {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-example {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 12px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.ai-example:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: rgba(34, 211, 238, 0.2);
    color: #e2e8f0;
}

/* ─── Messages ─── */

.ai-messages {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-msg {
    font-size: 0.82rem;
    line-height: 1.5;
    border-radius: 10px;
    padding: 8px 12px;
    max-width: 95%;
    word-break: break-word;
}

.ai-msg-user {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.15);
    color: #e2e8f0;
    align-self: flex-end;
    border-radius: 10px 10px 2px 10px;
}

.ai-msg-assistant {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    color: #cbd5e1;
    align-self: flex-start;
    border-radius: 10px 10px 10px 2px;
}

/* ─── Thinking Animation ─── */

.ai-thinking {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #6b7280;
    font-style: italic;
}

.ai-dots span {
    animation: ai-bounce 1.4s infinite;
    display: inline-block;
}

.ai-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ai-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* ─── Design Response ─── */

.ai-design-response {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-explanation {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
}

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

.ai-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s;
}

.ai-step.applied {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.ai-step-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
}

.ai-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-step.applied .ai-step-num {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.ai-step-desc {
    flex: 1;
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-step-btn {
    padding: 2px 10px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    background: transparent;
    color: #22d3ee;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.ai-step-btn:hover:not(:disabled) {
    background: rgba(34, 211, 238, 0.1);
}

.ai-step-btn:disabled {
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
    cursor: default;
}

/* ─── Actions ─── */

.ai-actions {
    display: flex;
    gap: 8px;
}

.ai-apply-all-btn {
    flex: 1;
    padding: 8px 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.25);
    color: #22d3ee;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.ai-apply-all-btn:hover {
    background: rgba(34, 211, 238, 0.2);
}

.ai-undo-btn {
    padding: 8px 12px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #6b7280;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.ai-undo-btn:hover {
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ─── Warnings & Tips ─── */

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

.ai-warning {
    font-size: 0.75rem;
    color: #f59e0b;
    padding: 4px 8px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 4px;
    border-left: 2px solid rgba(245, 158, 11, 0.3);
}

.ai-tips {
    padding: 8px 10px;
    background: rgba(34, 197, 94, 0.03);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: 6px;
}

.ai-tips-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 4px;
}

.ai-tip {
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.4;
    padding-left: 8px;
}

.ai-tip::before {
    content: "• ";
    color: #22c55e;
}

/* ─── Input Area ─── */

.ai-input-area {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 10px 12px;
    background: rgba(10, 12, 16, 0.5);
}

.ai-context-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ai-context-label {
    font-size: 0.7rem;
    color: #4b5563;
}

.ai-clear-btn {
    padding: 2px 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: #4b5563;
    border-radius: 4px;
    font-size: 0.68rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.ai-clear-btn:hover {
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.ai-input-wrap {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.ai-input {
    flex: 1;
    padding: 8px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-family: inherit;
    resize: none;
    outline: none;
    line-height: 1.4;
    min-height: 36px;
    max-height: 100px;
}

.ai-input:focus {
    border-color: rgba(34, 211, 238, 0.3);
}

.ai-input::placeholder {
    color: #374151;
}

.ai-send {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22d3ee;
    border: none;
    border-radius: 8px;
    color: #0a0c10;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}

.ai-send:hover {
    background: #06b6d4;
    transform: scale(1.05);
}

.ai-send-icon {
    line-height: 1;
}

.ai-hint {
    font-size: 0.68rem;
    color: #374151;
    margin-top: 6px;
    line-height: 1.4;
}

/* ─── Sidebar Section (alternative layout) ─── */

.ai-designer-section {
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.ai-designer-section .ai-chat {
    max-height: 300px;
}

/* ─── Mobile ─── */

@media (max-width: 768px) {
    .ai-designer-floating {
        right: 8px;
        bottom: 8px;
        left: 8px;
        width: auto;
        max-height: 60vh;
    }

    .ai-example {
        font-size: 0.72rem;
        padding: 6px 10px;
    }
}

/* ─── Scrollbar ─── */

.ai-chat::-webkit-scrollbar {
    width: 4px;
}

.ai-chat::-webkit-scrollbar-track {
    background: transparent;
}

.ai-chat::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.ai-chat::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}

/* ═══════════════════════════════════════════════════════
   Meshy AI Mode — Mode Toggle & Meshy-specific Styles
   ═══════════════════════════════════════════════════════ */

/* ─── Mode Toggle ─── */

.ai-mode-toggle {
    display: flex;
    gap: 0;
    padding: 8px 12px;
    background: rgba(10, 12, 16, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ai-mode-btn {
    flex: 1;
    padding: 7px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ai-mode-btn:first-child {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.ai-mode-btn:last-child {
    border-radius: 0 6px 6px 0;
}

.ai-mode-btn.active {
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.3);
    color: #22d3ee;
}

.ai-mode-btn:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: #94a3b8;
}

.ai-mode-icon {
    font-size: 0.9rem;
}

/* ─── Meshy Options Panel ─── */

.ai-meshy-options {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(10, 12, 16, 0.3);
}

/* Image upload zone */

.ai-meshy-image-zone {
    padding: 8px 12px;
}

.ai-meshy-image-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px dashed rgba(167, 139, 250, 0.3);
    border-radius: 8px;
    background: rgba(167, 139, 250, 0.03);
    cursor: pointer;
    transition: all 0.2s;
}

.ai-meshy-image-upload:hover,
.ai-meshy-image-upload.dragover {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(167, 139, 250, 0.08);
}

.ai-meshy-upload-icon {
    font-size: 1.2rem;
}

.ai-meshy-upload-text {
    font-size: 0.75rem;
    color: #94a3b8;
}

.ai-meshy-image-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
}

.ai-meshy-image-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.ai-meshy-remove-img {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    color: #ef4444;
    font-size: 0.7rem;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.15s;
}

.ai-meshy-remove-img:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Advanced options toggle */

.ai-meshy-adv-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.72rem;
    color: #6b7280;
    cursor: pointer;
    transition: color 0.15s;
}

.ai-meshy-adv-toggle:hover {
    color: #94a3b8;
}

.ai-meshy-adv-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s;
    display: inline-block;
}

.ai-meshy-adv-arrow.open {
    transform: rotate(90deg);
}

.ai-meshy-adv-body {
    display: none;
    padding: 4px 12px 8px;
}

.ai-meshy-adv-body.open {
    display: block;
}

.ai-meshy-opt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 3px 0;
}

.ai-meshy-opt-row label {
    font-size: 0.72rem;
    color: #6b7280;
    white-space: nowrap;
}

.ai-meshy-select {
    flex: 1;
    max-width: 150px;
    padding: 3px 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    color: #e2e8f0;
    font-size: 0.72rem;
    font-family: inherit;
    outline: none;
}

.ai-meshy-opt-row input[type="range"] {
    flex: 1;
    max-width: 150px;
    accent-color: #a78bfa;
}

/* Gallery toggle */

.ai-meshy-gallery-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.72rem;
    color: #6b7280;
    cursor: pointer;
    border-top: 1px solid rgba(255,255,255,0.03);
    transition: color 0.15s;
}

.ai-meshy-gallery-toggle:hover {
    color: #94a3b8;
}

.ai-meshy-gallery-icon {
    font-size: 0.85rem;
}

.ai-meshy-gallery-arrow {
    margin-left: auto;
}

.ai-meshy-gallery {
    padding: 8px 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
}

.ai-meshy-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.15s;
    position: relative;
}

.ai-meshy-gallery-item:hover {
    border-color: rgba(167, 139, 250, 0.3);
}

.ai-meshy-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.ai-meshy-gallery-noimg {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.02);
}

.ai-meshy-gallery-label {
    font-size: 0.65rem;
    color: #6b7280;
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-meshy-gallery-import {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 8px;
    background: rgba(167, 139, 250, 0.8);
    border: none;
    border-radius: 3px;
    color: #fff;
    font-size: 0.65rem;
    font-family: inherit;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s;
}

.ai-meshy-gallery-item:hover .ai-meshy-gallery-import {
    opacity: 1;
}

.ai-meshy-gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.75rem;
    color: #4b5563;
    padding: 16px 0;
}

.ai-meshy-gallery-loading {
    text-align: center;
    font-size: 0.75rem;
    color: #4b5563;
    padding: 16px 0;
}

/* ─── Active Task Cards ─── */

.ai-meshy-tasks {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 6px 10px;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-meshy-task-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-meshy-task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ai-meshy-task-label {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.ai-meshy-task-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ai-meshy-task-status.pending {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.ai-meshy-task-status.in-progress {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.ai-meshy-task-status.succeeded {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.ai-meshy-task-status.failed {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.ai-meshy-progress {
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.ai-meshy-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #a78bfa, #7c3aed);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.ai-meshy-task-meta {
    font-size: 0.68rem;
    color: #4b5563;
}

.ai-meshy-task-thumb {
    margin-top: 4px;
}

.ai-meshy-task-thumb img {
    width: 100%;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.ai-meshy-task-actions {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

.ai-meshy-action-btn {
    flex: 1;
    padding: 4px 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #94a3b8;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.ai-meshy-action-btn:hover {
    background: rgba(255,255,255,0.06);
    color: #e2e8f0;
}

.ai-meshy-action-btn.primary {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
    color: #a78bfa;
}

.ai-meshy-action-btn.primary:hover {
    background: rgba(167, 139, 250, 0.2);
}

/* ─── Meshy Stats Display ────────────────────── */
.ai-meshy-stats {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 4px 0;
    font-size: 0.78rem;
}

.ai-meshy-stats-title {
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 6px;
    font-size: 0.82rem;
}

.ai-meshy-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    color: #94a3b8;
}

.ai-meshy-stat-row strong {
    color: #e2e8f0;
}

.ai-meshy-stat-note {
    font-size: 0.68rem;
    color: #64748b;
    margin-left: 4px;
}

.ai-meshy-stat-repair {
    padding: 3px 0;
    color: #a78bfa;
    font-size: 0.74rem;
    border-top: 1px solid rgba(148, 163, 184, 0.06);
    margin-top: 3px;
}

.ai-meshy-stat-repair:first-of-type {
    padding-top: 6px;
}

.ai-meshy-stat-warning {
    padding: 4px 8px;
    margin-top: 6px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 4px;
    color: #fbbf24;
    font-size: 0.72rem;
}

/* ─── Meshy Auth Lock ─── */
.ai-mode-lock {
    font-size: 0.7em;
    margin-left: 0.25rem;
    opacity: 0.6;
}

/* ─── Meshy Auth Prompt ─── */
.ai-meshy-auth-prompt {
    text-align: center;
    padding: 2rem 1.5rem;
}
.ai-meshy-auth-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}
.ai-meshy-auth-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text1, #e2e8f0);
    margin-bottom: 0.5rem;
}
.ai-meshy-auth-desc {
    font-size: 0.8rem;
    color: var(--text3, #94a3b8);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.ai-meshy-auth-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    max-width: 320px;
    margin: 0 auto;
}
.ai-meshy-auth-input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--text1, #e2e8f0);
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
}
.ai-meshy-auth-input:focus {
    border-color: rgba(139,92,246,0.5);
}
.ai-meshy-auth-btn {
    padding: 0.6rem 1rem;
    background: rgba(139,92,246,0.2);
    border: 1px solid rgba(139,92,246,0.4);
    border-radius: 8px;
    color: #a78bfa;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.15s;
}
.ai-meshy-auth-btn:hover {
    background: rgba(139,92,246,0.3);
}
.ai-meshy-auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.ai-meshy-auth-error {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #f87171;
}
