/* ==========================================================================
   ORBIT Enterprise AI Copilot - Docked Right Sidebar & Chat Stream
   File: css/orbit_copilot.css
   ========================================================================== */

/* 1. Backdrop (Hafif saydam, arka planı kapatmayan modern karartma) */
.orbit-copilot-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100040;
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-copilot-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* 2. Docked Right Sidebar (Sağdan Kayan Asistan Çekmecesi) */
.orbit-copilot-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 480px;
    max-width: 95vw;
    height: 100vh;
    height: 100dvh;
    z-index: 100050;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #090e17 0%, #030712 100%);
    border-left: 1px solid rgba(0, 243, 255, 0.25);
    box-shadow: 
        -15px 0 50px rgba(0, 0, 0, 0.8),
        inset 1px 0 0 rgba(255, 255, 255, 0.06);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    font-family: inherit;
}

.orbit-copilot-sidebar.active {
    transform: translateX(0);
}

/* 3. Sidebar Header */
.orbit-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.orbit-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.orbit-sidebar-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(37, 99, 235, 0.3));
    border: 1px solid rgba(0, 243, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f3ff;
    font-size: 18px;
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.25);
    animation: orbit-copilot-pulse 3s infinite ease-in-out;
}

.orbit-sidebar-title-area {
    display: flex;
    flex-direction: column;
}

.orbit-sidebar-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbit-sidebar-title span.orbit-title-highlight {
    background: linear-gradient(90deg, #00f3ff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.orbit-version-badge {
    background: rgba(0, 243, 255, 0.12);
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: #00f3ff;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.orbit-sidebar-context {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
    font-weight: 500;
}

.orbit-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: orbit-dot-blink 1.8s infinite ease-in-out;
}

.orbit-sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbit-sidebar-tool-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.16s ease;
}

.orbit-sidebar-tool-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.orbit-sidebar-tool-btn.close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

/* 4. Chat Stream / Workspace Feed */
.orbit-sidebar-stream {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    scroll-behavior: smooth;
}

.orbit-sidebar-stream::-webkit-scrollbar {
    width: 5px;
}
.orbit-sidebar-stream::-webkit-scrollbar-track {
    background: transparent;
}
.orbit-sidebar-stream::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}
.orbit-sidebar-stream::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 243, 255, 0.35);
}

/* 5. Welcome Screen in Stream */
.orbit-sidebar-welcome {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.orbit-welcome-hero {
    text-align: center;
    padding: 16px 12px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orbit-welcome-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, #00f3ff, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030712;
    font-size: 24px;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.4);
    margin-bottom: 12px;
}

.orbit-welcome-heading {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.orbit-welcome-sub {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 380px;
}

/* Stream Sections */
.orbit-stream-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orbit-stream-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Recent Prompts Chips in Stream */
.orbit-stream-recent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.orbit-recent-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
    text-align: left;
}

.orbit-recent-chip:hover {
    background: rgba(0, 243, 255, 0.12);
    border-color: rgba(0, 243, 255, 0.4);
    color: #00f3ff;
    transform: translateY(-1px);
}

/* Starter Rows (High-End Clickable Action Rows) */
.orbit-starter-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orbit-starter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.orbit-starter-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.2s ease;
}

