/* ==========================================================================
   Vegapunk Cloud Hosting - Windows XP (Luna) Çağrı Merkezi OS Teması
   Klasik Windows XP Luna Stili, Bliss Masaüstü, Mavi Başlık Çubukları
   ========================================================================== */

:root {
    --xp-blue: #0055ea;
    --xp-blue-dark: #001e90;
    --xp-blue-light: #288eff;
    --xp-titlebar-gradient: linear-gradient(180deg, #0058ee 0%, #3593ff 4%, #288eff 6%, #126dff 8%, #0356ff 10%, #0250f5 14%, #0143ea 20%, #003dd7 40%, #0036cc 70%, #0022a1 90%, #001e90 100%);
    --xp-taskbar-gradient: linear-gradient(180deg, #245edb 0%, #3f8cf3 9%, #245edb 18%, #245edb 92%, #1941a5 100%);
    --xp-tray-gradient: linear-gradient(180deg, #0c59b8 0%, #1369d1 10%, #0f5cba 90%, #0c4da3 100%);
    --xp-start-green: linear-gradient(180deg, #388e3c 0%, #5ba74b 20%, #439b33 50%, #2f7924 80%, #216118 100%);
    
    --xp-silver-bg: #ece9d8;
    --xp-window-bg: #f5f4eb;
    --xp-card-bg: #ffffff;
    --xp-border: #7f9db9;
    --xp-border-dark: #003c74;

    --bg-dark: #245edb;
    --bg-surface: #ece9d8;
    --bg-surface-elevated: #f4f2e8;
    --bg-card: #ffffff;
    --border-color: #7f9db9;
    --border-highlight: #0055ea;

    --text-main: #0f172a;
    --text-muted: #556277;
    --text-dim: #79869a;

    --drknt-blue: #0055ea;
    --drknt-blue-hover: #003cd0;
    --drknt-cyan: #0284c7;
    --drknt-green: #15803d;
    --drknt-yellow: #b45309;
    --drknt-red: #dc2626;
    --drknt-purple: #7e22ce;

    --taskbar-height: 34px;
    --font-stack: Tahoma, "Segoe UI", Arial, sans-serif;
    --font-mono: "Lucida Console", "Courier New", Courier, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-stack);
    background-color: #245edb;
    color: var(--text-main);
    font-size: 12.5px;
}

/* --- MASAÜSTÜ ARKA PLANI (WINDOWS XP "BLISS" ROLLİNG HİLLS) --- */
#drknt-desktop {
    position: relative;
    width: 100vw;
    height: calc(100vh - var(--taskbar-height));
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='sky' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%231976d2'/%3E%3Cstop offset='30%25' stop-color='%23389bf4'/%3E%3Cstop offset='65%25' stop-color='%238dd0fc'/%3E%3Cstop offset='85%25' stop-color='%23d9effd'/%3E%3C/linearGradient%3E%3ClinearGradient id='hill1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2368c037'/%3E%3Cstop offset='45%25' stop-color='%23489e21'/%3E%3Cstop offset='100%25' stop-color='%232b7211'/%3E%3C/linearGradient%3E%3ClinearGradient id='hill2' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2356b02a'/%3E%3Cstop offset='50%25' stop-color='%2338871b'/%3E%3Cstop offset='100%25' stop-color='%231f5c10'/%3E%3C/linearGradient%3E%3ClinearGradient id='hill3' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23489c22'/%3E%3Cstop offset='60%25' stop-color='%232b7313'/%3E%3Cstop offset='100%25' stop-color='%231a540c'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='1000' fill='url(%23sky)'/%3E%3Cellipse cx='520' cy='430' rx='260' ry='50' fill='rgba(255,255,255,0.45)' filter='blur(18px)'/%3E%3Cellipse cx='980' cy='380' rx='320' ry='60' fill='rgba(255,255,255,0.4)' filter='blur(22px)'/%3E%3Cellipse cx='280' cy='390' rx='190' ry='40' fill='rgba(255,255,255,0.35)' filter='blur(15px)'/%3E%3Cpath d='M0,620 Q420,490 950,590 T1600,560 L1600,1000 L0,1000 Z' fill='url(%23hill1)'/%3E%3Cpath d='M0,700 Q320,570 850,680 T1600,640 L1600,1000 L0,1000 Z' fill='url(%23hill2)'/%3E%3Cpath d='M0,790 Q540,660 1150,770 T1600,720 L1600,1000 L0,1000 Z' fill='url(%23hill3)'/%3E%3C/svg%3E") no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* Masaüstü Filigranı (Klasik XP Logo & Telif Metni) */
.desktop-watermark {
    position: absolute;
    bottom: 20px;
    left: 20px;
    pointer-events: none;
    opacity: 0.35;
}
.desktop-watermark h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px #000;
}
.desktop-watermark p {
    font-size: 0.75rem;
    color: #f1f5f9;
    text-shadow: 1px 1px 2px #000;
}

/* Masaüstü İkonları (Windows XP Stili) */
.desktop-icons-container {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 84px;
    padding: 6px 4px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.1s ease;
    border: 1px dotted transparent;
}
.desktop-icon:hover {
    background: rgba(49, 106, 197, 0.45);
    border-color: rgba(255, 255, 255, 0.7);
}
.desktop-icon .icon-img {
    font-size: 2.2rem;
    margin-bottom: 2px;
    filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.5));
}
.desktop-icon .icon-label {
    font-size: 0.73rem;
    text-align: center;
    color: #ffffff;
    line-height: 1.2;
    font-weight: 600;
    text-shadow: 1px 1px 2px #000000, -1px -1px 2px #000000, 1px -1px 2px #000000, -1px 1px 2px #000000;
}