.orbit-starter-row.tag-quote::before { background: #38bdf8; }
.orbit-starter-row.tag-finance::before { background: #34d399; }
.orbit-starter-row.tag-stock::before { background: #fbbf24; }
.orbit-starter-row.tag-crm::before { background: #f43f5e; }
.orbit-starter-row.tag-calendar::before { background: #c084fc; }

.orbit-starter-row:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(0, 243, 255, 0.35);
    transform: translateX(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.orbit-starter-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.orbit-starter-row.tag-quote .orbit-starter-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.orbit-starter-row.tag-finance .orbit-starter-icon { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.orbit-starter-row.tag-stock .orbit-starter-icon { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.orbit-starter-row.tag-calendar .orbit-starter-icon { background: rgba(192, 132, 252, 0.15); color: #c084fc; }

.orbit-starter-content {
    flex: 1;
    min-width: 0;
}

.orbit-starter-title-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.orbit-starter-title {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
}

.orbit-starter-tag {
    font-size: 9px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    padding: 1px 5px;
    border-radius: 4px;
}

.orbit-starter-quote {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.orbit-starter-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.orbit-starter-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.orbit-starter-edit-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.orbit-starter-direct-btn {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.orbit-starter-row:hover .orbit-starter-direct-btn {
    background: #00f3ff;
    color: #030712;
    border-color: #00f3ff;
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.4);
}

.orbit-slash-hint-card {
    background: rgba(0, 243, 255, 0.04);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.orbit-slash-hint-card strong {
    color: #00f3ff;
}

/* 6. Floating Slash Commands Menu */
.orbit-slash-menu {
    position: absolute;
    bottom: 95px;
    left: 16px;
    right: 16px;
    z-index: 100060;
    background: #0b1329;
    border: 1px solid rgba(0, 243, 255, 0.35);
    border-radius: 14px;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.85),
        0 0 25px rgba(0, 243, 255, 0.15);
    overflow: hidden;
    animation: orbit-slide-up 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes orbit-slide-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.orbit-slash-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(15, 23, 42, 0.7);
}

.orbit-slash-menu-hint {
    font-size: 10px;
    color: #475569;
    text-transform: none;
}

.orbit-slash-list {
    max-height: 240px;
    overflow-y: auto;
}

.orbit-slash-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.orbit-slash-item:last-child {
    border-bottom: none;
}

.orbit-slash-item:hover {
    background: rgba(0, 243, 255, 0.12);
}

.orbit-slash-badge {
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.orbit-slash-badge.tag-quote { color: #38bdf8; }
.orbit-slash-badge.tag-finance { color: #34d399; }
.orbit-slash-badge.tag-stock { color: #fbbf24; }
.orbit-slash-badge.tag-calendar { color: #c084fc; }

.orbit-slash-desc {
    font-size: 11px;
    color: #94a3b8;
}

/* 7. Docked Footer Input Component (Always at Bottom) */
.orbit-sidebar-footer {
    padding: 12px 16px 14px 16px;
    background: rgba(10, 15, 26, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Şablon Düzenleme İpucu Çubuğu */
.orbit-input-edit-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.28);
    border-radius: 10px;
    padding: 7px 12px;
    margin-bottom: 9px;
    font-size: 11.5px;
    color: #67e8f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    animation: orbitFadeIn 0.2s ease;
}

.orbit-input-edit-hint-content {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
}

.orbit-input-edit-hint-content i {
    font-size: 14px;
    color: #00f3ff;
    flex-shrink: 0;
}

.orbit-input-edit-hint-content span {
    line-height: 1.4;
}

.orbit-input-edit-hint-content strong {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 4px;
    border-radius: 4px;
}

.orbit-hint-dismiss {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.orbit-hint-dismiss:hover {
    color: #ffffff;
}

.orbit-sidebar-input-box {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(0, 243, 255, 0.32);
    border-radius: 16px;
    padding: 12px 14px 10px 14px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.orbit-sidebar-input-box:focus-within {
    border-color: rgba(0, 243, 255, 0.75);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 243, 255, 0.22);
}

.orbit-sidebar-input-box.orbit-input-box-highlight {
    border-color: #00f3ff;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 243, 255, 0.45);
    animation: orbitBoxPulse 0.8s ease;
}

@keyframes orbitBoxPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.015); }
    100% { transform: scale(1); }
}

.orbit-textarea-container {
    position: relative;
    width: 100%;
}

.orbit-spotlight-textarea {
    width: 100%;
    min-height: 76px;
    max-height: 240px;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 14.5px;
    line-height: 1.6;
    color: #f8fafc;
    font-weight: 500;
    box-sizing: border-box;
    padding: 2px 6px;
    transition: height 0.12s ease-out;
}

.orbit-spotlight-textarea::placeholder {
    color: #64748b;
    font-weight: 400;
    line-height: 1.6;
    font-size: 14px;
}

/* Toolbar beneath Textarea */
.orbit-sidebar-input-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.orbit-sidebar-toolbar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbit-sidebar-mic-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.18s ease;
}

.orbit-sidebar-mic-btn:hover {
    background: rgba(0, 243, 255, 0.12);
    border-color: rgba(0, 243, 255, 0.4);
    color: #00f3ff;
}

.orbit-sidebar-mic-btn.listening {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    animation: orbit-mic-pulse 1.2s infinite alternate;
}

.orbit-studio-mic-wave {
    display: none;
    align-items: center;
    gap: 2px;
}

.orbit-sidebar-mic-btn.listening .orbit-studio-mic-wave {
    display: inline-flex;
}

.orbit-studio-mic-wave span {
    width: 3px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
    animation: orbit-wave-anim 0.6s infinite ease-in-out alternate;
}

.orbit-studio-mic-wave span:nth-child(2) { animation-delay: 0.2s; height: 14px; }
.orbit-studio-mic-wave span:nth-child(3) { animation-delay: 0.4s; height: 8px; }

.orbit-sidebar-slash-btn {
    width: 28px;
    height: 26px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.16s ease;
}

.orbit-sidebar-slash-btn:hover {
    background: rgba(0, 243, 255, 0.12);
    border-color: rgba(0, 243, 255, 0.4);
    color: #00f3ff;
}

.orbit-sidebar-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #0284c7, #00f3ff);
    color: #030712;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 2px 10px rgba(0, 243, 255, 0.3);
}

.orbit-sidebar-send-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.5);
}

.orbit-sidebar-input-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 10px;
    color: #475569;
}

.orbit-sidebar-input-hint kbd {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 1px 4px;
    color: #64748b;
}

/* 8. Floating FAB Launcher (Sağ Kenar Butonu) */
.orbit-copilot-fab {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 99990;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #090e17 0%, #0369a1 100%);
    border: 1px solid rgba(0, 243, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 243, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12.5px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-copilot-fab:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 243, 255, 0.45);
    border-color: #00f3ff;
}

.orbit-copilot-fab kbd {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 10px;
    color: #e0f2fe;
}

/* 7. Active Conversation / Results Elements */

/* User Prompt Echo Bubble */
.orbit-msg-user {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.orbit-msg-user-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.orbit-msg-user-content {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.5;
}

/* AI Pipeline Execution Steps */
.orbit-pipeline-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
}

.orbit-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
}

.orbit-step-item.active {
    color: #38bdf8;
    font-weight: 600;
}

.orbit-step-item.completed {
    color: #10b981;
    font-weight: 600;
}

/* AI Reply Bubble */
.orbit-msg-assistant {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-left: 4px solid #00f3ff;
    border-radius: 14px;
    padding: 14px 18px;
    color: #e2e8f0;
    font-size: 13.5px;
    line-height: 1.6;
}

/* Loading State */
.orbit-copilot-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #38bdf8;
    font-size: 14px;
    font-weight: 600;
    padding: 32px 14px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 14px;
}

.orbit-copilot-spinner {
    width: 24px;
    height: 24px;
    border: 2.5px solid rgba(56, 189, 248, 0.2);
    border-top-color: #00f3ff;
    border-radius: 50%;
    animation: orbit-spin 0.8s linear infinite;
}

/* 8. Action Preview Card (High Resolution Table & Breakdown) */
.orbit-action-preview-card {
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 243, 255, 0.1);
}

.orbit-action-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-action-preview-title {
    font-size: 15px;
    font-weight: 800;
    color: #00f3ff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.orbit-action-preview-badge {
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.orbit-action-preview-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.5);
}

.orbit-action-preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.orbit-action-preview-table th {
    text-align: left;
    color: #94a3b8;
    font-weight: 600;
    padding: 10px 12px;
    background: rgba(30, 41, 59, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-action-preview-table td {
    padding: 10px 12px;
    color: #f1f5f9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.orbit-action-preview-table tr:last-child td {
    border-bottom: none;
}

/* Manual Editable Draft Controls */
.orbit-draft-input {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 243, 255, 0.35);
    border-radius: 7px;
    color: #f8fafc;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    transition: all 0.16s ease;
    box-sizing: border-box;
}

.orbit-draft-input:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.35);
    background: rgba(2, 6, 23, 1);
}

.orbit-draft-select {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 243, 255, 0.35);
    border-radius: 7px;
    color: #38bdf8;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.orbit-draft-select option {
    background: #0f172a;
    color: #f8fafc;
}

.orbit-draft-row-del {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.orbit-draft-row-del:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.orbit-draft-add-btn {
    background: rgba(0, 243, 255, 0.08);
    border: 1px dashed rgba(0, 243, 255, 0.35);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 12px 12px 12px;
    transition: all 0.16s ease;
}

.orbit-draft-add-btn:hover {
    background: rgba(0, 243, 255, 0.18);
    border-color: #00f3ff;
    color: #ffffff;
}

.orbit-action-preview-totals {
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.orbit-action-preview-total-num {
    font-size: 20px;
    font-weight: 900;
    color: #10b981;
    letter-spacing: -0.5px;
}

.orbit-action-preview-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.orbit-action-btn-confirm {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 11px 22px;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    transition: all 0.16s ease;
}

.orbit-action-btn-confirm:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55);
}

.orbit-action-btn-edit {
    background: rgba(255, 255, 255, 0.06);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.orbit-action-btn-edit:hover {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
}

.orbit-action-btn-cancel {
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.orbit-action-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

/* 9. Floating Copilot Button */
.orbit-copilot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0284c7, #2563eb);
    border: 1px solid rgba(0, 243, 255, 0.45);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5), 0 0 20px rgba(0, 243, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-copilot-fab:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 14px 30px -5px rgba(37, 99, 235, 0.65), 0 0 25px rgba(0, 243, 255, 0.5);
}

.orbit-copilot-fab i {
    font-size: 18px;
    color: #00f3ff;
}

.orbit-copilot-fab kbd {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 10px;
    color: #cbd5e1;
    margin-left: 2px;
}

/* 10. Keyframes & Animations */
@keyframes orbit-copilot-pulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #00f3ff); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 10px #00f3ff); }
}

@keyframes orbit-mic-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    100% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

@keyframes orbit-dot-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes orbit-wave-anim {
    0% { height: 4px; }
    100% { height: 16px; }
}

@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .orbit-copilot-sidebar {
        width: 100vw;
        max-width: 100vw;
        border-left: none;
    }
    .orbit-sidebar-header {
        padding: 12px 14px;
    }
    .orbit-sidebar-stream {
        padding: 14px;
    }
    .orbit-sidebar-footer {
        padding: 10px 12px;
    }
    .orbit-sidebar-input-hint {
        display: none;
    }
    .orbit-copilot-fab span,
    .orbit-copilot-fab kbd {
        display: none;
    }
    .orbit-copilot-fab {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        bottom: 16px;
        right: 14px;
        font-size: 18px;
    }
}


/* ========================================================
   11. MENTIONS AUTOCOMPLETE (@ VE #)
   ======================================================== */
.orbit-mentions-popup {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
    z-index: 1000;
    max-height: 260px;
    overflow-y: auto;
    animation: orbitFadeIn 0.18s ease;
}

.orbit-mention-header {
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbit-mention-list {
    padding: 4px;
}

.orbit-mention-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    font-size: 12.5px;
    color: #e2e8f0;
}

.orbit-mention-item:hover,
.orbit-mention-item.selected {
    background: rgba(56, 189, 248, 0.15);
    color: #ffffff;
}

.orbit-mention-icon {
    color: #38bdf8;
    font-size: 15px;
    flex-shrink: 0;
}

.orbit-mention-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orbit-mention-sub {
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.orbit-mention-empty {
    padding: 16px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

/* ========================================================
   12. SÜRÜKLE-BIRAK (DRAG & DROP) & DOSYA ÖNİZLEME
   ======================================================== */
.orbit-drag-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    border: 2px dashed #00f3ff;
    border-radius: 16px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #00f3ff;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
    animation: orbit-copilot-pulse 1.5s infinite ease-in-out;
}

.orbit-drag-overlay i {
    font-size: 36px;
}

.orbit-attached-preview {
    margin-bottom: 8px;
}

.orbit-attached-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.orbit-attached-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.35);
    border-radius: 10px;
    padding: 5px 10px;
    color: #f1f5f9;
}

.orbit-attached-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-attached-name {
    display: flex;
    flex-direction: column;
}

.orbit-attached-name span {
    font-size: 12px;
    font-weight: 600;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.orbit-attached-name small {
    font-size: 10px;
    color: #38bdf8;
    font-weight: 700;
}

.orbit-attached-del {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.orbit-attached-del:hover {
    color: #ef4444;
}

/* ========================================================
   13. CARI RISK KALKANI & FİYAT ZEKASI & CROSS-SELL
   ======================================================== */
.orbit-risk-shield {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.4;
}

.risk-shield-warning {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.risk-shield-warning i {
    font-size: 22px;
    color: #ef4444;
    flex-shrink: 0;
}

.risk-shield-ok {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.risk-shield-ok i {
    font-size: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.orbit-risk-shield-body {
    flex: 1;
}

.orbit-risk-shield-header {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.orbit-risk-shield-warn {
    margin-top: 3px;
    font-weight: 700;
    color: #f87171;
}

.orbit-price-intel-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #7dd3fc;
}

.orbit-price-intel-badge i {
    color: #38bdf8;
    font-size: 16px;
    flex-shrink: 0;
}

/* Cross-Sell Tamamlayıcı Ürün Kutusu */
.orbit-cross-sell-box {
    margin-top: 12px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 12px;
    padding: 12px;
}

.orbit-cross-sell-header {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #c084fc;
    margin-bottom: 10px;
}

.orbit-cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.orbit-cross-sell-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.orbit-cross-sell-code {
    font-size: 12px;
    font-weight: 800;
    color: #00f3ff;
}

.orbit-cross-sell-name {
    font-size: 12px;
    font-weight: 600;
    color: #f1f5f9;
}

.orbit-cross-sell-reason {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}

.orbit-cross-sell-add-btn {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #e9d5ff;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.orbit-cross-sell-add-btn:hover {
    background: #a855f7;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

/* Action Builder Çipleri Çubuğu */
.orbit-action-chips-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    padding: 8px 12px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.orbit-action-chip-label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.orbit-action-chip {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.orbit-action-chip:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #ffffff;
}

.orbit-action-chip.chip-wa {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #4ade80;
    margin-left: auto;
}

.orbit-action-chip.chip-wa:hover {
    background: #25d366;
    color: #ffffff;
}

/* ========================================================
   14. YÖNETİCİ SABAH ÖZETİ KARTI (EXECUTIVE BRIEFING)
   ======================================================== */
.orbit-briefing-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 16px;
    margin-top: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: orbitFadeIn 0.25s ease;
}

.orbit-briefing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.orbit-briefing-title {
    font-size: 15px;
    font-weight: 800;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.orbit-briefing-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.orbit-briefing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.orbit-briefing-stat {
    border-radius: 12px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.6);
}

.orbit-briefing-stat.stat-danger {
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.orbit-briefing-stat.stat-danger .stat-val {
    color: #ef4444;
}

.orbit-briefing-stat.stat-warning {
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.orbit-briefing-stat.stat-warning .stat-val {
    color: #f59e0b;
}

.orbit-briefing-stat.stat-success {
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.orbit-briefing-stat.stat-success .stat-val {
    color: #10b981;
}

.orbit-briefing-stat.stat-info {
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.orbit-briefing-stat.stat-info .stat-val {
    color: #38bdf8;
}

.orbit-briefing-stat .stat-label {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
}

.orbit-briefing-stat .stat-val {
    font-size: 17px;
    font-weight: 800;
    margin-top: 4px;
}

.orbit-briefing-stat .stat-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 3px;
}

.orbit-briefing-section {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.orbit-briefing-section-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.orbit-briefing-debtor-row,
.orbit-briefing-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.orbit-briefing-debtor-row:last-child,
.orbit-briefing-stock-row:last-child {
    border-bottom: none;
}

.debtor-name {
    color: #f1f5f9;
}

.debtor-amt {
    font-weight: 700;
    color: #ef4444;
}

.orbit-briefing-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.orbit-briefing-action-btn {
    flex: 1;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.orbit-briefing-action-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

/* ========================================================
   15. COPILOT TOAST BİLDİRİMİ
   ======================================================== */
.orbit-copilot-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    z-index: 100000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.orbit-copilot-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.orbit-copilot-toast.toast-success {
    border: 1px solid rgba(16, 185, 129, 0.6);
    color: #6ee7b7;
}

.orbit-copilot-toast.toast-info {
    border: 1px solid rgba(56, 189, 248, 0.6);
    color: #7dd3fc;
}

.orbit-copilot-toast.toast-warning {
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #fcd34d;
}

/* ========================================================
   16. 3D SECURE ÖDEME LİNKİ KARTI (PAYMENT LINK CARD)
   ======================================================== */
.orbit-payment-link-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    animation: orbitFadeIn 0.25s ease;
}

.orbit-payment-link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.orbit-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orbit-pos-status {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.orbit-pos-status.live {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.orbit-pos-status.ready {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.orbit-payment-link-customer {
    margin-bottom: 12px;
}

.orbit-payment-cust-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.orbit-payment-desc {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.orbit-payment-amount-box {
    background: rgba(15, 23, 42, 0.8);
    border: 1px dashed rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    margin-bottom: 14px;
}

.orbit-payment-amount-title {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
}

.orbit-payment-amount-value {
    font-size: 26px;
    font-weight: 900;
    color: #34d399;
    margin-top: 4px;
}

.orbit-payment-amount-value .cur {
    font-size: 16px;
    font-weight: 700;
    color: #6ee7b7;
}

.orbit-payment-orig-val {
    font-size: 11.5px;
    color: #38bdf8;
    margin-top: 4px;
    font-weight: 600;
}

.orbit-payment-url-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.orbit-payment-url-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 12px;
    padding: 8px 12px;
    outline: none;
    font-family: monospace;
}

.orbit-payment-copy-btn {
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
}

.orbit-payment-copy-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

.orbit-payment-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.orbit-pay-btn-wa {
    background: #25d366;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}

.orbit-pay-btn-wa:hover {
    background: #1eb956;
}

.orbit-pay-btn-open {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9 !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.orbit-pay-btn-open:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #38bdf8;
    color: #38bdf8 !important;
}

/* ========================================================
   17. DÜZENLENEBİLİR CARİ VE ÜRÜN KARTLARI
   ======================================================== */
.orbit-card-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 10px 0;
}

.orbit-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.orbit-form-field label {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.orbit-form-input {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 10px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.orbit-form-input:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.25);
}

.orbit-changes-summary {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #7dd3fc;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 10px 0;
}

/* ========================================================
   18. GÖRSEL BELGE OCR HIZLI SEÇİM ÇİPLERİ (MULTIMODAL)
   ======================================================== */
.orbit-visual-quick-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px 8px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.orbit-visual-quick-chips::-webkit-scrollbar {
    display: none;
}

.orbit-visual-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.orbit-visual-chip i {
    font-size: 13px;
    color: #38bdf8;
    transition: transform 0.2s;
}

.orbit-visual-chip:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

.orbit-visual-chip:hover i {
    transform: scale(1.15);
    color: #00f3ff;
}

/* Çip Türlerine Göre Vurgu Renkleri */
.orbit-visual-chip[data-doc-type="check"] i {
    color: #fbbf24;
}
.orbit-visual-chip[data-doc-type="check"]:hover {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.15);
}

.orbit-visual-chip[data-doc-type="expense"] i {
    color: #f472b6;
}
.orbit-visual-chip[data-doc-type="expense"]:hover {
    border-color: rgba(236, 72, 153, 0.5);
    background: rgba(236, 72, 153, 0.15);
}

.orbit-visual-chip[data-doc-type="label"] i {
    color: #34d399;
}
.orbit-visual-chip[data-doc-type="label"]:hover {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.15);
}

/* ========================================================
   19. ÇEK MAKBUZU, BANKA DEKONTU & MASRAF KARTLARI
   ======================================================== */
.orbit-check-receipt-card {
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 27, 75, 0.25), rgba(69, 26, 3, 0.2)) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(245, 158, 11, 0.08) !important;
}

.orbit-bank-slip-card {
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(12, 74, 110, 0.2)) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.08) !important;
}

.orbit-expense-slip-card {
    border: 1px solid rgba(236, 72, 153, 0.35) !important;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(80, 7, 36, 0.2)) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 0 0 20px rgba(236, 72, 153, 0.08) !important;
}

/* Teklif Kartında + Cari Aç Butonu */
.orbit-draft-add-customer-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 6px;
}

.orbit-draft-add-customer-btn:hover {
    background: rgba(16, 185, 129, 0.3);
    border-color: #10b981;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}