/* Masaüstü Personel Masası (Sağ Altta Sabit Windows XP Araç Kutusu) */
.desktop-stat-widget {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 250px;
    background: #ece9d8;
    border: 2px solid #0055ea;
    border-radius: 6px 6px 0 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    overflow: hidden;
    z-index: 10;
}
.desktop-stat-widget .widget-title {
    background: var(--xp-titlebar-gradient);
    color: #ffffff;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    text-shadow: 1px 1px 1px #00135b;
    border: none;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.desktop-stat-widget-content,
.desktop-stat-widget > div:not(.widget-title):not(.shift-action-buttons) {
    color: #0f172a;
}
.widget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 12px;
    font-size: 0.8rem;
    color: #1e293b;
}
.widget-row strong {
    color: #0055ea;
    font-weight: 700;
}
.energy-progress-track {
    margin: 4px 12px 6px 12px;
    height: 12px;
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}
.energy-progress-fill {
    height: 100%;
    background: linear-gradient(180deg, #7be05c 0%, #46aa27 50%, #2f8c14 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    transition: width 0.3s ease;
}
.shift-action-buttons {
    display: flex;
    gap: 6px;
    padding: 8px 12px 10px 12px;
    border-top: 1px solid #d4d0c8;
    background: #e4e0d0;
}

/* --- PENCERE SİSTEMİ (WINDOWS XP LUNA PENCERELERİ) --- */
.os-window {
    position: absolute;
    display: none;
    flex-direction: column;
    background: #ece9d8;
    border: 3px solid #0055ea;
    border-top: none;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    min-width: 480px;
    min-height: 340px;
    resize: both;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 29px;
    background: var(--xp-titlebar-gradient);
    border-radius: 5px 5px 0 0;
    padding: 0 6px 0 8px;
    cursor: move;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.window-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #ffffff;
    text-shadow: 1px 1px 1px #001869;
    letter-spacing: 0.2px;
}
.window-controls {
    display: flex;
    gap: 2px;
    align-items: center;
}
.win-btn {
    width: 21px;
    height: 21px;
    border-radius: 3px;
    border: 1px solid #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}
.win-min {
    background: linear-gradient(180deg, #3c81f3 0%, #2b68e0 45%, #184cc2 50%, #235cd5 100%);
    color: #ffffff;
}
.win-min:hover {
    background: linear-gradient(180deg, #5394f7 0%, #3b79ea 45%, #245ecb 50%, #306de0 100%);
}
.win-min::before {
    content: "–";
    font-weight: 900;
    line-height: 1;
}
.win-close {
    background: linear-gradient(180deg, #e04332 0%, #d83a2a 45%, #b22619 50%, #d83a2a 100%);
    color: #ffffff;
}
.win-close::before {
    content: "✕";
    font-weight: 900;
    font-size: 11px;
    line-height: 1;
}
.win-close:hover {
    background: linear-gradient(180deg, #ff634f 0%, #ed4332 45%, #c92517 50%, #ed4332 100%) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.window-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    background: #ece9d8;
    color: #1e293b;
}

/* Pencere Boyut ve Konum Ayarları */
#win-tickets { width: 920px; height: 580px; top: 30px; left: 120px; }
#win-bitrix { width: 840px; height: 560px; top: 50px; left: 160px; }
#win-cpanel { width: 720px; height: 520px; top: 70px; left: 200px; }
#win-dns { width: 700px; height: 500px; top: 90px; left: 240px; }
#win-terminal { width: 680px; height: 420px; top: 110px; left: 280px; }
#win-wiki { width: 660px; height: 520px; top: 60px; left: 190px; }
#win-shop { width: 680px; height: 520px; top: 70px; left: 220px; }

/* --- BİLET MASASI (TICKET DESK) TASARIMI --- */
.tickets-layout {
    display: flex;
    gap: 14px;
    height: 100%;
}
.tickets-sidebar {
    width: 320px;
    border-right: 1px solid #7f9db9;
    padding-right: 12px;
    display: flex;
    flex-direction: column;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    color: #003399;
}
/* --- BİLET SEKMELERİ (WINDOWS XP PROPERTY SHEET TABLARI) --- */
.tickets-tab-bar {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    background: transparent;
    padding: 0;
    border-bottom: 2px solid #0055ea;
}
.ticket-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #333333;
    background: #ece9d8;
    border: 1px solid #999999;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.ticket-tab-btn:hover {
    background: #f5f3e9;
    color: #000000;
}
.ticket-tab-btn.active {
    background: #ffffff;
    color: #003399;
    font-weight: 700;
    border: 2px solid #0055ea;
    border-bottom: 2px solid #ffffff;
    margin-bottom: -2px;
    z-index: 2;
}
.tab-count-badge {
    background: #e2e8f0;
    color: #334155;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    font-weight: 700;
}
.ticket-tab-btn.active .tab-count-badge {
    background: #0055ea;
    color: #ffffff;
}
.ticket-closed-banner {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 4px;
    padding: 14px 18px;
    color: #166534;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}
.tickets-queue-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ticket-card {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ticket-card:hover {
    border-color: #0055ea;
    background: #eef5ff;
}
.ticket-card.active {
    border-color: #0055ea;
    background: #e6f0fa;
    box-shadow: inset 3px 0 0 #0055ea, 0 1px 3px rgba(0, 85, 234, 0.25);
}
.ticket-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.ticket-id {
    font-family: "Lucida Console", Courier, monospace;
    font-size: 0.75rem;
    color: #0055ea;
    font-weight: 700;
}
.ticket-card-subject {
    font-weight: 700;
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticket-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.72rem;
    color: #64748b;
}

.ticket-detail-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-left: 4px;
}

.ticket-view-header {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ticket-view-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.ticket-view-title-row h2 {
    font-size: 1.05rem;
    color: #003399;
    font-weight: 700;
}
.urgency-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}
.urgency-tag.kritik { background: #fee2e2; color: #991b1b; border: 1px solid #f87171; }
.urgency-tag.yüksek { background: #ffedd5; color: #c2410c; border: 1px solid #fb923c; }
.urgency-tag.orta, .urgency-tag.normal { background: #fef9c3; color: #854d0e; border: 1px solid #facc15; }
.urgency-tag.düşük { background: #dcfce7; color: #166534; border: 1px solid #86efac; }

.ticket-client-box {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 3px;
    border: 1px solid #cbd5e1;
}
.client-avatar { font-size: 1.6rem; }
.client-info { font-size: 0.78rem; line-height: 1.4; color: #475569; }
.client-info strong { color: #0f172a; }
.highlight-code {
    background: #e0edfd;
    color: #003399;
    padding: 1px 5px;
    border-radius: 2px;
    border: 1px solid #b9d7fb;
    font-family: var(--font-mono);
}

.ticket-message-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    min-height: 120px;
}
.msg-bubble {
    padding: 10px 12px;
    border-radius: 4px;
    max-width: 90%;
    line-height: 1.5;
    font-size: 0.82rem;
}
.msg-bubble.customer {
    background: #fffcee;
    border: 1px solid #e2c044;
    border-left: 4px solid #d97706;
    color: #1e293b;
    align-self: flex-start;
}
.msg-bubble.agent {
    background: #f0f7ff;
    border: 1px solid #b3d1ff;
    border-right: 4px solid #0055ea;
    color: #0f172a;
    align-self: flex-end;
}
.msg-author {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 3px;
}

.ticket-actions-toolbar {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.action-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #003399;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.quick-diagnostic-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.ticket-decision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.decision-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 3px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.decision-card h3 {
    font-size: 0.82rem;
    color: #003399;
    font-weight: 700;
}
.decision-card .desc {
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.35;
}
.action-select-wrapper { margin-top: auto; margin-bottom: 4px; }

/* --- CPANEL & DNS ARAÇLARI PANELLERİ (WINDOWS XP STİLİ) --- */
.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.tool-box {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.tool-box.full-width {
    grid-column: span 2;
}
.tool-box-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #003399;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tool-box-desc {
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.35;
}
.tool-actions-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

/* --- İNTERAKTİF TERMİNAL PENCERESİ (WINDOWS XP CMD.EXE) --- */
.terminal-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #000000;
    border: 2px inset #7f9db9;
    padding: 8px 10px;
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 0.82rem;
    color: #cccccc;
}
.terminal-output {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 6px;
    color: #cccccc;
}
.term-line.cmd { color: #ffffff; font-weight: 700; }
.term-line.error { color: #ff6b6b; }
.term-line.success { color: #00ff66; }
.term-line.normal { color: #b0c4de; }

.terminal-input-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #333333;
    padding-top: 6px;
}
.terminal-prompt { color: #ffffff; font-weight: 700; }
.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 0.82rem;
}

/* --- ŞİRKET İÇİ CHAT & SLACK (YAN GÖREVLER) --- */
.chat-window-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.chat-feed {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}
.chat-event-card {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.chat-event-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
}
.chat-event-head .avatar { font-size: 1.2rem; }
.chat-event-head .time { margin-left: auto; font-size: 0.72rem; color: #64748b; }
.chat-event-title { font-weight: 700; color: #003399; font-size: 0.85rem; }
.chat-event-msg { font-size: 0.8rem; color: #1e293b; line-height: 1.4; }
.chat-event-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.chat-event-feedback {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 0.8rem;
    line-height: 1.4;
    animation: slideIn 0.25s ease;
}
.chat-event-feedback.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.chat-event-feedback.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}
.chat-event-feedback.normal {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
}

/* --- BİLGİ BANKASI (WIKI - XP YARDIM MERKEZİ STİLİ) --- */
.wiki-articles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wiki-article-card {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.wiki-cat-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: #0055ea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wiki-article-card h3 {
    font-size: 0.92rem;
    color: #003399;
    margin: 3px 0 5px 0;
}
.wiki-summary {
    font-size: 0.78rem;
    color: #b45309;
    margin-bottom: 6px;
    font-style: italic;
}
.wiki-body-content {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.5;
}

/* --- OFİS MARKETİ & GELİŞTİRMELER (WINDOWS XP) --- */
.shop-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.shop-item-card {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.shop-item-card.owned {
    background: #f0fdf4;
    border-color: #86efac;
}
.shop-item-icon { font-size: 2rem; }
.shop-item-info { flex: 1; }
.shop-item-info h4 { font-size: 0.85rem; color: #003399; margin-bottom: 2px; }
.shop-item-info p { font-size: 0.74rem; color: #475569; line-height: 1.3; }

/* --- GÖREV ÇUBUĞU (TASKBAR - WINDOWS XP LUNA) --- */
#drknt-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: var(--taskbar-height);
    background: linear-gradient(180deg, #1f57d6 0%, #3a82f7 8%, #2860df 16%, #1f57d6 88%, #143ca3 100%);
    border-top: 1px solid #14358a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    padding: 0;
    z-index: 1000;
    user-select: none;
}

/* Windows XP Yeşil Başlat Butonu */
.taskbar-start-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 100%;
    background: linear-gradient(180deg, #53af2f 0%, #469a26 40%, #38841c 50%, #34761a 100%);
    color: #ffffff;
    border: none;
    border-right: 1px solid #235812;
    border-top: 1px solid #7ecb5c;
    border-radius: 0 16px 16px 0;
    padding: 0 14px 0 8px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 2px 0 4px rgba(0,0,0,0.3);
    transition: filter 0.15s;
    flex-shrink: 0;
}
.taskbar-start-btn:hover {
    background: linear-gradient(180deg, #63bf3f 0%, #50ab2d 40%, #409520 50%, #3b881e 100%);
}
.taskbar-start-btn:active {
    background: linear-gradient(180deg, #2f6a16 0%, #38801d 50%, #439622 100%);
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.6);
}

/* 4 Renkli Windows XP Bayrak Karoları */
.xp-flag-icon {
    display: inline-grid;
    grid-template-columns: 8px 8px;
    grid-gap: 2px;
    transform: skew(-8deg) rotate(-4deg);
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}
.xp-flag-tile {
    width: 7px;
    height: 7px;
    border-radius: 1px;
}
.xp-flag-tile.r { background: linear-gradient(135deg, #ff715b, #e0321a); }
.xp-flag-tile.g { background: linear-gradient(135deg, #8ad443, #5ea81d); }
.xp-flag-tile.b { background: linear-gradient(135deg, #4fa3ff, #1d6ed8); }
.xp-flag-tile.y { background: linear-gradient(135deg, #ffd74a, #f5a60a); }

.start-text {
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.75);
    letter-spacing: 0.3px;
}

/* Görev Çubuğundaki Açık Programlar (XP Kabartmalı Butonlar) */
.taskbar-apps-container {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    padding: 0 6px;
    height: 100%;
}
.taskbar-app {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    max-width: 170px;
    background: linear-gradient(180deg, #3c81f3 0%, #2f6de5 20%, #1f57d6 85%, #1846b8 100%);
    color: #ffffff;
    border: 1px solid #143ca3;
    border-radius: 3px;
    padding: 0 8px;
    font-size: 0.78rem;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: 500;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 2px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 1px #0e2970;
}
.taskbar-app:hover {
    background: linear-gradient(180deg, #4f92fa 0%, #3f7eec 20%, #2964e2 85%, #1e4fc2 100%);
}
.taskbar-app.active {
    background: linear-gradient(180deg, #1844b2 0%, #1d4fc6 15%, #2259dc 85%, #1b47be 100%);
    border: 1px solid #0f2e82;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.55), inset -1px -1px 0 rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 700;
}

/* XP Sistem Tepsisi (Recessed Dark Blue Box) */
.taskbar-system-tray {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 0 10px;
    background: linear-gradient(180deg, #0d53c2 0%, #1569e3 25%, #1771f2 60%, #0d4ebb 100%);
    border-left: 1px solid #0c3e8e;
    box-shadow: inset 1px 0 1px rgba(0, 0, 0, 0.35);
    font-size: 0.78rem;
    color: #ffffff;
}
.tray-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.tray-clock {
    font-family: Tahoma, Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 1px #0a2f73;
}

/* --- BAŞLAT MENÜSÜ (WINDOWS XP 2-COLUMN LUNA START MENU) --- */
#os-start-menu {
    position: fixed;
    bottom: var(--taskbar-height);
    left: 0;
    width: 390px;
    background: #ffffff;
    border: 2px solid #0055ea;
    border-radius: 6px 6px 0 0;
    box-shadow: 3px 3px 14px rgba(0, 0, 0, 0.55);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
    user-select: none;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
#os-start-menu.open { display: flex; }

/* Başlat Menüsü Üst Kullanıcı Kartı (Luna Royal Blue Gradient) */
.start-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: linear-gradient(180deg, #245edb 0%, #3f8cf3 14%, #245edb 32%, #1941a5 100%);
    color: #ffffff;
    border-bottom: 1px solid #14358a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.start-user-avatar {
    font-size: 2rem;
    background: #ffffff;
    border: 2px solid #ffaa00;
    border-radius: 4px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.start-user-info strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
    text-shadow: 1px 1px 1px #001869;
}
.start-user-sub {
    font-size: 0.72rem;
    color: #bfdbfe;
}

/* Başlat Menüsü 2 Sütun Düzeni */
.start-columns-wrap {
    display: flex;
    min-height: 360px;
    background: #ffffff;
}

/* Sol Sütun (Beyaz Zemin - Programlar ve Vardiya) */
.start-col-left {
    flex: 1.15;
    background: #ffffff;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.start-col-left .start-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 2px;
    cursor: pointer;
    color: #1e293b;
    transition: none;
}
.start-col-left .start-menu-item:hover {
    background: #316ac5;
    color: #ffffff;
}
.start-col-left .start-menu-item:hover .start-item-text strong,
.start-col-left .start-menu-item:hover .start-item-text small,
.start-col-left .start-menu-item:hover .start-item-text span {
    color: #ffffff !important;
}
.start-col-left .start-item-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
}
.start-item-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.start-item-text strong {
    font-size: 0.8rem;
    color: #0f172a;
}
.start-item-text small {
    font-size: 0.68rem;
    color: #64748b;
}
.start-divider {
    height: 1px;
    background: #d8e2ec;
    margin: 4px 6px;
}

/* Sağ Sütun (Açık Mavi XP Zemin - Sistem & Ayarlar) */
.start-col-right {
    flex: 0.95;
    background: #d3e5fa;
    border-left: 1px solid #95bdee;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.start-col-right .start-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 2px;
    cursor: pointer;
    color: #001f5c;
    font-size: 0.78rem;
    font-weight: 600;
}
.start-col-right .start-menu-item:hover {
    background: #316ac5;
    color: #ffffff;
}
.start-col-right .start-item-icon {
    font-size: 1.1rem;
    width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Başlat Menüsü Alt Çubuğu (Kapat & Sıfırla) */
.start-footer-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(180deg, #245edb 0%, #1f51c0 50%, #153c98 100%);
    border-top: 1px solid #3c7bf4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.start-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 3px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: Tahoma, Arial, sans-serif;
    text-shadow: 1px 1px 1px #001869;
}
.start-footer-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}
.start-footer-btn.shutdown:hover {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    border-color: #f87171;
}

/* --- BİLDİRİM TOASTLARI (WINDOWS XP BALON VE LUNA BİLDİRİMİ) --- */
#os-notifications-center {
    position: fixed;
    bottom: calc(var(--taskbar-height) + 12px);
    right: 16px;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    z-index: 9999;
    pointer-events: none;
}
.os-toast-notif {
    background: #ffffe1;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 6px;
    padding: 10px 14px;
    width: 300px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    pointer-events: auto;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    position: relative;
}
.os-toast-notif::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 28px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #000000 transparent transparent;
    display: block;
    width: 0;
}
.os-toast-notif.fade-out {
    animation: fadeOut 0.4s ease forwards;
}
.toast-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: #003399;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.toast-desc {
    font-size: 0.78rem;
    color: #222222;
    line-height: 1.35;
}

/* --- MODALLAR (MESAİ SONU RAPORU - WINDOWS XP DİYALOG KUTUSU) --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.report-modal-card {
    background: #ece9d8;
    border: 3px solid #0055ea;
    border-radius: 8px 8px 0 0;
    width: 490px;
    max-width: 94vw;
    box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
.report-modal-header {
    background: linear-gradient(180deg, #245edb 0%, #3f8cf3 14%, #245edb 32%, #1941a5 100%);
    padding: 12px 16px;
    color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #14358a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.report-modal-header h2 {
    font-size: 1.25rem;
    margin-bottom: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 1px #001869;
}
.report-modal-body {
    padding: 16px;
    background: #ece9d8;
    color: #1e293b;
}
.report-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.report-stat-box {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.report-stat-box .val {
    font-size: 1.2rem;
    font-weight: 800;
    color: #003399;
    margin-top: 4px;
}
.report-earnings-box {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 3px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.earning-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 4px;
    color: #166534;
}
.earning-total {
    border-top: 1px solid #86efac;
    padding-top: 6px;
    margin-top: 6px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #15803d;
}

/* --- ORTAK FORM, BUTON VE ROZETLER (WINDOWS XP CLASSIC / LUNA) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 3px;
    border: 1px solid #003c74;
    font-size: 0.8rem;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(180deg, #ffffff 0%, #ece9d8 50%, #d8d4c4 100%);
    color: #000000;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.18);
    transition: filter 0.1s ease;
    user-select: none;
}
.btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f3efe2 50%, #e2ded0 100%);
    border-color: #002244;
}
.btn:active {
    background: linear-gradient(180deg, #d8d4c4 0%, #ece9d8 50%, #ffffff 100%);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.35);
}
.btn-sm { padding: 3px 8px; font-size: 0.74rem; }

.btn-primary {
    background: linear-gradient(180deg, #4f92fa 0%, #2563eb 50%, #1d4ed8 100%);
    color: #ffffff;
    border-color: #14358a;
    text-shadow: 1px 1px 1px #001869;
}
.btn-primary:hover {
    background: linear-gradient(180deg, #6ba5fc 0%, #3b82f6 50%, #2563eb 100%);
    border-color: #0d2870;
}
.btn-primary:active {
    background: linear-gradient(180deg, #1d4ed8 0%, #2563eb 50%, #4f92fa 100%);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    color: #1e293b;
    border-color: #64748b;
}
.btn-secondary:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.btn-success {
    background: linear-gradient(180deg, #53af2f 0%, #38841c 50%, #2d6b16 100%);
    color: #ffffff;
    border-color: #1e5210;
    text-shadow: 1px 1px 1px #113606;
}
.btn-success:hover {
    background: linear-gradient(180deg, #63bf3f 0%, #469a26 50%, #38841c 100%);
    border-color: #153c0a;
}
.btn-success:active {
    background: linear-gradient(180deg, #2d6b16 0%, #38841c 50%, #53af2f 100%);
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-warning {
    background: linear-gradient(180deg, #fef08a 0%, #eab308 50%, #ca8a04 100%);
    color: #422006;
    border-color: #a16207;
}
.btn-warning:hover {
    background: linear-gradient(180deg, #fef9c3 0%, #facc15 50%, #eab308 100%);
}

.btn-danger {
    background: linear-gradient(180deg, #f87171 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff;
    border-color: #991b1b;
    text-shadow: 1px 1px 1px #7f1d1d;
}
.btn-danger:hover {
    background: linear-gradient(180deg, #fca5a5 0%, #ef4444 50%, #dc2626 100%);
}

.form-select, input[type="text"] {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 5px 8px;
    font-size: 0.8rem;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    outline: none;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.12);
}
.form-select:focus, input[type="text"]:focus {
    border-color: #0055ea;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.15), 0 0 3px rgba(0, 85, 234, 0.4);
}

/* ==========================================================================
   3CX SOFTPHONE STİLLERİ (WINDOWS XP DIALER & MEDIA PLAYER THEME)
   ========================================================================== */
#phone-3cx-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 250px;
    max-width: calc(100vw - 40px);
    background: #ece9d8;
    border: 2px solid #0055ea;
    border-radius: 6px 6px 0 0;
    box-shadow: 3px 3px 16px rgba(0, 0, 0, 0.45);
    padding: 0;
    z-index: 2000;
    display: none;
    flex-direction: column !important;
    box-sizing: border-box;
    overflow: hidden;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

#phone-3cx-widget.ringing {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
    animation: phoneRingingPulse 1s infinite alternate;
}

@keyframes phoneRingingPulse {
    0% { border-color: #ef4444; }
    100% { border-color: #f87171; }
}

.phone-3cx-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: linear-gradient(180deg, #245edb 0%, #3f8cf3 14%, #245edb 32%, #1941a5 100%);
    border-bottom: 1px solid #14358a;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 1px #001869;
}
.phone-brand {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.3px;
}
.phone-ext {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 6px;
    border-radius: 3px;
    font-family: var(--font-mono);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-3cx-content-wrap {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.phone-3cx-lcd {
    background: #0c1a2e;
    border: 2px inset #7f9db9;
    border-radius: 4px;
    padding: 6px 10px;
    margin: 8px 10px;
    font-family: "Lucida Console", Courier, monospace;
    color: #38bdf8;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
    box-sizing: border-box;
    overflow: hidden;
}
.lcd-line-1 {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
}
.lcd-line-2 {
    font-size: 0.85rem;
    color: #f1f5f9;
    margin: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}
.lcd-line-3 {
    font-size: 0.68rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-3cx-actions {
    display: flex;
    gap: 6px;
    margin: 0 10px 8px 10px;
    box-sizing: border-box;
}
.btn-3cx-call {
    flex: 1;
    background: linear-gradient(180deg, #53af2f 0%, #38841c 50%, #2d6b16 100%);
    color: #ffffff;
    border: 1px solid #1e5210;
    border-radius: 3px;
    padding: 6px 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    text-shadow: 1px 1px 1px #113606;
}
.btn-3cx-call:hover { background: linear-gradient(180deg, #63bf3f 0%, #469a26 50%, #38841c 100%); }
.btn-3cx-hangup {
    flex: 1;
    background: linear-gradient(180deg, #f87171 0%, #dc2626 50%, #b91c1c 100%);
    color: #ffffff;
    border: 1px solid #991b1b;
    border-radius: 3px;
    padding: 6px 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    text-shadow: 1px 1px 1px #7f1d1d;
}
.btn-3cx-hangup:hover { background: linear-gradient(180deg, #fca5a5 0%, #ef4444 50%, #dc2626 100%); }

.phone-3cx-dialpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 0 10px 10px 10px;
}
.dial-key {
    background: linear-gradient(180deg, #ffffff 0%, #ece9d8 100%);
    border: 1px solid #7f9db9;
    border-radius: 3px;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.dial-key:hover { background: #eef5ff; border-color: #0055ea; }
.dial-sub { font-size: 0.58rem; color: #64748b; margin-top: -2px; }

/* 3CX Çağrı Yardım Modalı (Windows XP Luna Diyalogu) */
.call-dialog-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.call-dialog-card {
    background: #ece9d8;
    border: 3px solid #0055ea;
    border-radius: 8px 8px 0 0;
    width: 560px;
    max-width: 92vw;
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    animation: slideIn 0.25s ease;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
.call-dialog-header {
    background: linear-gradient(180deg, #245edb 0%, #3f8cf3 14%, #245edb 32%, #1941a5 100%);
    border-bottom: 1px solid #14358a;
    color: #ffffff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.call-dialog-header h3 {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 1px #001869;
}
.call-dialog-body { padding: 14px; color: #1e293b; }
.caller-profile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 8px 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: #0f172a;
}
.caller-dialog-bubble {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-left: 4px solid #0055ea;
    border-radius: 3px;
    padding: 12px 14px;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #0f172a;
}
.call-advice-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.call-advice-btn {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 8px 12px;
    color: #0f172a;
    font-size: 0.82rem;
    text-align: left;
    cursor: pointer;
    line-height: 1.4;
    transition: all 0.1s ease;
}
.call-advice-btn:hover {
    background: #eef5ff;
    border-color: #0055ea;
    color: #003399;
}
.call-feedback-box {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 0.85rem;
    line-height: 1.4;
}
.call-feedback-box.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}
.call-feedback-box.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ==========================================================================
   WHMCS DESTEK BİLETİ ARAYÜZÜ (WHMCS ADMIN WINDOWS XP THEME)
   ========================================================================== */
.whmcs-top-toolbar {
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #0f172a;
}
.whmcs-status-select {
    background: #ffffff;
    color: #15803d;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    padding: 3px 8px;
    font-weight: 700;
}
.whmcs-client-card {
    background: #f8fafc;
    border: 1px solid #7f9db9;
    border-radius: 3px;
    padding: 10px 12px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    font-size: 0.8rem;
}
.whmcs-client-field span { color: #64748b; display: block; font-size: 0.7rem; }
.whmcs-client-field strong { color: #0f172a; }

.whmcs-thread-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}
.whmcs-msg-block {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid #7f9db9;
    background: #ffffff;
}
.whmcs-msg-block.client { border-left: 4px solid #f59e0b; }
.whmcs-msg-block.client.error-reply { border-left: 4px solid #ef4444; background: #fffdfd; }
.whmcs-msg-block.client.error-reply .whmcs-msg-head { background: #fee2e2; color: #991b1b; }
.whmcs-msg-block.client.error-reply .whmcs-msg-author { color: #b91c1c; }
.whmcs-msg-block.client.success-reply { border-left: 4px solid #10b981; background: #f0fdf4; }
.whmcs-msg-block.client.success-reply .whmcs-msg-head { background: #dcfce7; color: #166534; }
.whmcs-msg-block.client.success-reply .whmcs-msg-author { color: #15803d; }
.whmcs-msg-block.staff { border-left: 4px solid #0055ea; }
.whmcs-msg-block.dept { border-left: 4px solid #8b5cf6; }
.whmcs-msg-block.dept .whmcs-msg-head { background: #f3e8ff; color: #6b21a8; }
.whmcs-msg-block.dept .whmcs-msg-author { color: #6b21a8; }
.whmcs-msg-head {
    background: #eef3fa;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.74rem;
    color: #475569;
    border-bottom: 1px solid #cbd5e1;
}
.whmcs-msg-author { font-weight: 700; color: #003399; display: flex; align-items: center; gap: 6px; }
.whmcs-msg-body {
    background: #ffffff;
    padding: 10px 12px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #0f172a;
}

/* ==========================================================================
   BITRIX24 İŞ GRUBU VE EKİP CHATİ (MSN / WINDOWS MESSENGER XP THEME)
   ========================================================================== */
.bitrix-layout {
    display: flex;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #7f9db9;
}
.bitrix-sidebar {
    width: 250px;
    background: #eaf2fc;
    border-right: 1px solid #7f9db9;
    display: flex;
    flex-direction: column;
}
.bitrix-sidebar-head {
    padding: 10px 12px;
    background: linear-gradient(180deg, #d8e8fc 0%, #c4ddfb 100%);
    border-bottom: 1px solid #7f9db9;
    font-weight: 700;
    color: #003399;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bitrix-channels-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 4px;
    gap: 2px;
}
.bitrix-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.1s;
    border: 1px solid transparent;
    color: #0f172a;
}
.bitrix-item:hover { background: #d4e7fd; }
.bitrix-item.active {
    background: #316ac5;
    color: #ffffff;
}
.bitrix-avatar-wrap {
    position: relative;
    font-size: 1.3rem;
}
.bitrix-online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 7px;
    height: 7px;
    background: #10b981;
    border: 1px solid #ffffff;
    border-radius: 50%;
}
.bitrix-item-info { flex: 1; min-width: 0; }
.bitrix-item-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bitrix-item.active .bitrix-item-name { color: #ffffff; }
.bitrix-item-sub {
    font-size: 0.7rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bitrix-item.active .bitrix-item-sub { color: #dbeafe; }
.bitrix-badge {
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
}

.bitrix-chat-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}
.bitrix-chat-head {
    padding: 8px 14px;
    background: #eef3fa;
    border-bottom: 1px solid #7f9db9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bitrix-chat-title-group h4 { font-size: 0.88rem; color: #003399; margin-bottom: 2px; }
.bitrix-chat-title-group p { font-size: 0.72rem; color: #64748b; }
.bitrix-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
}
.bitrix-chat-msg {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.bitrix-chat-msg.self {
    flex-direction: row-reverse;
}
.bitrix-chat-msg .bitrix-avatar {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.bitrix-chat-msg .bitrix-msg-content {
    max-width: 80%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.82rem;
    color: #0f172a;
}
.bitrix-chat-msg.self .bitrix-msg-content {
    background: #e0edfd;
    border-color: #90c2fb;
    color: #001f5c;
}
.bitrix-chat-msg .bitrix-msg-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 3px;
    font-size: 0.72rem;
}
.bitrix-chat-msg .bitrix-sender-name {
    font-weight: 700;
    color: #003399;
}
.bitrix-chat-msg .bitrix-msg-time {
    color: #64748b;
}
.bitrix-chat-msg .bitrix-msg-text {
    color: #0f172a;
    line-height: 1.4;
}

.bitrix-input-bar {
    padding: 8px 12px;
    background: #ece9d8;
    border-top: 1px solid #7f9db9;
    display: flex;
    gap: 6px;
    align-items: center;
}
.bitrix-input-bar input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 2px;
    color: #000000;
    padding: 5px 8px;
    font-size: 0.82rem;
    outline: none;
}
.bitrix-input-bar input:focus {
    border-color: #0055ea;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
}
.badge-blue { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.badge-green { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.badge-yellow { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.badge-red { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.badge-purple { background: #f3e8ff; color: #6b21a8; border: 1px solid #d8b4fe; }

.status-pill {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}
.status-pill.working { background: rgba(16, 185, 129, 0.25); color: #86efac; }
.status-pill.offline { background: rgba(255, 255, 255, 0.2); color: #cbd5e1; }

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #64748b;
    text-align: center;
}
.empty-icon { font-size: 2.5rem; margin-bottom: 8px; }

/* Animasyonlar */
@keyframes slideIn {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

/* Küçük Ekranlar & Mobil Desteği */
@media (max-width: 900px) {
    .os-window {
        width: 95vw !important;
        height: 80vh !important;
        left: 2.5vw !important;
        top: 20px !important;
        resize: none;
    }
    .tickets-layout { flex-direction: column; }
    .tickets-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #7f9db9; height: 180px; }
    .desktop-stat-widget { display: none; }
    #phone-3cx-widget { display: none; }
}

/* ==========================================================================
   GAME OVER (İŞTEN KOVULMA) MODAL STİLLERİ
   ========================================================================== */
.game-over-modal-card {
    background: #ece9d8;
    border: 4px solid #dc2626;
    border-radius: 8px 8px 0 0;
    width: 520px;
    max-width: 94vw;
    box-shadow: 0 0 35px rgba(220, 38, 38, 0.75);
    overflow: hidden;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.game-over-header {
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 50%, #7f1d1d 100%);
    padding: 16px 20px;
    text-align: center;
    color: #ffffff;
    border-bottom: 2px solid #991b1b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.game-over-badge {
    display: inline-block;
    background: #450a0a;
    color: #fca5a5;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 6px;
    border: 1px solid #7f1d1d;
}
.game-over-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px #000000;
    margin: 0;
}
.game-over-body {
    padding: 20px;
}
.game-over-boss-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    padding: 14px;
    border-radius: 6px;
}
.game-over-boss-avatar {
    font-size: 4.5rem;
    line-height: 1;
    filter: drop-shadow(2px 3px 4px rgba(0,0,0,0.3));
    animation: headShake 0.9s infinite alternate;
}
@keyframes headShake {
    0% { transform: rotate(-6deg) scale(1); }
    100% { transform: rotate(6deg) scale(1.08); }
}
.boss-speech-bubble {
    font-size: 0.84rem;
    line-height: 1.5;
    color: #450a0a;
}
.game-over-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #ffffff;
    border: 1px solid #7f9db9;
    border-radius: 4px;
    padding: 10px;
}
.game-over-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: #475569;
}
.game-over-stat-item strong {
    font-size: 1rem;
    color: #0f172a;
    margin-top: 2px;
}

/* ==========================================
   OYUNA BAŞLA / MESAİ GİRİŞ EKRANI (LAUNCHER)
   ========================================== */
#game-start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, #1e3a8a 0%, #0b1329 80%, #030712 100%);
    box-sizing: border-box;
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#game-start-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.start-screen-card {
    width: 620px;
    max-width: 95vw;
    background: #f0f4f9;
    border: 3px solid #0055ea;
    border-radius: 8px 8px 6px 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 85, 234, 0.4);
    overflow: hidden;
    font-family: Tahoma, "Segoe UI", Arial, sans-serif;
    animation: popIn 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.start-screen-titlebar {
    background: linear-gradient(180deg, #245edb 0%, #3f8cf3 14%, #245edb 32%, #1941a5 100%);
    color: #ffffff;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px #001869;
    border-bottom: 1px solid #14358a;
}
.start-screen-body {
    padding: 24px 26px;
    background: #ffffff;
}
.start-logo-wrap {
    text-align: center;
    margin-bottom: 16px;
}
.start-brand-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #003399;
    margin: 0;
    letter-spacing: 1px;
}
.start-brand-sub {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 3px;
}
.start-briefing-box {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.5;
}
.start-grid-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
.start-stat-card {
    background: #eef3fa;
    border: 1px solid #c7d8ee;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 0.78rem;
}
.start-stat-card span {
    color: #64748b;
    display: block;
    font-size: 0.72rem;
    margin-bottom: 2px;
}
.start-stat-card strong {
    display: block;
    color: #0f172a;
    font-size: 0.86rem;
    margin-bottom: 2px;
}
.btn-start-huge {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    color: #ffffff;
    border: 2px solid #14532d;
    border-radius: 6px;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    text-shadow: 1px 1px 2px #052e16;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.btn-start-huge:hover {
    background: linear-gradient(180deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.6);
}
.btn-start-huge:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.4);
}
.btn-start-secondary {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    color: #93c5fd;
    border: 1px solid #0f172a;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    text-shadow: 1px 1px 1px #000;
}
.btn-start-secondary:hover {
    background: linear-gradient(180deg, #475569 0%, #334155 100%);
    color: #ffffff;
}

/* ==========================================================================
   8. PENCERE: MAIL & SUNUCU LOG ANALİZÖRÜ (EXIM / DOVECOT / RFC 822 / CSF)
   ========================================================================== */
#win-maillog {
    width: 920px;
    height: 600px;
    max-width: 96vw;
    max-height: 88vh;
    top: 55px;
    left: 110px;
}

.log-viewer-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1e293b;
    border-bottom: 2px solid #334155;
    padding: 6px 12px;
    gap: 12px;
}

.log-tabs-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.log-tab-btn {
    background: #0f172a;
    border: 1px solid #334155;
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.log-tab-btn:hover {
    background: #1e293b;
    color: #f8fafc;
    border-color: #64748b;
}

.log-tab-btn.active {
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.4);
}

.log-search-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 4px 8px;
    width: 260px;
}

.log-search-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 0.78rem;
    width: 100%;
}

.log-viewer-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: #090d16;
}

/* Sol Taraf: Log Konsolu */
.log-terminal-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 2px solid #1e293b;
    background: #090d16;
    overflow: hidden;
}

.log-terminal-header {
    background: #0f172a;
    padding: 6px 12px;
    border-bottom: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #94a3b8;
}

.log-lines-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.76rem;
    line-height: 1.5;
    color: #e2e8f0;
    user-select: text;
}

.log-line {
    padding: 3px 6px;
    border-radius: 3px;
    margin-bottom: 2px;
    white-space: pre-wrap;
    word-break: break-all;
    cursor: pointer;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.log-line:hover {
    background: rgba(255, 255, 255, 0.06);
}

.log-line.log-crit {
    background: rgba(220, 38, 38, 0.18);
    border-left: 3px solid #ef4444;
    color: #fca5a5;
    font-weight: 600;
}

.log-line.log-crit:hover {
    background: rgba(220, 38, 38, 0.32);
}

.log-line.log-warn {
    background: rgba(245, 158, 11, 0.14);
    border-left: 3px solid #f59e0b;
    color: #fde68a;
}

.log-line.log-info {
    color: #93c5fd;
}

.log-line.log-success {
    color: #86efac;
    border-left: 3px solid #10b981;
}

.log-line.log-selected-pulse {
    animation: cluePulse 1.2s infinite alternate;
    border-left: 3px solid #38bdf8 !important;
}

@keyframes cluePulse {
    0% { background: rgba(56, 189, 248, 0.25); }
    100% { background: rgba(56, 189, 248, 0.45); }
}

.log-time {
    color: #64748b;
    margin-right: 6px;
}

.log-code {
    color: #ef4444;
    font-weight: 700;
}

.log-terminal-footer {
    background: #0f172a;
    padding: 6px 12px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.73rem;
    color: #64748b;
}

/* Sağ Taraf: Dedektif & Bulmaca Paneli */
.log-detective-pane {
    width: 290px;
    background: #0f172a;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.detective-header {
    font-size: 0.85rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #334155;
    padding-bottom: 8px;
}

.detective-ticket-meta {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detective-clue-box {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    padding: 10px;
}

.clue-box-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.clue-content {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #e2e8f0;
}

.detective-action-box {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 10px;
}

.action-box-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.detective-bonus-banner {
    background: rgba(245, 158, 11, 0.12);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 0.73rem;
    line-height: 1.4;
    color: #fcd34d;
    margin-top: auto;
}

/* ==========================================================================
   MÜDÜRÜN ODASI: ERKEN ÇIKIŞ & İSTİFA SORGUSU MODALI
   ========================================================================== */
.early-leave-modal-card {
    background: #ffffff;
    width: 540px;
    max-width: 95vw;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    animation: zoomModalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.early-leave-header {
    background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #2563eb;
}

.early-leave-header h3 {
    color: #ffffff !important;
}

.early-leave-body {
    padding: 20px;
    background: #f8fafc;
}

.boss-dialogue-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.boss-face-avatar {
    font-size: 2.8rem;
    flex-shrink: 0;
    background: #e2e8f0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbd5e1;
}

.boss-prompt-bubble {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 12px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    position: relative;
    flex: 1;
}

.boss-prompt-bubble::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 18px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #cbd5e1;
}

.early-leave-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.early-opt-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.early-opt-btn:hover {
    transform: translateX(4px);
    border-color: #3b82f6;
    background: #f0f7ff;
}

.early-opt-btn.opt-resign:hover {
    border-color: #ef4444;
    background: #fef2f2;
}

.early-opt-btn.opt-cancel:hover {
    border-color: #64748b;
    background: #f1f5f9;
}

.early-opt-btn .opt-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.early-opt-btn .opt-text strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.early-opt-btn .opt-text small {
    display: block;
    font-size: 0.74rem;
    color: #64748b;
}



/* ==========================================================================
   YENİ EKLENEN PROFESYONEL ÖZELLİKLER (V2.6 GÜNCELLEMESİ)
   ========================================================================== */

/* 1. MÜDÜR 2. İHTAR KRİTİK UYARI MODALI */
.strike-warning-card {
    background: #ffffff;
    width: 620px;
    max-width: 95vw;
    border-radius: 10px;
    box-shadow: 0 25px 60px rgba(239, 68, 68, 0.4), 0 0 0 3px rgba(239, 68, 68, 0.8);
    overflow: hidden;
    animation: strikeWarningPulse 1.4s infinite alternate;
}

@keyframes strikeWarningPulse {
    0% { box-shadow: 0 20px 50px rgba(239, 68, 68, 0.3), 0 0 0 3px rgba(239, 68, 68, 0.6); }
    100% { box-shadow: 0 30px 70px rgba(239, 68, 68, 0.6), 0 0 0 5px rgba(239, 68, 68, 1); }
}

.strike-warning-header {
    background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ef4444;
}

.strike-warning-body {
    padding: 22px 24px;
    background: #fdf2f2;
}

/* 2. CPANEL CANLI ALAN ADI SAĞLIK TEST PANELİ */
.cpanel-health-inspector {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}

.health-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.health-item {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.health-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.health-val {
    font-family: var(--font-mono, 'Consolas', monospace);
    font-size: 0.82rem;
    font-weight: 700;
}

.health-val.text-green { color: #10b981; }
.health-val.text-red { color: #ef4444; }
.health-val.text-yellow { color: #f59e0b; }

.health-action-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #1e293b;
    padding-top: 8px;
}

/* 3. TERMINAL HIZLI KOMUT ÇUBUĞU */
.terminal-quick-cmds {
    display: flex;
    gap: 6px;
    padding: 6px 8px;
    background: #090d16;
    border-bottom: 1px solid #1e293b;
    overflow-x: auto;
    white-space: nowrap;
}

.term-btn {
    background: #1e293b;
    border: 1px solid #334155;
    color: #38bdf8;
    font-family: var(--font-mono, 'Consolas', monospace);
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.term-btn:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #38bdf8;
    transform: translateY(-1px);
}

/* 4. WIKI ARAMA VE FİLTRE ÇUBUĞU */
.wiki-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wiki-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: #1e293b;
    font-family: inherit;
}

/* 5. MÜŞTERİ YORUMU (CSAT TOAST) */
.customer-feedback-toast {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 99990;
    background: #ffffff;
    border: 2px solid #10b981;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    max-width: 380px;
    animation: toastSlideUp 0.35s ease-out;
}

@keyframes toastSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.feedback-stars {
    font-size: 1.1rem;
    color: #f59e0b;
    margin-bottom: 4px;
}

.feedback-quote {
    font-size: 0.85rem;
    color: #1e293b;
    line-height: 1.4;
    font-style: italic;
}

.feedback-author {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 6px;
    font-weight: 600;
}

/* 6. BAŞARIMLAR (ACHIEVEMENTS) KARTI & SEKMELER */
.shop-tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}

.shop-tab-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.shop-tab-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.achievement-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    transition: all 0.2s ease;
}

.achievement-card.unlocked {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

.achievement-card.locked {
    opacity: 0.55;
    filter: grayscale(0.8);
}

.achievement-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.achievement-info strong {
    display: block;
    font-size: 0.84rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.achievement-info small {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}
