@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600;700&display=swap');

/* =====================================================
   GLOBAL SCROLLBAR - Dark Theme (Override All)
   ===================================================== */

*::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

*::-webkit-scrollbar-track {
    background: #0f1318 !important;
}

*::-webkit-scrollbar-thumb {
    background: #2a2f36 !important;
    border-radius: 10px !important;
}

*::-webkit-scrollbar-thumb:hover {
    background: #3a3f47 !important;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #2a2f36 #0f1318;
}

:root {
    --font-base: 14px;
    --font-heading: 20px;
    --font-modal-title: 18px;
    --font-subtitle: 13px;
    --font-table-header: 12px;
    --font-match-name: 15px;
    --font-odds: 15px;
    --font-money: 13px;
    --font-pct: 13px;
    --font-secondary: 12px;
    --font-small: 11px;
    
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    
    --line-height: 1.35;
    --line-height-tight: 1.2;
    
    /* 8px Grid Spacing System */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-xxl: 24px;
    
    --spacing-row: 5px;
    
    /* Premium Design Tokens */
    --bg-main: #0D1117;
    --bg-card: #161B22;
    --bg-card-soft: #1A212A;
    --bg-section: #14191F;
    --border-subtle: #30363D;
    
    --text-primary: #C9D1D9;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;
    
    --accent-green: #22C55E;
    --accent-yellow: #FACC15;
    --accent-purple: #8B5CF6;
    --accent-red: #EF4444;
    
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-pill: 999px;
    
    /* Legacy color mappings */
    --color-bg-primary: #0d1117;
    --color-bg-secondary: #161b22;
    --color-bg-tertiary: #21262d;
    --color-border: #30363d;
    --color-text-primary: #c9d1d9;
    --color-text-secondary: #8b949e;
    --color-text-muted: #8899a6;
    --color-accent: #4ade80;
    --color-link: #58a6ff;
    
    /* Moneyway Global Renk Sistemi */
    --mw-bg: #050814;
    --mw-row-bg: #050814;
    --mw-header-bg: #020617;
    --mw-donut-track: #1c2533;
    --mw-donut-fill: #22c55e;
    --mw-donut-low-fill: #111827;
    --mw-text-money: #22c55e;
    --mw-text-odds: #dbeafe;
    --mw-text-muted: #9ca3af;
    --mw-text-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-base);
    font-weight: var(--weight-medium);
    line-height: var(--line-height);
    background: linear-gradient(180deg, #0D1117 0%, #0B0F15 100%);
    background-attachment: fixed;
    color: var(--color-text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.card-title, .section-title, .modal-title, .alarm-type {
    font-weight: var(--weight-semibold);
}

.info-text, .hint, .form-hint, .muted, .secondary-text, .small-info {
    font-weight: var(--weight-regular);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
}

.logo svg {
    display: block;
}

.brand h1 {
    font-size: var(--font-heading);
    font-weight: var(--weight-semibold);
    color: #fff;
    letter-spacing: -0.3px;
    line-height: var(--line-height-tight);
}

.brand .subtitle {
    font-size: var(--font-secondary);
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
    line-height: var(--line-height);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #21262d;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
}

.status-dot.running {
    background: #fbbf24;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #21262d;
    border: none;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.refresh-btn:hover {
    background: #30363d;
}

.refresh-btn svg {
    color: #e2e8f0;
}

.refresh-btn:hover svg {
    color: #e2e8f0;
}

.last-update-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #21262d;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.last-update-label {
    color: #4ade80;
}

.last-update-time {
    color: #4ade80;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.last-update-tz {
    color: var(--color-text-muted);
    font-size: 10px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #1d9bf0;
    color: #fff;
}

.btn-primary:hover {
    background: #1a8cd8;
}

.btn-primary:disabled {
    background: #1d9bf066;
    cursor: not-allowed;
}

.auto-scrape-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
}

.interval-select {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.interval-select:hover {
    border-color: #8b949e;
}

.interval-select:focus {
    border-color: #58a6ff;
}

.btn-auto {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-auto:hover {
    background: #30363d;
    color: #c9d1d9;
}

.btn-auto.active {
    background: #166534;
    border-color: #22c55e;
    color: #4ade80;
}

.btn-auto.active:hover {
    background: #15803d;
}

.market-tabs {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: #161b22;
    border-bottom: 1px solid #30363d;
    overflow-x: auto;
}

.tab {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    border: none;
    color: #6e7681;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.18s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    position: relative;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #4ade80;
    border-radius: 1px;
    transition: width 0.18s ease;
}

.tab:hover {
    background: transparent;
    color: #c9d1d9;
}

.tab.active {
    background: transparent;
    color: #4ade80;
    font-weight: 600;
}

.tab.active::after {
    width: 70%;
}

.tab.active svg {
    stroke: #4ade80;
}

.main-content {
    padding: 12px;
    height: calc(100vh - 110px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.matches-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0d1117;
    border-radius: 8px;
    border: 1px solid #30363d;
    width: 300px;
    box-shadow: inset 0 0 4px rgba(255,255,255,0.03);
    transition: all 0.2s ease;
}

.search-box:hover {
    background: #161b22;
    border-color: #484f58;
}

.search-box:focus-within {
    background: #161b22;
    border-color: #3fb68b;
    box-shadow: 0 0 0 2px rgba(63,182,139,0.15);
}

.search-box svg {
    color: #8b949e;
    flex-shrink: 0;
}

.search-box input {
    background: none;
    border: none;
    color: #c9d1d9;
    font-size: 14px;
    width: 100%;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-box input::placeholder {
    color: rgba(200,210,220,0.45);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-today {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-today:hover {
    border-color: #8b949e;
    background: #30363d;
}

.btn-today.active {
    background: #238636;
    border-color: #238636;
    color: #fff;
}

.btn-today.active:hover {
    background: #2ea043;
}

.selection-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sel-btn {
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'JetBrains Mono', monospace;
    min-width: 40px;
}

.sel-btn:hover {
    border-color: #8b949e;
    background: #30363d;
    color: #c9d1d9;
}

.sel-btn.active {
    background: #238636;
    border-color: #238636;
    color: #fff;
}

.sel-btn.active:hover {
    background: #2ea043;
}

.match-count {
    background: #21262d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #8b949e;
    font-weight: 500;
}

.match-count span {
    color: #3fb950;
    font-weight: 700;
}

.table-container {
    background: #161b22;
    border-radius: 8px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #30363d;
    flex: 1;
    min-height: 0;
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.matches-table colgroup col.col-date { width: 65px; }
.matches-table colgroup col.col-league { width: 130px; }
.matches-table colgroup col.col-match { width: 200px; }
.matches-table colgroup col.col-volume { width: 85px; }

.matches-table[data-selection-count="3"] colgroup col.col-selection { width: 90px; }
.matches-table[data-selection-count="2"] colgroup col.col-selection { width: 110px; }

.matches-table th {
    padding: 8px 10px;
    font-size: var(--font-table-header);
    font-weight: var(--weight-semibold);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-tertiary);
    position: sticky;
    top: 0;
    z-index: 1;
    line-height: var(--line-height);
    vertical-align: middle;
    text-align: center;
}

.matches-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s, background 0.2s;
}

.matches-table th.sortable:hover {
    color: #c9d1d9;
    background: #30363d;
}

.matches-table th.sortable.active {
    color: #58a6ff;
}

.sort-arrow {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s;
}

.matches-table th.sortable.active .sort-arrow {
    opacity: 1;
}

.matches-table th.sortable:hover .sort-arrow {
    opacity: 0.5;
}

.matches-table td {
    padding: var(--space-lg);
    font-size: var(--font-base);
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    vertical-align: middle;
    line-height: var(--line-height);
    height: 56px;
}

.matches-table tr {
    cursor: pointer;
    transition: background 0.15s;
}

.matches-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.matches-table tr.selected {
    background: #1f6feb33;
}

.col-date {
    text-align: center;
}

.col-league {
    text-align: center;
}

.col-match {
    text-align: left;
}

.col-selection {
    text-align: right;
}

.col-volume {
    text-align: right;
}

.match-date {
    color: var(--color-text-secondary);
    font-size: var(--font-secondary);
    font-weight: var(--weight-medium);
    font-family: 'Inter', sans-serif;
    text-align: center;
    vertical-align: middle;
    line-height: 1.3;
    white-space: nowrap;
}

.match-date .date-line {
    color: #c9d1d9;
    font-weight: 600;
    font-size: 13px;
}

.match-date .time-line {
    color: #8b949e;
    font-size: 11px;
    font-weight: 500;
}

.match-league {
    color: var(--color-text-secondary);
    font-size: var(--font-secondary);
    font-weight: var(--weight-medium);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    line-height: var(--line-height);
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.match-teams {
    font-weight: var(--weight-semibold);
    font-size: var(--font-match-name);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    line-height: var(--line-height);
}

.match-volume {
    color: var(--color-accent);
    font-size: var(--font-base);
    font-weight: var(--weight-semibold);
    font-family: 'Inter', sans-serif;
    text-align: right;
    vertical-align: middle;
    line-height: var(--line-height);
    white-space: nowrap;
}

.match-teams .vs {
    color: #536471;
    margin: 0 5px;
    font-weight: var(--weight-regular);
}

.match-status {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-status.live {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    animation: pulse-live 1.5s ease-in-out infinite;
}

.match-status.ended {
    background: #374151;
    color: #9ca3af;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.selection-cell {
    text-align: center;
    vertical-align: middle;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.selection-cell > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.selection-odds {
    font-weight: var(--weight-semibold);
    color: var(--color-accent);
    font-size: var(--font-odds);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.3px;
    line-height: var(--line-height-tight);
}

.selection-odds.drop-odds {
    color: #ffffff;
}

.selection-money {
    font-size: var(--font-money);
    font-weight: var(--weight-medium);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    line-height: var(--line-height-tight);
    color: var(--color-text-muted);
}

.selection-pct {
    font-size: var(--font-pct);
    font-weight: var(--weight-semibold);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    line-height: var(--line-height-tight);
}

.color-normal {
    color: #e7e9ea;
}

.color-yellow {
    color: #F08A24;
}

.color-orange {
    color: #F08A24;
}

.color-red {
    color: #f87171;
}

.trend-up {
    color: #4ade80;
    font-weight: 700;
    margin-left: 4px;
    font-size: 14px;
}

.trend-down {
    color: #f87171;
    font-weight: 700;
    margin-left: 4px;
    font-size: 14px;
}

.volume-cell {
    text-align: center;
    vertical-align: middle;
    font-family: 'Inter', sans-serif;
    color: var(--mw-text-money);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.loading-row td {
    text-align: center;
    padding: 60px;
    color: #8899a6;
}

.loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #2f3336;
    border-top-color: #1d9bf0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
    vertical-align: middle;
}

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

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8899a6;
}

.empty-state svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.empty-state p {
    font-size: 14px;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 4, 9, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #161b22;
    border-radius: 12px;
    width: 100%;
    max-width: calc(100vw - 32px);
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #30363d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

@media (min-width: 1400px) {
    .modal-content {
        max-width: 1400px;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #30363d;
    background: #161b22;
}

.modal-title h2 {
    font-size: 18px;
    font-weight: 600;
    color: #c9d1d9;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.modal-subtitle {
    font-size: 13px;
    color: #8b949e;
    font-weight: 400;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #21262d;
    color: #c9d1d9;
}

.modal-body {
    padding: 28px 32px;
    overflow-y: auto;
    flex: 1;
    background: #161b22;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #c9d1d9;
}

.match-info-card {
    background: #21262d;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #30363d;
}

.info-columns {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    gap: 16px;
    width: 100%;
}

.info-columns.info-columns-3 {
    gap: 12px;
}

.info-columns-3 .info-column {
    min-width: 100px;
    padding: 14px 16px;
}

.info-column {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    padding: 16px 20px;
    background: #21262d;
    border-radius: 10px;
    min-width: 120px;
    width: 30%;
    box-sizing: border-box;
    border: 1px solid #30363d;
}

.column-header {
    font-size: 15px;
    font-weight: 600;
    color: #c9d1d9;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #30363d;
    text-align: center;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    text-transform: none;
}

.column-value {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
    color: #c9d1d9;
}

.column-value:last-child {
    margin-bottom: 0;
}

.column-value.odds {
    color: #dbeafe;
    font-size: 15px;
    font-weight: 600;
}

.column-value.money {
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
}

.column-value.pct {
    font-size: 13px;
    font-weight: 500;
    color: #4ade80;
}

.column-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #30363d;
    width: 100%;
}

.column-row:last-child {
    border-bottom: none;
}

.row-label {
    font-size: 13px;
    color: #8b949e;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    font-family: 'Inter', sans-serif;
}

.row-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #c9d1d9;
}

.row-value.odds {
    color: #dbeafe;
    font-size: 15px;
    font-weight: 600;
    font-style: normal;
}

.row-value.money {
    font-size: 13px;
    color: #22c55e;
    font-style: normal;
    font-weight: 500;
}

.row-value.pct {
    font-size: 13px;
    font-weight: 500;
    color: #4ade80;
}

.volume-bar {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 16px;
    padding: 14px 20px;
    background: #21262d;
    border-radius: 10px;
    border: 1px solid #30363d;
    width: 100%;
    box-sizing: border-box;
}

.volume-label {
    font-size: 13px;
    color: #8b949e;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.volume-value {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #22c55e;
}

.info-row {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #30363d;
}

.info-row:last-child {
    border-bottom: none;
}

.info-item {
    text-align: center;
    flex: 1;
}

.info-label {
    font-size: 13px;
    color: #8b949e;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #c9d1d9;
    font-family: 'Inter', sans-serif;
}

.info-value.odds {
    color: #dbeafe;
    font-size: 15px;
    font-weight: 600;
}

.info-value.money {
    color: #22c55e;
    font-size: 13px;
    font-weight: 500;
}

.info-value.volume {
    color: #22c55e;
    font-size: 15px;
    font-weight: 600;
}

.info-value.pct {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #4ade80;
}

/* Premium Pill Tab Market Tabs */
.chart-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: var(--space-lg);
    margin-top: var(--space-lg);
}

.chart-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 6px 16px;
    background: linear-gradient(180deg, #11141a, #0c0f13);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: inset 0px 1px 2px rgba(255,255,255,0.06),
                0px 2px 6px rgba(0,0,0,0.25);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'Inter', sans-serif;
}

.chart-tab:hover {
    border-color: rgba(63, 182, 139, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.chart-tab.active {
    background: #0d1117;
    border-color: rgba(63, 182, 139, 0.65);
    box-shadow: 0 0 6px rgba(63, 182, 139, 0.25);
    color: #d8ffee;
}

/* Premium Chart Legend Filters - Desktop: below market tabs, before chart */
.chart-legend-filters {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.chart-filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Futuristic Divider - Apple/TradingView style */
.chart-filter-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0) 100%
    );
    margin: 0 14px;
}

/* Premium Legend Chips - Binance/TradingView style */
.chart-legend-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 34px;
    padding: 6px 14px;
    background: linear-gradient(180deg, #11141a, #0c0f13);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: inset 0px 1px 2px rgba(255,255,255,0.06),
                0px 2px 6px rgba(0,0,0,0.25);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.chart-legend-btn:hover {
    border-color: rgba(63, 182, 139, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.chart-legend-btn.active {
    background: #0d1117;
    border-color: rgba(63, 182, 139, 0.65);
    box-shadow: 0 0 6px rgba(63, 182, 139, 0.25);
    color: #d8ffee;
}

.chart-legend-btn.inactive {
    opacity: 0.4;
    border-color: rgba(255,255,255,0.05);
    background: linear-gradient(180deg, #11141a, #0c0f13);
}

.legend-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--legend-color, #58a6ff);
    margin-top: -1px;
}

/* Premium Time Range Chips - Binance/TradingView style */
.chart-time-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    min-width: 52px;
    padding: 6px 14px;
    background: linear-gradient(180deg, #11141a, #0c0f13);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: inset 0px 1px 2px rgba(255,255,255,0.06),
                0px 2px 6px rgba(0,0,0,0.25);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.chart-time-btn:hover {
    border-color: rgba(63, 182, 139, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.chart-time-btn.active {
    background: #0d1117;
    border-color: rgba(63, 182, 139, 0.65);
    box-shadow: 0 0 6px rgba(63, 182, 139, 0.25);
    color: #d8ffee;
}

/* Premium View Mode Toggle */
.view-mode-filters {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chart-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 6px 14px;
    background: linear-gradient(180deg, #11141a, #0c0f13);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: inset 0px 1px 2px rgba(255,255,255,0.06),
                0px 2px 6px rgba(0,0,0,0.25);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chart-view-btn:hover {
    border-color: rgba(63, 182, 139, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.chart-view-btn.active {
    background: #0d1117;
    border-color: rgba(63, 182, 139, 0.65);
    box-shadow: 0 0 6px rgba(63, 182, 139, 0.25);
    color: #d8ffee;
}

.chart-export-btns {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

.chart-export-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #8b949e;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-export-btn:hover {
    background: #30363d;
    color: #c9d1d9;
    border-color: #8b949e;
}

.chart-export-btn svg {
    width: 14px;
    height: 14px;
}

.chart-legend-btn.inactive .legend-color-dot {
    opacity: 0.4;
}

.chart-wrapper {
    background: #21262d;
    border-radius: 12px;
    padding: 24px;
    height: 480px;
    min-height: 450px;
    border: 1px solid #30363d;
    margin-top: 8px;
}

@media (min-width: 1400px) {
    .chart-wrapper {
        height: 550px;
    }
}

@media (min-width: 1600px) {
    .chart-wrapper {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 12px;
        padding: 10px;
    }
    
    .market-tabs {
        padding: 6px 10px;
    }
    
    .tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .main-content {
        padding: 8px;
    }
    
    .toolbar {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .modal-overlay {
        padding: 0;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .chart-wrapper {
        min-height: 340px !important;
        height: 40vh !important;
        max-height: 460px !important;
        padding: 16px 12px;
        margin: 0 8px;
    }
    
    .info-row {
        flex-wrap: wrap;
    }
    
    .info-item {
        min-width: 80px;
    }
}


.no-alarms {
    color: #8b949e;
    font-size: 12px;
    padding: 8px 0;
    grid-column: 1 / -1;
}

.alarm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--alarm-color, #30363d);
    border-left: 3px solid var(--alarm-color, #30363d);
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 90px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.alarm-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.alarm-card.highlighted {
    box-shadow: 0 0 12px rgba(var(--alarm-rgb, 88, 166, 255), 0.4);
    border-color: var(--alarm-color, #58a6ff);
}

.alarm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.alarm-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.alarm-icon {
    font-size: 14px;
}

.alarm-name {
    color: var(--alarm-color, #c9d1d9);
    font-size: 12px;
    font-weight: var(--weight-semibold);
}

.alarm-count {
    color: var(--alarm-color, #c9d1d9);
    font-size: 12px;
    font-weight: 500;
    padding: 2px 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    margin-left: 4px;
    opacity: 0.7;
}

.alarm-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.alarm-tag {
    color: #8b949e;
    font-size: 10px;
    padding: 2px 6px;
    background: #21262d;
    border-radius: 4px;
    font-weight: 500;
}

.alarm-tag.market {
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.1);
}

.alarm-tag.time {
    color: #8b949e;
}

.alarm-detail {
    color: #e6edf3;
    font-size: 13px;
    font-weight: var(--weight-semibold);
    margin-bottom: 5px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.alarm-description {
    color: #8b949e;
    font-size: 11px;
    font-weight: var(--weight-regular);
    line-height: 1.5;
}

.alarm-extra {
    color: #6e7681;
    font-size: 10px;
    font-weight: var(--weight-regular);
    margin-top: 5px;
    line-height: 1.4;
}

/* Match Detail Page Styles */
.match-detail-page {
    min-height: 100vh;
    background: var(--bg-main);
}

.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all 0.2s;
    margin-right: 12px;
}

.back-link:hover {
    background: var(--bg-card-soft);
    color: var(--text-primary);
}

.match-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xxl);
}

.match-detail-header {
    text-align: center;
    padding: var(--space-lg) var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

.match-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.match-title .vs {
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0 12px;
}

.match-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 400;
}

.chart-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.chart-wrapper-full {
    height: 400px;
    position: relative;
    background: linear-gradient(180deg, #111827 0%, #020617 100%);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.export-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* Premium Selection Cards - 1/X/2 */
.selections-grid {
    display: flex;
    gap: 18px;
    margin-top: var(--space-lg);
}

.selection-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
}

.selection-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #272D35;
}

.selection-card .selection-odds {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    margin-bottom: 6px;
}

.selection-card .selection-pct {
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

.selection-amt {
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
}

.selection-pct.pct-low { color: #3B82F6; }
.selection-pct.pct-mid { color: #8B949E; }
.selection-pct.pct-high { color: #65E08C; }
.selection-pct.pct-max { color: #22C55E; }

/* Premium TOTAL VOLUME Card */
.info-row.total-volume {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
}

.info-row.total-volume .volume-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.info-row.total-volume .volume-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-green);
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
}

.info-row .info-label {
    color: #8b949e;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-row .info-value.volume {
    color: #22c55e;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 600px) {
    .selections-grid {
        grid-template-columns: 1fr;
    }
    
    .match-title {
        font-size: 20px;
    }
    
    .chart-wrapper-full {
        height: 340px;
        margin: 0 2px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Alarm List Button */
.alarm-list-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-left: 1px solid #30363d;
    border-radius: 0;
    color: #4ade80;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    height: 100%;
    margin: 0;
}

.alarm-list-btn:hover {
    background: rgba(74, 222, 128, 0.2);
    border-color: #4ade80;
}

.alarm-bell {
    font-size: 14px;
}

.alarm-btn-text {
    white-space: nowrap;
}

.alarm-count-badge {
    background: var(--alarm-color, #ff0000);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
    margin-left: 6px;
    cursor: help;
    white-space: pre-line;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.alarm-count-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.alarm-count-badge.clickable {
    cursor: pointer;
}

.alarm-count-badge:empty,
.alarm-count-badge[data-count="0"] {
    display: none;
}

/* Alarm History Popover */
.alarm-history-popover {
    position: fixed;
    z-index: 9999;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    min-width: 320px;
    max-width: 400px;
    max-height: 350px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
    overflow: hidden;
}

.popover-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid;
}

.popover-icon {
    font-size: 18px;
}

.popover-title {
    flex: 1;
    font-size: 12px;
    font-weight: 700;
    color: #c9d1d9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popover-close {
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.popover-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #c9d1d9;
}

/* Selection Pill - shows which outcome (1, X, 2, Over, Under, Yes, No) */
.selection-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #58a6ff;
    background: rgba(88, 166, 255, 0.15);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 12px;
    white-space: nowrap;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.event-item .selection-pill {
    margin-right: 4px;
}

/* Alarm Drawer Overlay */
.alarm-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alarm-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Alarm Drawer */
.alarm-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100vw;
    height: 100vh;
    background: #161b22;
    border-left: 1px solid #30363d;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.alarm-drawer.open {
    right: 0;
}

.alarm-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #30363d;
    background: #0d1117;
}

.alarm-drawer-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #e6edf3;
    margin: 0;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #8b949e;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s;
}

.drawer-close-btn:hover {
    background: #21262d;
    color: #c9d1d9;
}

/* Drawer Filters */
.alarm-drawer-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
    border-bottom: 1px solid #30363d;
    background: rgba(0, 0, 0, 0.2);
}

.filter-row {
    display: flex;
    gap: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.filter-group label {
    font-size: 11px;
    color: #8b949e;
    text-transform: uppercase;
    font-weight: 600;
}

.search-row {
    position: relative;
    display: flex;
    align-items: center;
}

.alarm-search-input {
    width: 100%;
    padding: 10px 36px 10px 14px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #c9d1d9;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.alarm-search-input:focus {
    outline: none;
    border-color: #58a6ff;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.alarm-search-input::placeholder {
    color: #6e7681;
}

.search-clear-btn {
    position: absolute;
    right: 8px;
    background: #484f58;
    border: none;
    color: #c9d1d9;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s;
}

.search-clear-btn:hover {
    background: #6e7681;
}

.filter-group select {
    padding: 8px 12px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #c9d1d9;
    font-size: 13px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: #4ade80;
}

/* Drawer Content */
.alarm-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.alarm-empty {
    text-align: center;
    color: #8b949e;
    padding: 40px 20px;
    font-size: 14px;
}

/* Alarm Card */
.alarm-list-card {
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid var(--alarm-color, #4ade80);
}

.alarm-list-card:hover {
    background: #2d333b;
    border-color: #484f58;
    transform: translateX(-2px);
}

.alarm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.alarm-card-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--alarm-color, #4ade80);
}

.alarm-card-type .icon {
    font-size: 14px;
}

.alarm-card-time {
    font-size: 11px;
    color: #8b949e;
    text-align: right;
}

.alarm-card-match {
    font-size: 15px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 6px;
}

.alarm-card-details {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alarm-card-money {
    font-size: 14px;
    font-weight: 700;
    color: #4ade80;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-card-market {
    font-size: 12px;
    color: #8b949e;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
}

.alarm-card-odds {
    font-size: 13px;
    color: #c9d1d9;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-card-odds .arrow {
    color: #8b949e;
    margin: 0 4px;
}

/* Alarm Group Card */
.alarm-group-card {
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border-left: 3px solid var(--alarm-color, #4ade80);
    transition: all 0.2s ease;
}

.alarm-group-card:hover {
    border-color: #484f58;
}

.alarm-group-card.expanded {
    background: #21262d;
}

.alarm-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.alarm-group-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.alarm-group-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alarm-icon {
    font-size: 20px;
}

.alarm-group-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.alarm-group-type {
    font-size: 12px;
    font-weight: 700;
    color: var(--alarm-color, #4ade80);
}

.alarm-group-match {
    font-size: 14px;
    font-weight: 600;
    color: #e6edf3;
}

.alarm-group-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alarm-group-badge {
    background: var(--alarm-color, #4ade80);
    color: #0d1117;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
}

.alarm-group-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.alarm-group-stats .stat-money {
    color: #4ade80;
    font-size: 12px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-group-stats .stat-drop {
    color: #f0883e;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-group-time {
    color: #8b949e;
    font-size: 11px;
}

.alarm-expand-icon {
    color: #8b949e;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.alarm-group-card.expanded .alarm-expand-icon {
    transform: rotate(90deg);
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}

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

.event-time {
    color: #8b949e;
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    min-width: 50px;
}

.event-detail {
    flex: 1;
    color: #c9d1d9;
    font-size: 12px;
}

.event-money {
    color: #4ade80;
    font-size: 12px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-group-action {
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.15);
    color: #58a6ff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alarm-group-action:hover {
    background: rgba(88, 166, 255, 0.1);
}

.alarm-loading {
    text-align: center;
    color: #8b949e;
    padding: 40px 20px;
    font-size: 14px;
}

.alarm-loading-more {
    text-align: center;
    color: #8b949e;
    padding: 15px 20px;
    font-size: 13px;
    border-top: 1px solid #21262d;
}

.alarm-count-info {
    text-align: center;
    color: #8b949e;
    padding: 8px 20px;
    font-size: 12px;
    background: rgba(33, 38, 45, 0.5);
    border-bottom: 1px solid #21262d;
    position: sticky;
    top: 0;
    z-index: 5;
}

.alarm-load-more {
    text-align: center;
    color: #6e7681;
    padding: 12px 20px;
    font-size: 12px;
    font-style: italic;
}

/* ========== 6-HOUR ODDS TREND (DROP MARKETS ONLY) ========== */

.odds-trend-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(33, 38, 45, 0.5);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

/* Drop 1X2 için ekstra sütun boşluğu */
.matches-table[data-selection-count="3"] .selection-cell {
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

/* ========== MONEYWAY DONUT TASARIMI ========== */
.mw-outcomes-cell {
    padding: 8px 4px !important;
}

.mw-grid {
    display: grid;
    column-gap: 16px;
}

.mw-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.mw-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.mw-outcome-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
}

.mw-info-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 60px;
    gap: 2px;
}

.mw-odds {
    font-size: 15px;
    font-weight: 600;
    color: var(--mw-text-odds);
    white-space: nowrap;
}

.mw-donut {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mw-money {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--mw-text-money);
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
}

/* Volume sütunu da aynı para rengi ve hizalama */
.volume-text,
td.volume,
.volume-cell {
    color: var(--mw-text-money) !important;
    text-align: center;
    vertical-align: middle;
}

.mw-donut {
    flex-shrink: 0;
}

.mw-donut .donut-svg {
    display: block;
    width: 48px;
    height: 48px;
}

/* Responsive Moneyway */
@media (max-width: 900px) {
    .mw-outcome-block {
        gap: 3px;
        min-width: 75px;
    }
    
    .mw-odds {
        font-size: 14px;
    }
    
    .mw-money {
        font-size: 11px;
    }
    
    .mw-donut .donut-svg {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    .mw-outcome-block {
        gap: 2px;
        min-width: 65px;
    }
    
    .mw-odds {
        font-size: 13px;
    }
    
    .mw-money {
        font-size: 10px;
    }
    
    .mw-donut .donut-svg {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 600px) {
    .mw-outcome-block {
        gap: 2px;
        min-width: 55px;
    }
    
    .mw-odds {
        font-size: 12px;
    }
    
    .mw-money {
        font-size: 9px;
    }
    
    .mw-donut .donut-svg {
        width: 32px;
        height: 32px;
    }
}

/* ========== DROPPING 1X2 TASARIMI - Mini Kart ========== */
.dropping-1x2-row td {
    padding: 8px 6px !important;
}

.drop-cell {
    text-align: center;
    vertical-align: middle;
    padding: 6px 4px !important;
}

.drop-cell .drop-mini-card {
    display: inline-flex;
    margin: 0 auto;
}

.drop-mini-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 80px;
}

.drop-mini-card[data-tooltip] {
    cursor: pointer;
}

.drop-trend-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 14px;
}

.drop-trend-icon svg {
    width: 28px;
    height: 12px;
}

.drop-odds {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.drop-change {
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.drop-change .trend-pct {
    font-size: inherit;
}

.drop-change .trend-arrow-drop {
    font-size: 12px;
}

.drop-change.positive .trend-pct,
.drop-change.positive .trend-arrow-drop {
    color: #22c55e;
}

.drop-change.negative .trend-pct,
.drop-change.negative .trend-arrow-drop {
    color: #ff0000;
}

/* Responsive Dropping 1X2 - Dar ekran */
@media (max-width: 900px) {
    .dropping-1x2-row td {
        padding: 6px 4px !important;
    }
    
    .drop-cell {
        padding: 4px 2px !important;
    }
    
    .drop-mini-card {
        min-width: 60px;
        gap: 1px;
    }
    
    .drop-trend-icon {
        height: 12px;
    }
    
    .drop-trend-icon svg {
        width: 32px;
        height: 10px;
    }
    
    .drop-odds {
        font-size: 13px;
    }
    
    .drop-change {
        font-size: 9px;
        gap: 1px;
    }
    
    .drop-change .trend-arrow-drop {
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .drop-mini-card {
        min-width: 50px;
    }
    
    .drop-trend-icon {
        height: 10px;
    }
    
    .drop-trend-icon svg {
        width: 28px;
        height: 9px;
    }
    
    .drop-odds {
        font-size: 12px;
    }
    
    .drop-change {
        font-size: 8px;
    }
    
    .drop-change .trend-arrow-drop {
        font-size: 9px;
    }
}

.odds-trend-cell:hover {
    background: rgba(48, 54, 61, 0.8);
}

.odds-trend-cell.odds-trend-no-data {
    opacity: 0.25;
}

.odds-trend-cell.odds-trend-no-data .odds-value-trend {
    color: #8b949e;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Trend Sort Buttons */
.trend-sort-buttons {
    display: flex;
    gap: 6px;
    margin-left: 8px;
}

.trend-sort-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(48, 54, 61, 0.6);
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #8b949e;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trend-sort-btn:hover {
    background: rgba(48, 54, 61, 0.9);
    border-color: #484f58;
    color: #c9d1d9;
}

.trend-sort-btn.active {
    border-color: #238636;
    color: #3fb950;
}

.trend-sort-btn.active.down {
    border-color: #da3633;
    color: #f85149;
}

.trend-sort-btn svg {
    flex-shrink: 0;
}

.sparkline-container {
    flex-shrink: 0;
}

.sparkline-svg {
    display: block;
}

.trend-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.trend-icon-svg {
    display: block;
    width: 28px;
    height: 12px;
}

.odds-value-trend {
    font-weight: 700;
    color: #e6edf3;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.pct-change {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: #99a3ad;
    margin-top: 2px;
}

.pct-change.pct-down {
    color: #ff0000;
}

.pct-change.pct-up {
    color: #22c55e;
}

.pct-change.pct-stable {
    color: #6b7280;
}

.trend-arrow-drop {
    font-size: 12px;
    font-weight: 700;
    margin-left: 2px;
}

.trend-down-drop {
    color: #ff0000;
}

.trend-up-drop {
    color: #22c55e;
}

.trend-stable-drop {
    color: #6b7280;
}

.odds-trend-tooltip {
    position: fixed;
    z-index: 10000;
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}

.odds-trend-tooltip.visible {
    opacity: 1;
    visibility: visible;
}

.odds-trend-tooltip .tooltip-title {
    font-size: 11px;
    font-weight: 700;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #30363d;
}

.odds-trend-tooltip .tooltip-block {
    margin-bottom: 10px;
}

.odds-trend-tooltip .tooltip-block:last-of-type {
    margin-bottom: 0;
}

.odds-trend-tooltip .tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.odds-trend-tooltip .tooltip-date {
    font-size: 10px;
    color: #6b7280;
    opacity: 0.8;
    text-align: right;
    margin-top: 2px;
}

.odds-trend-tooltip .tooltip-label {
    color: #8b949e;
    font-size: 12px;
    white-space: nowrap;
}

.odds-trend-tooltip .tooltip-value {
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-align: right;
}

.odds-trend-tooltip .tooltip-value.tooltip-down {
    color: #ff0000;
}

.odds-trend-tooltip .tooltip-value.tooltip-up {
    color: #22c55e;
}

.odds-trend-tooltip .tooltip-value.tooltip-stable {
    color: #6b7280;
}

.odds-trend-tooltip .tooltip-trend {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #30363d;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.odds-trend-tooltip .tooltip-trend.tooltip-down {
    color: #ff0000;
}

.odds-trend-tooltip .tooltip-trend.tooltip-up {
    color: #22c55e;
}

.odds-trend-tooltip .tooltip-trend.tooltip-stable {
    color: #6b7280;
}

/* Chart.js Custom Tooltip - Dark Glass Effect */
#chartjs-tooltip {
    background: rgba(20, 24, 32, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 10000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-width: 220px;
}

.chart-tooltip-inner {
    padding: 10px 12px;
}

.chart-tooltip-title {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.02em;
}

.chart-tooltip-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chart-tooltip-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chart-tooltip-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 22px;
}

.chart-tooltip-option {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-tooltip-option .color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 1px;
}

.chart-tooltip-odds {
    font-size: 12px;
    font-weight: 500;
    color: #c9d1d9;
    display: flex;
    align-items: center;
    min-width: 38px;
}

.chart-tooltip-volume {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-left: auto;
    text-align: right;
    letter-spacing: 0.01em;
}

.chart-tooltip-pct {
    font-size: 10px;
    font-weight: 400;
    color: #8b949e;
    padding-left: 14px;
    margin-top: -1px;
}

.chart-tooltip-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    padding-left: 14px;
    height: 18px;
}

.chart-tooltip-sub .separator {
    opacity: 0.4;
    font-size: 10px;
}

/* Legacy support */
.chart-tooltip-box {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chart-tooltip-label {
    color: #e7e9ea;
    font-size: 12px;
}

.chart-tooltip-change {
    margin-left: 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.trend-color-up {
    color: #22c55e !important;
    font-weight: 600;
}

.trend-color-down {
    color: #f85149 !important;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 500px) {
    .alarm-drawer {
        width: 100%;
        right: -100%;
    }
    
    .alarm-list-btn .alarm-btn-text {
        display: none;
    }
    
    .alarm-drawer-filters {
        flex-direction: column;
    }
    
    .alarm-group-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .alarm-group-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .odds-trend-cell {
        flex-wrap: wrap;
        gap: 4px;
    }
}

/* Chart Reset Zoom Button (next to PNG/CSV) */
.chart-reset-zoom-btn {
    background: rgba(76, 139, 245, 0.15) !important;
    border-color: #4C8BF5 !important;
    color: #4C8BF5 !important;
}

.chart-reset-zoom-btn:hover {
    background: rgba(76, 139, 245, 0.25) !important;
}

/* Chart Zoom Instructions */
.chart-zoom-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    color: #9ca3af;
    font-size: 11px;
    pointer-events: none;
    opacity: 0.7;
    z-index: 5;
}

/* Chart Brush Slider (Recharts style zoom bar) */
.chart-brush-container {
    margin-top: 12px;
    padding: 8px 12px;
    background: #0B1017;
    border-radius: 8px;
    border: 1px solid #1c2533;
}

.chart-brush-wrapper {
    position: relative;
    height: 40px;
    background: #111827;
    border-radius: 6px;
    overflow: hidden;
}

.chart-brush-mini {
    height: 100%;
    width: 100%;
}

.chart-brush-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.chart-brush-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(30, 144, 255, 0.15) 0%,
        rgba(0, 255, 180, 0.15) 100%
    );
    border-left: 2px solid rgba(30, 144, 255, 0.6);
    border-right: 2px solid rgba(0, 255, 180, 0.6);
    cursor: grab;
}

.chart-brush-range:active {
    cursor: grabbing;
}

.chart-brush-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 22px;
    background: linear-gradient(180deg, #ffffff, #e9edf3);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    cursor: ew-resize;
    z-index: 10;
    transition: box-shadow 0.15s ease;
}

.chart-brush-handle:hover {
    box-shadow: 0 0 6px rgba(80,150,255,0.7);
}

.chart-brush-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 12px;
    background: repeating-linear-gradient(
        to bottom,
        #fff 0px,
        #fff 2px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.7;
}

.chart-brush-handle-left {
    left: -6px;
}

.chart-brush-handle-right {
    right: -6px;
}

.chart-brush-slider {
    width: 100%;
    height: 40px;
    appearance: none;
    background: transparent;
    position: relative;
}

.range-slider-container {
    position: relative;
    height: 40px;
    background: #0d1218;
    border-radius: 8px;
    padding: 0 6px;
}

.range-slider-track {
    position: absolute;
    top: 50%;
    left: 6px;
    right: 6px;
    height: 6px;
    background: #0d1218;
    border-radius: 4px;
    transform: translateY(-50%);
    box-shadow: inset 0px 1px 4px rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
}

.range-slider-highlight {
    position: absolute;
    top: 50%;
    height: 6px;
    background: linear-gradient(90deg,
        rgba(30, 144, 255, 0.5) 0%,
        rgba(0, 255, 180, 0.55) 100%
    );
    border-radius: 4px;
    transform: translateY(-50%);
    box-shadow: inset 0px 1px 4px rgba(0,0,0,0.45);
}

.range-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    appearance: none;
    background: transparent;
    pointer-events: none;
    z-index: 2;
}

.range-slider-input::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 22px;
    background: linear-gradient(180deg, #ffffff, #e9edf3);
    border-radius: 6px;
    cursor: ew-resize;
    pointer-events: auto;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    transition: box-shadow 0.15s ease;
}

.range-slider-input::-webkit-slider-thumb:hover {
    box-shadow: 0 0 6px rgba(80,150,255,0.7);
}

.range-slider-input::-moz-range-thumb {
    width: 16px;
    height: 22px;
    background: linear-gradient(180deg, #ffffff, #e9edf3);
    border-radius: 6px;
    cursor: ew-resize;
    pointer-events: auto;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    transition: box-shadow 0.15s ease;
}

.range-slider-input::-moz-range-thumb:hover {
    box-shadow: 0 0 6px rgba(80,150,255,0.7);
}

.brush-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.3px;
    opacity: 0.55;
}

.brush-info-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brush-info-label svg {
    opacity: 0.6;
}

/* ============================================
   ALARMS BUTTON & MODAL STYLES
   ============================================ */

.alarms-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.alarms-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.alarms-btn svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.alarm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.3);
    border-radius: 11px;
    font-size: 12px;
    font-weight: var(--weight-semibold);
}

/* Alarms Modal */
.alarms-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.alarms-modal-content {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.alarms-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #30363d;
}

.alarms-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 24px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #21262d;
    color: #fff;
}

.alarms-modal-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 20px;
    border-bottom: 1px solid #30363d;
    background: #0d1117;
}

.alarm-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.alarm-tab:hover {
    background: #21262d;
    color: #c9d1d9;
}

.alarm-tab.active {
    background: #21262d;
    border-color: #30363d;
    color: #fff;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    background: #30363d;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
}

.alarm-tab.active .tab-count {
    background: #4ade80;
    color: #000;
}

.alarms-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.alarms-loading {
    text-align: center;
    padding: 40px;
    color: #8b949e;
}

.alarm-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.alarm-list-item:hover {
    background: #161b22;
    border-color: #30363d;
}

.alarm-list-item:last-child {
    margin-bottom: 0;
}

.alarm-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #21262d;
    border-radius: 8px;
    flex-shrink: 0;
}

.alarm-icon.sharp {
    background: linear-gradient(135deg, #22c55e20, #16a34a20);
    color: #4ade80;
}

.alarm-icon.insider {
    background: linear-gradient(135deg, #3b82f620, #2563eb20);
    color: #60a5fa;
}

.alarm-icon.bigmoney {
    background: linear-gradient(135deg, #f59e0b20, #d9770620);
    color: #F08A24;
}

.alarm-details {
    flex: 1;
    min-width: 0;
}

.alarm-match-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alarm-meta-info {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    font-size: 12px;
    color: #8b949e;
}

.alarm-meta-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.alarm-score-badge {
    padding: 4px 10px;
    background: #21262d;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #4ade80;
    flex-shrink: 0;
}

.no-alarms-message {
    text-align: center;
    padding: 40px 20px;
    color: #8b949e;
}

.no-alarms-message svg {
    opacity: 0.3;
    margin-bottom: 12px;
}

.no-alarms-message p {
    font-size: 14px;
}

/* Alarm Filter Bar */
.alarms-filter-bar {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid #30363d;
    background: #0d1117;
    flex-wrap: wrap;
}

.alarm-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #30363d;
    border-radius: 20px;
    color: #8b949e;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.alarm-filter:hover {
    background: #21262d;
    color: #c9d1d9;
}

.alarm-filter.active {
    background: #21262d;
    border-color: #4ade80;
    color: #fff;
}

.filter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.filter-dot.sharp {
    background: #4ade80;
}

.filter-dot.insider {
    background: #60a5fa;
}

.filter-dot.bigmoney {
    background: #fbbf24;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 16px;
    padding: 0 5px;
    background: #30363d;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

.alarm-filter.active .filter-count {
    background: #4ade80;
    color: #000;
}

/* Alarm type badge in list */
.alarm-type-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.alarm-type-badge.sharp {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.alarm-type-badge.insider {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
}

.alarm-type-badge.bigmoney {
    background: rgba(240, 138, 36, 0.15);
    color: #F08A24;
}

.alarm-time {
    font-size: 11px;
    color: #6e7681;
    margin-left: auto;
    flex-shrink: 0;
}

/* =====================================================
   ALARMS TAB & PAGE STYLES
   ===================================================== */

/* Tab içindeki alarm badge */
.tab-alarms {
    position: relative;
}

.tab-alarm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #f87171;
    color: #fff;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 6px;
}

.tab-alarms.active .tab-alarm-badge {
    background: #4ade80;
    color: #000;
}

/* Alarms Section */
.alarms-section {
    padding: 0 16px 16px;
}

.alarms-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #21262d;
}

/* Alarm Pill Filters */
.alarms-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.alarm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid #30363d;
    border-radius: 20px;
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.alarm-pill:hover {
    background: #21262d;
    border-color: #484f58;
    color: #c9d1d9;
}

.alarm-pill.active {
    background: #21262d;
    border-color: #4ade80;
    color: #fff;
}

.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    background: #30363d;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.alarm-pill.active .pill-count {
    background: #4ade80;
    color: #000;
}

/* Alarm Search */
.alarms-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 200px;
    max-width: 300px;
}

.alarms-search svg {
    color: #6e7681;
    flex-shrink: 0;
}

.alarms-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #c9d1d9;
    font-size: 13px;
}

.alarms-search input::placeholder {
    color: #6e7681;
}

/* Alarms List Container */
.alarms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 4px;
}

.alarms-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6e7681;
    font-size: 14px;
}

.alarms-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6e7681;
    text-align: center;
}

.alarms-empty svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.alarms-empty-title {
    font-size: 16px;
    font-weight: 500;
    color: #8b949e;
    margin-bottom: 4px;
}

.alarms-empty-desc {
    font-size: 13px;
}

/* Alarm Card Row */
.alarm-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.alarm-card:hover {
    background: #1c2128;
    border-color: #30363d;
    transform: translateX(2px);
}

/* Alarm Type Indicator (renkli çizgi) */
.alarm-card::before {
    content: '';
    width: 4px;
    height: 100%;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
}

.alarm-card {
    position: relative;
    padding-left: 24px;
}

.alarm-card.sharp-alarm::before {
    background: #4ade80;
}

.alarm-card.insider-alarm::before {
    background: #60a5fa;
}

.alarm-card.bigmoney-alarm::before {
    background: #fbbf24;
}

/* Alarm Card Left: Match Info */
.alarm-match-info {
    flex: 1;
    min-width: 0;
}

.alarm-match-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.alarm-teams {
    font-size: 14px;
    font-weight: 600;
    color: #e6edf3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alarm-league {
    font-size: 13px;
    font-weight: var(--weight-medium);
    color: #8B949E;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Alarm Card Center: Type Badge */
.alarm-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.alarm-type-tag.sharp {
    background: rgba(74, 222, 128, 0.12);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.alarm-type-tag.insider {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.alarm-type-tag.bigmoney {
    background: rgba(240, 138, 36, 0.12);
    color: #F08A24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

/* Alarm Card Right: Details */
.alarm-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    min-width: 100px;
}

.alarm-value {
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-meta {
    font-size: 11px;
    color: #6e7681;
}

/* Alarm Card: Timestamp */
.alarm-time-ago {
    font-size: 11px;
    color: #6e7681;
    flex-shrink: 0;
    min-width: 60px;
    text-align: right;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    padding: 16px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #c9d1d9;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background: #30363d;
    border-color: #484f58;
}

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

/* Responsive */
@media (max-width: 768px) {
    .alarms-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .alarms-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    
    .alarms-search {
        max-width: none;
        min-width: auto;
    }
    
    .alarm-card {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .alarm-match-info {
        flex: 1 1 100%;
        order: 1;
    }
    
    .alarm-type-tag {
        order: 2;
    }
    
    .alarm-details {
        flex: 1;
        order: 3;
        align-items: flex-start;
    }
    
    .alarm-time-ago {
        order: 4;
    }
}

@media (max-width: 480px) {
    .alarms-filters {
        gap: 6px;
    }
    
    .alarm-pill {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .pill-count {
        min-width: 18px;
        height: 16px;
        font-size: 10px;
    }
}

/* Load More Row for Matches Table */
.load-more-row td {
    padding: 16px;
    text-align: center;
    background: transparent;
}

.load-more-row .load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #21262d;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #c9d1d9;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-row .load-more-btn:hover {
    background: #30363d;
    border-color: #484f58;
}

.load-more-row .load-more-btn svg {
    opacity: 0.7;
}

/* =====================================================
   ALARMS SIDEBAR - Right Side Panel
   ===================================================== */

/* Sidebar Overlay */
.alarms-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alarms-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Panel */
.alarms-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 360px;
    height: 100vh;
    max-height: 100vh;
    background: #0d1117;
    border-left: 1px solid #30363d;
    z-index: 999;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.alarms-sidebar.open {
    right: 0;
}

/* Sidebar Header */
.alarms-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #21262d;
    background: #161b22;
}

.alarms-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.alarms-sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #8b949e;
    cursor: pointer;
    transition: all 0.2s;
}

.alarms-sidebar-close:hover {
    background: #21262d;
    color: #fff;
}

/* Sidebar Controls - Modern Design */
.alarms-sidebar-controls {
    padding: 14px 16px;
    border-bottom: 1px solid #21262d;
    background: linear-gradient(180deg, #161b22 0%, #0d1117 100%);
}

.alarms-sidebar-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}

.alarms-sidebar-field {
    display: flex;
    flex-direction: column;
}

.alarms-sidebar-field label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 600;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
    opacity: 0.85;
}

.alarms-sidebar-field select {
    width: 100%;
    padding: 6px 28px 6px 12px;
    height: 32px;
    background: #161b22;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #e6edf3;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-align: left;
    text-align-last: left;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    transition: all 0.2s ease;
}

.alarms-sidebar-field select:hover {
    background: rgba(255,255,255,0.05);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.alarms-sidebar-field select:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.alarms-sidebar-field select option {
    background: #0d1117;
    color: #e6edf3;
    padding: 8px 12px;
}

.alarms-sidebar-field select option:hover,
.alarms-sidebar-field select option:checked {
    background: #1c2128;
    color: #58a6ff;
}

/* Custom Alarm Filter Dropdown */
.alarm-filter-dropdown {
    position: relative;
    width: 100%;
}

.alarm-filter-selected {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 10px 6px 12px;
    height: 32px;
    background: #161b22;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #e6edf3;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
}

.alarm-filter-selected:hover {
    background: rgba(255,255,255,0.05);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
}

.alarm-filter-dropdown.open .alarm-filter-selected {
    border-color: #f59e0b;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.dropdown-chevron {
    margin-left: auto;
    color: #8b949e;
    transition: transform 0.2s ease;
}

.alarm-filter-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
    color: #f59e0b;
}

.alarm-filter-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #161b22;
    border: 1px solid #30363d;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    z-index: 100;
    transition: all 0.25s ease;
}

.alarm-filter-dropdown.open .alarm-filter-options {
    max-height: 450px;
    opacity: 1;
    border-color: #f59e0b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.alarm-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #c9d1d9;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 2px solid transparent;
}

.alarm-filter-option:hover {
    background: #21262d;
    border-left-color: #484f58;
}

.alarm-filter-option.selected {
    background: #21262d;
    color: #fff;
    border-left-color: #f59e0b;
}

.alarm-filter-option .filter-label {
    flex: 1;
    white-space: nowrap;
}

.alarm-filter-option .filter-count {
    font-size: 11px;
    color: #8b949e;
    background: #30363d;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    font-weight: 500;
}

.alarm-filter-option:hover .filter-count {
    background: #484f58;
}

.filter-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.85;
}

.date-count-badge {
    font-size: 11px;
    color: #8b949e;
    background: #30363d;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    margin-left: auto;
}

.alarm-filter-option:hover .date-count-badge {
    background: #484f58;
}

.filter-dot-neutral {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #6e7681;
    opacity: 0.7;
}

.filter-dot-multi {
    display: flex;
    gap: 3px;
}

.filter-dot-multi span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.85;
}

.filter-dot-display {
    display: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.filter-dot-display.show {
    display: block;
}

.filter-dot-display.multi {
    display: flex;
    gap: 3px;
    width: auto;
}

.filter-dot-display.multi span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.alarms-sidebar-search {
    position: relative;
    margin-top: 2px;
}

.alarms-sidebar-search::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e7681' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.alarms-sidebar-search input {
    width: 100%;
    padding: 10px 14px 10px 32px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    color: #e6edf3;
    font-size: 13px;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 4px rgba(255,255,255,0.03);
}

.alarms-sidebar-search input::placeholder {
    color: rgba(200,210,220,0.45);
    font-weight: 400;
}

.alarms-sidebar-search input:hover {
    background: #161b22;
    border-color: #484f58;
}

.alarms-sidebar-search input:focus {
    outline: none;
    background: #161b22;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

/* Sidebar List */
.alarms-sidebar-list {
    flex: 1;
    padding: 12px;
}

/* Empty State */
.alarms-sidebar-list .alarms-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #6e7681;
    font-size: 14px;
}

/* Sidebar Alarm Card - 2-Line Layout */
.sidebar-alarm-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.sidebar-alarm-card:hover {
    background: #1c2128;
    border-color: #30363d;
}

.sidebar-alarm-card.sharp {
    border-left-color: #4ade80;
}

.sidebar-alarm-card.insider {
    border-left-color: #a855f7;
}

.sidebar-alarm-card.bigmoney {
    border-left-color: #F08A24;
}

/* Line 1: Badge + Match + Market */
.alarm-row-1 {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.alarm-expand-icon {
    font-size: 8px;
    color: #6e7681;
    flex-shrink: 0;
    width: 10px;
}

.alarm-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.alarm-type-badge.sharp {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.alarm-type-badge.insider {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.alarm-type-badge.bigmoney {
    background: rgba(240, 138, 36, 0.15);
    color: #F08A24;
}

.alarm-type-badge.volumeshock {
    background: rgba(246, 195, 67, 0.15);
    color: #F6C343;
}

.alarm-type-badge.volumeleader {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.alarm-match-name {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: #E5E7EB;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sidebar-alarm-card:hover .alarm-match-name {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
}

.alarm-market-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: #111827;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    color: #CBD5E1;
    flex-shrink: 0;
}

/* Line 2: Main Value + Center Info + Time */
.alarm-row-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.alarm-main-value {
    flex: 1;
    font-size: 12px;
    color: #8b949e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alarm-main-value .value-highlight {
    color: #22c55e;
    font-weight: 600;
}

.alarm-main-value .sep {
    color: #6e7681;
    margin: 0 4px;
    font-weight: 400;
}

.alarm-main-value .value-pct {
    color: #9ca3af;
    font-weight: 500;
}

.alarm-main-value .value-money {
    font-size: 13px;
    font-weight: 700;
    color: #22c55e;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-main-value .value-odds {
    color: #94a3b8;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-main-value .arrow {
    color: #ff0000;
    margin: 0 4px;
    font-weight: 700;
}

.alarm-main-value .value-odds-new {
    color: #22c55e;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.alarm-main-value .value-pct-drop {
    color: #ff0000;
    font-weight: 600;
}

.alarm-center-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.alarm-time {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Trigger pill (×N) */
.trigger-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    background: #30363d;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
}

/* Big Money kartlarında trigger pill turuncu */
.sidebar-alarm-card.bigmoney .trigger-pill,
.ac.bigmoney .trigger-pill {
    background: rgba(240, 138, 36, 0.2);
    color: #F08A24;
}

/* Sharp kartlarında trigger pill yeşil */
.sidebar-alarm-card.sharp .trigger-pill,
.ac.sharp .trigger-pill {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

/* HUGE badge for bigmoney */
.huge-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: rgba(240, 138, 36, 0.2);
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Alarm Accordion Inline Detail Styles */
.alarm-accordion-wrapper {
    display: flex;
    flex-direction: column;
}

.sidebar-alarm-card.expanded {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.alarm-expand-icon {
    font-size: 10px;
    color: #6b7280;
    margin-right: 4px;
    transition: transform 0.2s ease;
}

.alarm-inline-detail {
    display: none;
    background: #050814;
    border: 1px solid #21262d;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-bottom: 6px;
    overflow: hidden;
}

.alarm-inline-detail.open {
    display: block;
}

.inline-detail-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #30363d, transparent);
    margin: 0 12px;
}

.inline-detail-section {
    padding: 12px 14px;
    border-bottom: 1px solid #21262d;
}

.inline-detail-section:last-of-type {
    border-bottom: none;
}

.inline-detail-title {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.inline-detail-match {
    font-size: 15px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 4px;
}

.inline-detail-league {
    font-size: 11px;
    color: #8b949e;
    margin-bottom: 3px;
}

.inline-detail-market {
    margin-top: 6px;
}

.inline-goto-match-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 24px);
    margin: 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #238636 0%, #2ea043 100%);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inline-goto-match-btn:hover {
    background: linear-gradient(135deg, #2ea043 0%, #3fb950 100%);
    transform: translateY(-1px);
}

.inline-goto-match-btn svg {
    flex-shrink: 0;
}

/* NEW Detail Card Wrapper with Color Stripe */
.detail-card-wrapper {
    background: #0d1117;
    padding: 16px;
    border-radius: 0 0 8px 8px;
}

.detail-header {
    margin-bottom: 6px;
}

.detail-league-date {
    font-size: 13px;
    font-weight: 500;
    color: #94A3B8;
}

.detail-match-name {
    font-size: 17px;
    font-weight: 600;
    color: #F1F5F9;
    margin-bottom: 16px;
}

.detail-section {
    margin-bottom: 14px;
}

.detail-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.detail-value-market {
    font-size: 15px;
    color: #E2E8F0;
}

.detail-alarm-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-money {
    font-size: 18px;
    font-weight: 600;
    color: #22C55E;
}

.detail-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-type-badge.bigmoney {
    background: rgba(240, 138, 36, 0.2);
    color: #F08A24;
}

.detail-type-badge.sharp {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.detail-type-badge.insider {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.detail-type-badge.dropping {
    background: rgba(239, 68, 68, 0.2);
    color: #ff0000;
}

.detail-logs-container {
    background: #111827;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-log-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.log-time {
    color: #94A3B8;
    font-weight: 500;
}

.log-sep {
    color: #4B5563;
}

.log-money {
    color: #22C55E;
    font-weight: 600;
}

.log-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.log-badge.bigmoney {
    background: rgba(240, 138, 36, 0.2);
    color: #F08A24;
}

.log-badge.sharp {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.log-badge.insider {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.log-badge.dropping {
    background: rgba(239, 68, 68, 0.2);
    color: #ff0000;
}

.log-badge.volumeshock {
    background: rgba(246, 195, 67, 0.2);
    color: #F6C343;
}

.detail-goto-match-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 16px;
    padding: 12px 16px;
    background: #16A34A;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-goto-match-btn:hover {
    background: #15803D;
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-panel-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.admin-panel-overlay.open {
    display: flex;
}

.admin-panel-modal {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid #30363d;
}

.admin-tabs {
    display: flex;
    gap: 0;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.admin-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #8b949e;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.admin-tab:hover {
    color: #c9d1d9;
    background: #21262d;
}

.admin-tab.active {
    color: #06b6d4;
    border-bottom-color: #06b6d4;
    background: #0d1117;
}

.admin-config-form {
    background: #161b22;
    border-radius: 8px;
    padding: 16px;
}

.config-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.config-row label {
    min-width: 140px;
    color: #c9d1d9;
    font-size: 13px;
}

.config-row input {
    width: 100px;
    padding: 8px 10px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #f0f6fc;
    font-size: 13px;
}

.config-row input:focus {
    outline: none;
    border-color: #06b6d4;
}

.config-hint {
    color: #6e7681;
    font-size: 11px;
}

.config-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #30363d;
}

.admin-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-btn.primary {
    background: #238636;
    color: white;
}

.admin-btn.primary:hover {
    background: #2ea043;
}

.admin-btn.success {
    background: #06b6d4;
    color: white;
}

.admin-btn.success:hover {
    background: #22d3ee;
}

.admin-btn.danger {
    background: #da3633;
    color: white;
}

.admin-btn.danger:hover {
    background: #f85149;
}

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

.admin-badge.volumeleader {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.admin-badge.dropping {
    background: rgba(248, 81, 73, 0.15);
    color: #f85149;
}

.admin-badge.mim {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.admin-panel-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
}

.admin-panel-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.admin-panel-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ff0000;
}

.admin-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    background: #161b22;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #30363d;
    position: sticky;
    top: 0;
    z-index: 1;
}

.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #21262d;
    color: #e2e8f0;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(56, 139, 253, 0.1);
}

.admin-table .match-col {
    max-width: 180px;
    font-weight: 500;
}

.admin-table .market-col {
    white-space: nowrap;
}

.admin-value-positive {
    color: #22c55e;
    font-weight: 600;
}

.admin-value-negative {
    color: #ff0000;
    font-weight: 600;
}

.admin-value-warning {
    color: #f59e0b;
    font-weight: 600;
}

.admin-value-muted {
    color: #64748b;
    font-size: 12px;
}

.admin-snapshot-times {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-snapshot-time {
    font-size: 11px;
    color: #94a3b8;
    padding: 2px 6px;
    background: #1e293b;
    border-radius: 3px;
    display: inline-block;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-badge.insider {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.admin-no-data {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-size: 14px;
}

/* Admin Panel: Open with Ctrl+Shift+A */

/* Detail Panel Styles - DEPRECATED but kept for compatibility */
.alarm-detail-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #e6edf3;
    margin: 0;
}

.alarm-detail-close {
    background: none;
    border: none;
    color: #8b949e;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alarm-detail-close:hover {
    color: #e6edf3;
}

.alarm-detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.alarm-detail-section {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.alarm-detail-section-title {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.alarm-detail-match {
    font-size: 18px;
    font-weight: 700;
    color: #e6edf3;
    margin-bottom: 6px;
}

.alarm-detail-league {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 4px;
}

.alarm-detail-market {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: #21262d;
    border-radius: 4px;
    font-size: 12px;
    color: #c9d1d9;
}

.alarm-detail-market .selection {
    font-weight: 600;
    color: #58a6ff;
}

/* Trigger History List */
.trigger-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trigger-history-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: #0d1117;
    border-radius: 6px;
    border-left: 2px solid #30363d;
}

.trigger-history-item.latest {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.trigger-time {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    white-space: nowrap;
    min-width: 50px;
}

.trigger-values {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
}

.trigger-value {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trigger-value .label {
    color: #6e7681;
}

.trigger-value .value {
    color: #e6edf3;
    font-weight: 600;
}

.trigger-value .value.positive {
    color: #22c55e;
}

.trigger-value .value.negative {
    color: #f87171;
}

/* Go to Match Button */
.alarm-goto-match-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #238636;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.alarm-goto-match-btn:hover {
    background: #2ea043;
}

/* Legacy support - hide old elements */
.alert-left, .alert-main, .alert-score, .alert-status-dot, .alert-status-text, .alert-match, .alert-market {
    display: none;
}

/* ============================================
   SMART MONEY EVENTS SECTION IN MODAL
   ============================================ */

.smart-money-section {
    background: #14191F;
    border: 1px solid #30363d;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.smart-money-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 14px 18px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
    cursor: pointer;
    transition: background 0.15s ease;
}

.smart-money-header:hover {
    background: #1c2128;
}

.smart-money-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.smart-money-icon {
    font-size: 14px;
    color: #58a6ff;
}

.smart-money-title {
    font-size: 13px;
    font-weight: 600;
    color: #e6edf3;
}

.smart-money-header-right {
    display: flex;
    align-items: center;
}

.smart-money-chevron {
    font-size: 11px;
    color: #8b949e;
    transition: transform 0.2s ease;
}

.smart-money-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px;
}

.smart-money-empty {
    padding: 14px 14px 25px;
    margin-top: 6px;
    border-top: 1px solid #272D35;
    text-align: center;
    color: #8b949e;
    font-size: 13px;
    font-style: italic;
    opacity: 0.6;
}

.smart-money-loading,
.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #8b949e;
    font-size: 13px;
    gap: 10px;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 27, 34, 0.9);
    z-index: 10;
}

.chart-wrapper {
    position: relative;
}

.smart-money-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-left: 3px solid;
    border-radius: 6px;
    padding: 12px 14px 14px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.smart-money-card:hover {
    background: #1c2128;
}

.smart-money-card.sharp {
    border-left-color: #22C55E;
}

.smart-money-card.bigmoney {
    border-left-color: #f97316;
}

.smart-money-card.insider {
    border-left-color: #A855F7;
}

.smc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.smc-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.smc-icon {
    font-size: 12px;
}

.smc-title {
    font-size: 12px;
    font-weight: 600;
    color: #e6edf3;
}

.smc-count {
    padding: 2px 5px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    opacity: 0.7;
}

.smc-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.smc-market {
    padding: 2px 5px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #8b949e;
    opacity: 0.7;
}

.smc-time {
    font-size: 10px;
    color: #8b949e;
}

.smc-main-row {
    font-size: 13px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 6px;
    line-height: 1.3;
}

.smc-main-row .money-value {
    color: #3fb950;
}

.smc-desc-row {
    font-size: 11px;
    color: #8b949e;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
    .smart-money-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .alarms-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .smart-money-grid {
        padding: 12px;
        gap: 10px;
    }
    
    .smart-money-card {
        padding: 12px 14px;
    }
    
    .smc-top-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .smc-right {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
}

.history-divider {
    padding: 8px 0;
    margin: 8px 0;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: center;
}

.detail-sharp-score {
    font-size: 16px;
    font-weight: 600;
    color: #22C55E;
}

/* ========== ALARM DETAIL NEW DESIGN ========== */

/* Main Metric Container */
.detail-main-metric {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
}

.detail-main-metric .metric-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.detail-main-metric .metric-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

/* SHARP Metric */
.detail-main-metric.sharp .metric-value {
    color: #22c55e;
}

/* INSIDER Metric */
.detail-main-metric.insider {
    text-align: center;
}

.metric-odds-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.odds-old {
    font-size: 24px;
    font-weight: 600;
    color: #8b949e;
}

.odds-arrow {
    font-size: 20px;
    color: #a855f7;
}

.odds-new {
    font-size: 28px;
    font-weight: 700;
    color: #a855f7;
}

.odds-pct {
    font-size: 16px;
    font-weight: 600;
    color: #ff0000;
    background: rgba(239, 68, 68, 0.15);
    padding: 4px 10px;
    border-radius: 4px;
}

/* VOLUMESHOCK Metric */
.detail-main-metric.volumeshock .metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-main-metric.volumeshock .metric-row:first-child {
    border-bottom: 1px solid #30363d;
    padding-top: 0;
}

.detail-main-metric.volumeshock .metric-row:last-child {
    padding-bottom: 0;
}

.detail-main-metric.volumeshock .metric-value.money {
    font-size: 22px;
    font-weight: 700;
    color: #F6C343;
}

.detail-main-metric.volumeshock .metric-value.shock {
    font-size: 22px;
    font-weight: 700;
    color: #F6C343;
}

/* BIGMONEY Metric */
.detail-main-metric.bigmoney .metric-value {
    color: #F08A24;
}

/* History Section */
.history-section {
    margin-top: 14px;
}

.history-section .detail-logs-container {
    background: #0d1117;
    border: 1px solid #30363d;
}

/* Log Values by Type */
.log-value {
    font-weight: 600;
}

.log-value.sharp {
    color: #22c55e;
}

.log-value.insider {
    color: #a855f7;
}

.log-value.volumeshock {
    color: #F6C343;
}

.log-value.shock {
    color: #F6C343;
}

.log-value.bigmoney {
    color: #F08A24;
}

/* Update card wrapper */
.detail-card-wrapper {
    background: #0d1117;
    border: 1px solid #30363d;
    border-left-width: 6px;
}

/* ========== NEW ALARM DETAIL CARD DESIGN (React Reference) ========== */

.detail-card-new {
    display: flex;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 16px;
    gap: 12px;
}

.detail-stripe {
    width: 4px;
    border-radius: 999px;
    background-color: var(--stripe-color, #64748b);
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.detail-left {
    flex: 1;
}

.detail-match-time {
    font-size: 12px;
    color: #8b949e;
}

.detail-match-name-new {
    font-size: 15px;
    color: #c9d1d9;
    font-weight: 600;
}

.detail-right {
    text-align: right;
}

.detail-market-label {
    font-size: 12px;
    color: #8b949e;
}

.detail-market-value {
    font-size: 13px;
    color: #c9d1d9;
}

.detail-alarm-type-label {
    margin-top: 4px;
    font-size: 11px;
    color: #8b949e;
}

/* Middle Block - Type Specific */
.detail-middle-block {
    margin-top: 4px;
}

.detail-middle-block.sharp .metric-sharp-score {
    font-size: 16px;
    font-weight: 600;
    color: #22c55e;
}

.detail-middle-block.insider .insider-odds-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-middle-block.insider .insider-odds-change {
    font-size: 16px;
    font-weight: 600;
    color: #c9d1d9;
}

.detail-middle-block.insider .insider-drop-pct {
    color: #ff0000;
    font-size: 14px;
}

.detail-middle-block.insider .insider-time-pill {
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #30363d;
    font-size: 11px;
    color: #c9d1d9;
    white-space: nowrap;
}

.detail-middle-block.volumeshock .metric-new-money {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
}

.detail-middle-block.volumeshock .metric-shock-factor {
    font-size: 13px;
    color: #c9d1d9;
    margin-top: 2px;
}

.detail-middle-block.bigmoney .metric-big-money {
    font-size: 16px;
    font-weight: 600;
    color: #F08A24;
}

/* Bottom Row */
.detail-bottom-row {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.detail-timeline {
    font-size: 12px;
    color: #8b949e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.detail-open-match-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background-color: #22c55e;
    color: #0b1120;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.detail-open-match-btn:hover {
    background-color: #16a34a;
}

/* ========== MINIMAL ALARM DETAIL CARD ========== */

.detail-card-minimal {
    display: flex;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 10px;
    overflow: hidden;
}

.detail-stripe-minimal {
    width: 5px;
    background-color: var(--stripe-color, #64748b);
    flex-shrink: 0;
}

.detail-body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-info-row,
.detail-match-row,
.detail-market-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-datetime {
    font-size: 13px;
    color: #8b949e;
}

.detail-match-icon,
.detail-market-icon {
    font-size: 14px;
}

.detail-match-text {
    font-size: 15px;
    font-weight: 600;
    color: #e6edf3;
}

.detail-market-text {
    font-size: 13px;
    color: #c9d1d9;
}

/* Middle Block - Minimal Styling */
.detail-middle-block {
    margin: 6px 0;
    padding: 10px 12px;
    background: #161b22;
    border-radius: 8px;
    border: 1px solid #30363d;
}

.detail-middle-block.sharp .metric-sharp-score {
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
}

.detail-middle-block.insider .insider-odds-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-middle-block.insider .insider-odds-change {
    font-size: 17px;
    font-weight: 600;
    color: #e6edf3;
}

.detail-middle-block.insider .insider-drop-pct {
    color: #ff0000;
    font-weight: 700;
}

.detail-middle-block.insider .insider-time-pill {
    padding: 4px 10px;
    border-radius: 20px;
    background: #21262d;
    border: 1px solid #30363d;
    font-size: 12px;
    color: #8b949e;
}

.detail-middle-block.volumeshock .metric-new-money {
    font-size: 17px;
    font-weight: 700;
    color: #F6C343;
}

.detail-middle-block.volumeshock .metric-shock-factor {
    font-size: 14px;
    color: #c9d1d9;
    margin-top: 4px;
}

.detail-middle-block.bigmoney .metric-big-money {
    font-size: 18px;
    font-weight: 700;
    color: #F08A24;
}

/* History Row */
.detail-history-row {
    padding: 8px 0;
    border-top: 1px solid #21262d;
}

.detail-history-text {
    font-size: 12px;
    color: #8b949e;
    font-family: 'SF Mono', Consolas, monospace;
}

/* Go To Button */
.detail-goto-btn {
    width: 100%;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background-color: #238636;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 4px;
}

.detail-goto-btn:hover {
    background-color: #2ea043;
}

/* ========== CARD V2 - CLEAN MINIMAL DESIGN ========== */

.card-v2 {
    display: flex;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
}

.card-v2.sharp { --accent: #22c55e; }
.card-v2.insider { --accent: #a855f7; }
.card-v2.volumeshock { --accent: #F6C343; }
.card-v2.bigmoney { --accent: #F08A24; }

.card-stripe {
    width: 4px;
    background: var(--accent);
}

.card-inner {
    flex: 1;
    padding: 12px 14px;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.card-time {
    font-size: 12px;
    color: #8b949e;
}

.card-match {
    font-size: 14px;
    font-weight: 600;
    color: #e6edf3;
}

.card-market {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #21262d;
}

/* Metric Lines */
.metric-line {
    font-size: 15px;
    color: #e6edf3;
    margin-bottom: 10px;
    padding: 8px 10px;
    background: #161b22;
    border-radius: 6px;
}

.metric-line.sharp {
    color: #22c55e;
}

.metric-line.sharp strong {
    font-size: 18px;
}

.metric-line.insider {
    color: #e6edf3;
}

.metric-line.insider .drop {
    color: #ff0000;
    font-weight: 600;
}

.metric-line.insider .time-chip {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #21262d;
    border-radius: 12px;
    font-size: 11px;
    color: #8b949e;
}

.metric-line.volumeshock {
    color: #F6C343;
}

.metric-line.bigmoney {
    color: #F08A24;
    font-size: 18px;
    font-weight: 700;
}

/* History Line */
.card-history {
    font-size: 11px;
    color: #6e7681;
    margin-bottom: 10px;
    font-family: 'SF Mono', Consolas, monospace;
}

/* Button */
.card-btn {
    width: 100%;
    padding: 8px 12px;
    background: #238636;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.card-btn:hover {
    background: #2ea043;
}

/* ========== DETAIL PANEL - CLEAN MINIMAL ========== */

.detail-panel {
    display: flex;
    background: #161b22;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.detail-panel.sharp { --accent: #22c55e; }
.detail-panel.insider { --accent: #a855f7; }
.detail-panel.volumeshock { --accent: #F6C343; }
.detail-panel.bigmoney { --accent: #F08A24; }

.detail-stripe {
    width: 4px;
    background: var(--accent);
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    padding: 12px 16px;
}

.detail-header {
    margin-bottom: 12px;
}

.detail-datetime {
    display: block;
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 2px;
}

.detail-match {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 4px;
}

.detail-market {
    display: block;
    font-size: 12px;
    color: #8b949e;
}

/* Metric Box */
.detail-metric-box {
    background: #0d1117;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 12px 0;
}

.metric-row {
    font-size: 14px;
    color: #c9d1d9;
    margin-bottom: 4px;
}

.metric-row:last-child {
    margin-bottom: 0;
}

.metric-val {
    font-weight: 600;
    color: #e6edf3;
}

.detail-metric-box.sharp .metric-val {
    color: #22c55e;
}

.detail-metric-box.insider .metric-row {
    font-size: 15px;
    color: #e6edf3;
}

.metric-drop {
    color: #ff0000;
    font-weight: 600;
    margin-left: 6px;
}

.detail-metric-box.volumeshock .metric-val {
    color: #F6C343;
}

.detail-metric-box.bigmoney .metric-val {
    color: #F08A24;
}

/* History */
.detail-history {
    font-size: 11px;
    color: #6e7681;
    margin-bottom: 12px;
    font-family: 'SF Mono', Consolas, monospace;
}

/* Button */
.detail-btn {
    width: 100%;
    padding: 10px 16px;
    background: #238636;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.detail-btn:hover {
    background: #2ea043;
}

/* ========== ALARM ROW - MINIMAL MODERN ========== */

.alarm-row {
    display: flex;
    background: #161b22;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 6px;
}

.alarm-row:hover {
    background: #1c2128;
}

.alarm-row.expanded {
    background: #1c2128;
}

.alarm-row.sharp { --accent: #22c55e; }
.alarm-row.insider { --accent: #a855f7; }
.alarm-row.volumeshock { --accent: #F6C343; }
.alarm-row.bigmoney { --accent: #F08A24; }

.row-stripe {
    width: 4px;
    background: var(--accent);
    flex-shrink: 0;
}

.row-content {
    flex: 1;
    padding: 10px 12px;
    min-width: 0;
}

/* Top Row: Badge + Match + Market */
.row-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.row-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.row-badge.sharp { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.row-badge.insider { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.row-badge.volumeshock { background: rgba(246, 195, 67, 0.15); color: #F6C343; }
.row-badge.bigmoney { background: rgba(240, 138, 36, 0.15); color: #F08A24; }

.row-match {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #e6edf3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row-market {
    font-size: 11px;
    color: #8b949e;
    flex-shrink: 0;
}

/* Bottom Row: Metric + Time */
.row-bottom {
    display: flex;
    align-items: center;
    gap: 6px;
}

.row-metric {
    font-size: 13px;
    font-weight: 600;
}

.row-metric.sharp { color: #22c55e; }
.row-metric.insider { color: #e6edf3; }
.row-metric.volumeshock { color: #F6C343; }
.row-metric.bigmoney { color: #F08A24; }

.row-sep {
    color: #484f58;
    font-size: 10px;
}

.row-pct {
    font-size: 12px;
    color: #8b949e;
}

.row-drop {
    font-size: 12px;
    color: #ff0000;
    font-weight: 500;
}

.row-time-before {
    font-size: 11px;
    color: #8b949e;
}

.row-ago {
    margin-left: auto;
    font-size: 11px;
    color: #6e7681;
}

/* ========== ALARM CARD - PREMIUM DESIGN ========== */

.alarm-card {
    background: #1a1f24;
    border-radius: 20px;
    padding: 16px 20px;
    margin-bottom: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.alarm-card:hover {
    border-color: #30363d;
}

.alarm-card.expanded {
    border-color: #30363d;
}

.alarm-card.sharp { --accent: #4ade80; }
.alarm-card.insider { --accent: #a78bfa; }
.alarm-card.volumeshock { --accent: #fbbf24; }
.alarm-card.bigmoney { --accent: #F08A24; }

/* Card Head: Badge + Dot + Time */
.card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.card-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 6px;
}

.card-badge.sharp { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.card-badge.insider { background: rgba(167, 139, 250, 0.15); color: #a78bfa; }
.card-badge.volumeshock { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.card-badge.bigmoney { background: rgba(240, 138, 36, 0.15); color: #F08A24; }

.card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    margin-left: auto;
}

.card-ago {
    font-size: 12px;
    color: #8b949e;
}

/* Match Name */
.alarm-card .card-match {
    font-size: 15px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 12px;
}

.card-market {
    font-weight: 400;
    color: #8b949e;
    font-size: 13px;
}

/* Metric Line */
.card-metric {
    font-size: 14px;
    color: #c9d1d9;
}

.card-metric strong {
    color: var(--accent);
    font-weight: 700;
}

.odds-change {
    color: #e6edf3;
    font-weight: 500;
}

.drop-pct {
    color: #ff0000;
    font-weight: 700;
    margin-left: 12px;
}

/* ========== ALARM CARD V2 - REFINED PREMIUM ========== */

.alarm-card {
    background: #262c34 !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    margin-bottom: 12px !important;
}

/* Row Top: Badge + Metric Value */
.card-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.card-badge {
    font-size: 10px !important;
    padding: 3px 8px !important;
}

.card-metric-value {
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.card-metric-value.sharp { color: #4ade80; }
.card-metric-value.insider { color: #e6edf3; }
.card-metric-value.volumeshock { color: #fbbf24; }
.card-metric-value.bigmoney { color: #F08A24; }

.card-metric-value strong {
    color: inherit;
}

.odds-val {
    color: #e6edf3;
    font-weight: 500;
}

.drop-val {
    color: #ff0000;
    font-weight: 700;
    margin-left: 8px;
}

/* Row Mid: Match Name + Dot */
.card-row-mid {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.card-match-name {
    font-size: 16px;
    font-weight: 600;
    color: #e6edf3;
    flex: 1;
}

.card-dot {
    width: 6px !important;
    height: 6px !important;
}

/* Row Bot: Market + Time */
.card-row-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-market-text {
    font-size: 12px;
    color: #8b949e;
    opacity: 0.7;
}

.card-ago {
    font-size: 11px !important;
    color: #6e7681 !important;
}

/* ========== PREMIUM CARD - SINGLE COLUMN MODERN ========== */

.premium-card {
    background: #1e2328;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.premium-card:hover {
    background: #252a30;
    border-color: #30363d;
}

.premium-card.expanded {
    border-color: #30363d;
}

.premium-card.sharp { --accent: #4ade80; }
.premium-card.insider { --accent: #a78bfa; }
.premium-card.volumeshock { --accent: #fbbf24; }
.premium-card.bigmoney { --accent: #F08A24; }

/* Header: TYPE · time */
.pc-header {
    font-size: 11px;
    font-weight: 600;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Match Name */
.pc-match {
    font-size: 16px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 4px;
}

/* Market */
.pc-market {
    font-size: 13px;
    color: #8b949e;
    margin-bottom: 14px;
}

/* Metric Block */
.pc-metric {
    padding-top: 12px;
    border-top: 1px solid #30363d;
}

.pc-metric-label {
    font-size: 11px;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.pc-metric-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
}

.pct-drop {
    font-size: 16px;
    color: #ff0000;
    margin-left: 8px;
}

/* ========== MINIMAL CARD - 3 SATIR ========== */

.min-card {
    padding: 10px 14px;
    border-radius: 14px;
    background: #161b22;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    margin-bottom: 8px;
    transition: background 0.15s ease;
    border: 1px solid transparent;
}

.min-card:hover {
    background: #1c2128;
    border-color: #30363d;
}

.min-card.expanded {
    border-color: #30363d;
}

.min-card.sharp { --accent: #22c55e; }
.min-card.insider { --accent: #a78bfa; }
.min-card.volumeshock { --accent: #fbbf24; }
.min-card.bigmoney { --accent: #F08A24; }

/* Row 1: Dot + Label + Time */
.mc-top {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #8b949e;
}

.mc-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
}

.mc-label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mc-sep {
    color: #6e7681;
}

.mc-time {
    color: #6e7681;
}

/* Row 2: Match + Value */
.mc-mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mc-match {
    font-size: 14px;
    font-weight: 600;
    color: #c9d1d9;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}

.mc-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

.mc-value .pct-drop {
    font-size: 11px;
    color: #ff0000;
    display: block;
    margin-top: 1px;
}

/* Row 3: Market */
.mc-bot {
    font-size: 11px;
    color: #8b949e;
}

/* ========== DETAIL PANEL - MINIMAL ========== */

.dp {
    background: #161b22;
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
    border-left: 3px solid var(--accent);
}

.dp.sharp { --accent: #22c55e; }
.dp.insider { --accent: #a78bfa; }
.dp.volumeshock { --accent: #fbbf24; }
.dp.bigmoney { --accent: #F08A24; }

.dp-header {
    font-size: 12px;
    color: #6e7681;
    margin-bottom: 6px;
}

.dp-match {
    font-size: 15px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 4px;
}

.dp-market {
    font-size: 12px;
    color: #8b949e;
    margin-bottom: 12px;
}

.detail-metric-box {
    background: #21262d;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.detail-metric-box .metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #c9d1d9;
}

.detail-metric-box .metric-row + .metric-row {
    margin-top: 6px;
}

.detail-metric-box .metric-val {
    font-weight: 700;
    color: var(--accent);
}

.detail-metric-box.sharp .metric-val { color: #22c55e; }
.detail-metric-box.insider .metric-val { color: #a78bfa; }
.detail-metric-box.volumeshock .metric-val { color: #fbbf24; }
.detail-metric-box.bigmoney .metric-val { color: #F08A24; }

.detail-metric-box .metric-drop {
    font-weight: var(--weight-semibold);
    color: #ff0000;
    margin-left: 8px;
}

.dp-history {
    font-size: 11px;
    color: #6e7681;
    margin-bottom: 12px;
}

.dp-btn {
    width: 100%;
    padding: 10px 0;
    background: #238636;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.dp-btn:hover {
    background: #2ea043;
}

/* ========== UNIFIED ALARM CARD (AC) ========== */

.ac {
    display: flex;
    background: #161b22;
    border-radius: var(--space-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.ac:hover {
    background: #1c2128;
}

.ac.sharp { --accent: #22c55e; }
.ac.insider { --accent: #a78bfa; }
.ac.volumeshock { --accent: #fbbf24; }
.ac.bigmoney { --accent: #F08A24; }
.ac.dropping { --accent: #f85149; }
.ac.publicmove { --accent: #FFCC00; }
.ac.volumeleader { --accent: #06b6d4; }
.ac.mim { --accent: #3B82F6; }

/* Left stripe */
.ac-stripe {
    width: var(--space-xs);
    background: var(--accent);
    flex-shrink: 0;
}

/* Body container */
.ac-body {
    flex: 1;
    cursor: pointer;
    padding: 14px 18px 14px 12px;
}

/* Summary section */
.ac-summary {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ac-top {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #8b949e;
}

.ac-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.ac-label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ac.sharp .ac-label {
    color: #3CE57C;
}

.ac-sep, .ac-time {
    color: #6e7681;
}

.ac-mid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ac-match {
    font-size: 14px;
    font-weight: 600;
    color: #c9d1d9;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 12px;
}

.ac-value {
    font-size: 18px;
    font-weight: var(--weight-semibold);
    color: var(--accent);
    flex-shrink: 0;
    text-align: right;
    line-height: 1.35;
    opacity: 0.92;
}

.ac-bot {
    font-size: 11px;
    font-weight: var(--weight-regular);
    color: #8b949e;
    margin-top: 4px;
    padding-left: 0;
    opacity: 0.55;
}

/* Detail section - collapsed by default */
.ac-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
}

.ac.open .ac-detail {
    max-height: 800px;
    overflow: visible;
    opacity: 1;
}

.ac-detail-inner {
    padding-top: var(--space-lg);
}

.acd-divider {
    height: 1px;
    background: #30363d;
    margin-bottom: var(--space-lg);
}

.acd-header {
    font-size: 12px;
    font-weight: var(--weight-semibold);
    color: #6e7681;
    margin-bottom: var(--space-sm);
}

.detail-metric-box {
    background: #21262d;
    border-radius: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    margin-bottom: var(--space-md);
}

.detail-metric-box .metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #c9d1d9;
}

.detail-metric-box .metric-row + .metric-row {
    margin-top: var(--space-md);
}

.detail-metric-box .metric-val {
    font-weight: var(--weight-semibold);
}

.ac.sharp .metric-val { color: #22c55e; }
.ac.insider .metric-val { color: #a78bfa; }
.ac.volumeshock .metric-val { color: #fbbf24; }
.ac.bigmoney .metric-val { color: #F08A24; }
.ac.dropping .metric-val { color: #f85149; }
.ac.publicmove .metric-val { color: #FFCC00; }
.ac.mim .metric-val { color: #3B82F6; }

.acd-stat-val.dropping { color: #f85149; }
.acd-stat-val.publicmove { color: #FFCC00; }
.acd-stat-val.drop { color: #ef4444; }
.acd-stat-val.muted { color: #8b949e; font-weight: 500; }

/* BigMoney Hero Style - Premium Design */
.acd-bigmoney-hero {
    text-align: center;
    padding: 16px 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(240, 138, 36, 0.12), rgba(240, 138, 36, 0.06));
    border-radius: 8px;
    border: 1px solid rgba(240, 138, 36, 0.2);
}

.acd-hero-amount {
    font-size: 28px;
    font-weight: 800;
    color: #F08A24;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 0 20px rgba(240, 138, 36, 0.3);
}

.acd-hero-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(240, 138, 36, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}

/* BigMoney bright stripe */
.ac.bigmoney .ac-stripe {
    background: linear-gradient(180deg, #FF9F33, #F08A24);
    box-shadow: 0 0 8px rgba(240, 138, 36, 0.4);
}

/* VolumeShock yellow/gold stripe and dot */
.ac.volumeshock .ac-stripe {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.ac.volumeshock .ac-dot {
    background: #fbbf24;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

/* Secondary stat for totals */
.acd-stat-secondary {
    opacity: 0.7;
}

.acd-grid.cols-1 {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

/* Smart Money Events - BigMoney Hero Style */
.sm-money-hero {
    font-size: 18px;
    font-weight: 700;
    color: #F08A24;
    text-shadow: 0 0 10px rgba(240, 138, 36, 0.3);
}

/* Sharp kartlarında para değeri Sharp rengiyle (yeşil) */
.smart-money-card.sharp .sm-money-hero,
.sm-sharp-money-hero {
    color: #22c55e;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
    font-size: 18px;
    font-weight: 700;
}

.sm-money-label {
    font-size: 12px;
    font-weight: 500;
    color: #8b949e;
    margin-left: 4px;
}

.sm-total-muted {
    color: #6e7681 !important;
    font-weight: 500;
    font-size: 12px;
}

.sm-drop-badge {
    color: #f85149;
    font-weight: 600;
}

.sm-shock-badge {
    display: inline-block;
    background: rgba(246, 195, 67, 0.2);
    color: #F6C343;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.sm-shock-label {
    font-size: 13px;
    color: #F6C343;
    font-weight: 600;
    margin-left: 4px;
}

.sm-shock-money {
    font-size: 13px;
    color: #6e7681;
    font-weight: 500;
}

.sm-shock-money-label {
    font-size: 11px;
    color: #6e7681;
    margin-left: 4px;
}

.sm-leader-new {
    color: #06b6d4;
    font-weight: 700;
}

.sm-leader-hero {
    font-size: 16px;
    font-weight: 700;
    color: #c9d1d9;
}

.sm-leader-share-old {
    font-size: 13px;
    font-weight: 600;
    color: #c9d1d9;
    margin-left: 8px;
}

.sm-leader-share-new {
    font-size: 13px;
    font-weight: 600;
    color: #06b6d4;
}

.sm-volume-muted {
    font-size: 12px;
    color: #6e7681;
    font-weight: 400;
}

/* MIM (Market Impact Money) Styles */
.sm-mim-impact-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 14px;
}

.sm-mim-impact-label {
    font-size: 12px;
    color: #8b949e;
    margin-left: 4px;
}

.sm-mim-money {
    font-size: 18px;
    font-weight: 700;
    color: #3B82F6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.sm-mim-total {
    font-size: 12px;
    color: #6e7681;
    font-weight: 500;
}

/* Dropping Premium Styles */
.sm-dropping-main {
    font-size: 15px;
    font-weight: 600;
    color: #c9d1d9;
}

.sm-drop-pct-hero {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #f85149;
    text-shadow: 0 0 8px rgba(248, 81, 73, 0.4);
    margin-left: 6px;
}

.sm-level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px;
    cursor: help;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}
.sm-level-badge:hover {
    transform: scale(1.05);
}
.sm-level-badge.l1 {
    background: rgba(248, 81, 73, 0.25);
    color: #ff7b72;
    border: 1.5px solid rgba(248, 81, 73, 0.45);
    box-shadow: 0 0 8px rgba(248, 81, 73, 0.15);
}
.sm-level-badge.l2 {
    background: rgba(248, 81, 73, 0.4);
    color: #ff9590;
    border: 1.5px solid rgba(248, 81, 73, 0.6);
    box-shadow: 0 0 10px rgba(248, 81, 73, 0.25);
}
.sm-level-badge.l3 {
    background: rgba(248, 81, 73, 0.55);
    color: #fff;
    border: 1.5px solid rgba(248, 81, 73, 0.8);
    box-shadow: 0 0 12px rgba(248, 81, 73, 0.35);
    text-shadow: 0 0 6px rgba(248, 81, 73, 0.5);
}

.sm-volume-highlight {
    font-size: 13px;
    font-weight: 600;
    color: #58a6ff;
}

.sm-drop-support {
    font-size: 11px;
    font-weight: 500;
    color: #8b949e;
    font-style: italic;
}

/* Insider Premium Styles */
.sm-insider-odds-hero {
    font-size: 16px;
    font-weight: 700;
    color: #c9d1d9;
    margin-right: 8px;
}

.sm-money-muted {
    font-size: 12px;
    font-weight: 500;
    color: #6e7681;
}

.sm-insider-drop {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #A855F7;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.sm-kickoff-info {
    font-size: 11px;
    font-weight: 600;
    color: #A855F7;
    background: rgba(168, 85, 247, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Count Badge - Alarm Type Colors */
.smc-count-sharp {
    color: #22C55E !important;
    background: rgba(34, 197, 94, 0.15) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}
.smc-count-insider {
    color: #A855F7 !important;
    background: rgba(168, 85, 247, 0.15) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
}
.smc-count-volumeshock {
    color: #F6C343 !important;
    background: rgba(246, 195, 67, 0.15) !important;
    border: 1px solid rgba(246, 195, 67, 0.3) !important;
}
.smc-count-dropping {
    color: #f85149 !important;
    background: rgba(248, 81, 73, 0.15) !important;
    border: 1px solid rgba(248, 81, 73, 0.3) !important;
}
.smc-count-publicmove {
    color: #FFCC00 !important;
    background: rgba(255, 204, 0, 0.15) !important;
    border: 1px solid rgba(255, 204, 0, 0.3) !important;
}
.smc-count-volumeleader {
    color: #06b6d4 !important;
    background: rgba(6, 182, 212, 0.15) !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
}

/* BigMoney Count Badge - Premium Style */
.smc-count-bigmoney {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #F08A24 !important;
    background: rgba(240, 138, 36, 0.15) !important;
    border: 1px solid rgba(240, 138, 36, 0.3) !important;
    padding: 2px 8px !important;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.smc-count-bigmoney:hover {
    background: rgba(240, 138, 36, 0.25) !important;
}

/* ========== THEMED TOOLTIP PORTAL SYSTEM - Premium Dark Design ========== */
.smc-tooltip-portal {
    display: none;
    position: absolute;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid rgba(48, 54, 61, 0.9);
    border-radius: 16px;
    padding: 12px 14px;
    width: auto;
    max-width: 480px;
    min-width: 280px;
    z-index: 10000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    white-space: nowrap;
    overflow: visible;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.smc-tooltip-portal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Alarm tipine gore sadece sol accent cizgisi */
.smc-tooltip-portal.tooltip-bigmoney { border-left: 3px solid rgba(240, 138, 36, 0.8); }
.smc-tooltip-portal.tooltip-volumeshock { border-left: 3px solid rgba(246, 195, 67, 0.8); }
.smc-tooltip-portal.tooltip-sharp { border-left: 3px solid rgba(34, 197, 94, 0.8); }
.smc-tooltip-portal.tooltip-insider { border-left: 3px solid rgba(168, 85, 247, 0.8); }
.smc-tooltip-portal.tooltip-dropping { border-left: 3px solid rgba(248, 81, 73, 0.8); }
.smc-tooltip-portal.tooltip-publicmove { border-left: 3px solid rgba(255, 204, 0, 0.8); }
.smc-tooltip-portal.tooltip-volumeleader { border-left: 3px solid rgba(6, 182, 212, 0.8); }
.smc-tooltip-portal.tooltip-mim { border-left: 3px solid rgba(59, 130, 246, 0.8); }

/* Tooltip Header - Temalı */
.smc-tooltip-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.smc-tooltip-header .tt-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Header renkleri alarm tipine göre */
.smc-tooltip-header.header-bigmoney { color: #F08A24; border-bottom: 1px solid rgba(240, 138, 36, 0.25); }
.smc-tooltip-header.header-bigmoney .tt-dot { background: #F08A24; }
.smc-tooltip-header.header-volumeshock { color: #F6C343; border-bottom: 1px solid rgba(246, 195, 67, 0.25); }
.smc-tooltip-header.header-volumeshock .tt-dot { background: #F6C343; }
.smc-tooltip-header.header-sharp { color: #22c55e; border-bottom: 1px solid rgba(34, 197, 94, 0.25); }
.smc-tooltip-header.header-sharp .tt-dot { background: #22c55e; }
.smc-tooltip-header.header-insider { color: #a855f7; border-bottom: 1px solid rgba(168, 85, 247, 0.25); }
.smc-tooltip-header.header-insider .tt-dot { background: #a855f7; }
.smc-tooltip-header.header-dropping { color: #f85149; border-bottom: 1px solid rgba(248, 81, 73, 0.25); }
.smc-tooltip-header.header-dropping .tt-dot { background: #f85149; }
.smc-tooltip-header.header-publicmove { color: #FFCC00; border-bottom: 1px solid rgba(255, 204, 0, 0.25); }
.smc-tooltip-header.header-publicmove .tt-dot { background: #FFCC00; }
.smc-tooltip-header.header-volumeleader { color: #06b6d4; border-bottom: 1px solid rgba(6, 182, 212, 0.25); }
.smc-tooltip-header.header-volumeleader .tt-dot { background: #06b6d4; }
.smc-tooltip-header.header-mim { color: #3b82f6; border-bottom: 1px solid rgba(59, 130, 246, 0.25); }
.smc-tooltip-header.header-mim .tt-dot { background: #3b82f6; }

/* Tooltip Item - Modern Layout */
.smc-tooltip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #c9d1d9;
    padding: 6px 4px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: visible;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.smc-tooltip-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Alarm tipine göre hover renkleri */
.tooltip-bigmoney .smc-tooltip-item:hover { background: rgba(240, 138, 36, 0.06); }
.tooltip-volumeshock .smc-tooltip-item:hover { background: rgba(246, 195, 67, 0.06); }
.tooltip-sharp .smc-tooltip-item:hover { background: rgba(34, 197, 94, 0.06); }
.tooltip-insider .smc-tooltip-item:hover { background: rgba(168, 85, 247, 0.06); }
.tooltip-dropping .smc-tooltip-item:hover { background: rgba(248, 81, 73, 0.06); }
.tooltip-publicmove .smc-tooltip-item:hover { background: rgba(255, 204, 0, 0.06); }
.tooltip-volumeleader .smc-tooltip-item:hover { background: rgba(6, 182, 212, 0.06); }
.tooltip-mim .smc-tooltip-item:hover { background: rgba(59, 130, 246, 0.06); }

.smc-tooltip-item:not(:last-child) {
    border-bottom: 1px solid rgba(139, 148, 158, 0.08);
    margin-bottom: 2px;
}

/* Tooltip Item Elements */
.smc-tooltip-item .tt-time {
    color: #6e7681;
    font-size: 10px;
    min-width: 38px;
    flex-shrink: 0;
}

.smc-tooltip-item .tt-money {
    color: #F08A24;
    font-weight: 600;
    min-width: 60px;
}

/* MIM tooltip için mavi para rengi */
.tooltip-mim .smc-tooltip-item .tt-money {
    color: #58a6ff;
}

.smc-tooltip-item .tt-total {
    color: #6e7681;
    font-size: 10px;
    flex: 1;
    text-align: right;
}

/* Pill Badges - Alarm tipine göre */
.tt-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 48px;
}

.tt-pill.pill-bigmoney { background: rgba(240, 138, 36, 0.12); color: #F08A24; }
.tt-pill.pill-volumeshock { background: rgba(246, 195, 67, 0.12); color: #F6C343; }
.tt-pill.pill-sharp { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.tt-pill.pill-insider { background: rgba(168, 85, 247, 0.12); color: #a855f7; }
.tt-pill.pill-dropping { background: rgba(248, 81, 73, 0.12); color: #f85149; }
.tt-pill.pill-publicmove { background: rgba(255, 204, 0, 0.12); color: #FFCC00; }
.tt-pill.pill-volumeleader { background: rgba(6, 182, 212, 0.12); color: #06b6d4; }
.tt-pill.pill-mim { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }

/* Legacy classes for backward compatibility */
.smc-tooltip-item .tt-shock {
    color: #F6C343;
    font-weight: 700;
}

.smc-tooltip-item .tt-drop {
    color: #f85149;
    font-weight: 600;
}

.smc-tooltip-item .tt-share {
    color: #FFCC00;
    font-weight: 600;
}

.smc-tooltip-item .tt-leader {
    color: #06b6d4;
    font-weight: 700;
}

/* Eski inline tooltip (fallback) */
.smc-tooltip {
    display: none;
}

.level-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 6px;
}
.level-badge.level-l1 { background: rgba(248, 81, 73, 0.2); color: #f85149; }
.level-badge.level-l2 { background: rgba(248, 81, 73, 0.35); color: #f85149; }
.level-badge.level-l3 { background: rgba(248, 81, 73, 0.5); color: #fff; }

.detail-metric-box .metric-drop {
    font-weight: var(--weight-semibold);
    color: #ff0000;
    margin-left: 8px;
}

.acd-history {
    font-size: 11px;
    font-weight: var(--weight-regular);
    color: #6e7681;
    margin-top: 14px;
    margin-bottom: var(--space-md);
}

.acd-history::before {
    content: '🕒 ';
    opacity: 0.7;
    display: inline-block;
    transform: scale(0.85);
    margin-right: 2px;
}

/* ========== HISTORY BADGE & LIST ========== */
.history-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(168, 85, 247, 0.35));
    color: #c4b5fd;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    letter-spacing: 0.3px;
}

/* History badge colors by alarm type */
.history-badge-sharp {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.35));
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}
.history-badge-bigmoney {
    background: linear-gradient(135deg, rgba(240, 138, 36, 0.25), rgba(240, 138, 36, 0.35));
    color: #F08A24;
    border-color: rgba(240, 138, 36, 0.3);
}
.history-badge-insider {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.35));
    color: #A855F7;
    border-color: rgba(168, 85, 247, 0.3);
}
.history-badge-volumeshock {
    background: linear-gradient(135deg, rgba(246, 195, 67, 0.25), rgba(246, 195, 67, 0.35));
    color: #F6C343;
    border-color: rgba(246, 195, 67, 0.3);
}
.history-badge-dropping {
    background: linear-gradient(135deg, rgba(248, 81, 73, 0.25), rgba(248, 81, 73, 0.35));
    color: #f85149;
    border-color: rgba(248, 81, 73, 0.3);
}
.history-badge-publicmove {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.25), rgba(255, 204, 0, 0.35));
    color: #FFCC00;
    border-color: rgba(255, 204, 0, 0.3);
}
.history-badge-volumeleader {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.35));
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.3);
}

.acd-history-list {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 148, 158, 0.15);
}

.acd-history-section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 148, 158, 0.15);
}

.acd-history-title {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acd-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(30, 38, 48, 0.6);
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 3px solid rgba(240, 138, 36, 0.5);
}

.acd-history-item:last-child {
    margin-bottom: 0;
}

.acd-history-time {
    font-size: 11px;
    color: #6e7681;
}

.acd-history-val {
    font-size: 12px;
    font-weight: 600;
    color: #F08A24;
}

.history-title {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(30, 38, 48, 0.6);
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 3px solid rgba(139, 148, 158, 0.3);
}

.history-item:last-child {
    margin-bottom: 0;
}

/* History item alarm tipine göre kenar renkleri */
.history-item-sharp { border-left-color: rgba(34, 197, 94, 0.5); }
.history-item-insider { border-left-color: rgba(168, 85, 247, 0.5); }
.history-item-bigmoney { border-left-color: rgba(240, 138, 36, 0.5); }
.history-item-volumeshock { border-left-color: rgba(246, 195, 67, 0.5); }
.history-item-dropping { border-left-color: rgba(248, 81, 73, 0.5); }
.history-item-publicmove { border-left-color: rgba(255, 204, 0, 0.5); }
.history-item-volumeleader { border-left-color: rgba(6, 182, 212, 0.5); }
.history-item-mim { border-left-color: rgba(59, 130, 246, 0.5); }

.history-time {
    font-size: 11px;
    color: #6e7681;
}

.history-val {
    font-size: 12px;
    font-weight: 600;
    color: #c9d1d9;
}

.acd-btn {
    width: 100%;
    padding: 10px 0;
    margin-top: var(--space-lg);
    background: #238636;
    border: none;
    border-radius: var(--space-md);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, text-shadow 0.15s ease;
    text-shadow: 0 0 10px rgba(46, 255, 112, 0.35);
}

.acd-btn:hover {
    background: #2ea043;
    text-shadow: 0 0 14px rgba(46, 255, 112, 0.5);
}

/* ========== ALARM DETAIL GRID ========== */

.acd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: var(--space-lg);
}

.acd-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.acd-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.acd-stat {
    background: #1A212A;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}

.acd-stat.wide {
    grid-column: span 1;
}

.acd-stat-val {
    font-size: 16px;
    font-weight: var(--weight-semibold);
    color: #c9d1d9;
    margin-bottom: 4px;
    white-space: nowrap;
}

.acd-stat-val.sharp { color: #22c55e; }
.acd-stat-val.insider { color: #a78bfa; }
.acd-stat-val.volumeshock { color: #fbbf24; }
.acd-stat-val.bigmoney { color: #F08A24; }
.acd-stat-val.drop { color: #ff0000; }
.acd-stat-val.volumeleader { color: #06b6d4; }
.acd-stat-val.volumeleader-new { color: #22d3ee; }
.acd-stat-val.mim { color: #3B82F6; }

/* Volume Leader Transition - Minimal Style */
.vl-transition {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    min-width: 100px;
    text-align: right;
}

.vl-old {
    color: #6e7681;
    font-size: 13px;
    opacity: 0.8;
    display: inline-block;
    width: 40px;
    text-align: right;
}

.vl-arrow {
    color: #06b6d4;
    font-size: 16px;
    font-weight: 300;
    opacity: 0.6;
    flex-shrink: 0;
}

.vl-new {
    color: #22d3ee;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    width: 40px;
    text-align: left;
}

.vl-mini {
    color: #8b949e;
    font-size: 12px;
}

.acd-stat-lbl {
    font-size: 10px;
    font-weight: var(--weight-regular);
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Info row for Sharp */
.acd-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8b949e;
    padding: 8px 0;
    border-top: 1px solid #30363d;
    margin-top: 8px;
    margin-bottom: 12px;
}

.acd-info-row .info-label {
    color: #8b949e;
}

.acd-info-row .info-value {
    color: #c9d1d9;
    margin-left: 16px;
}

/* Single value display for Insider */
.acd-single {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #21262d;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 12px;
}

.acd-big-val {
    font-size: 20px;
    font-weight: 700;
    color: #c9d1d9;
}

.acd-big-val.insider {
    color: #a78bfa;
}

.acd-big-drop {
    font-size: 16px;
    font-weight: 700;
    color: #ff0000;
}

/* Match Detail Smart Money Cards - 4-Row Design */
.smc-card {
    display: flex;
    background: #161b22;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #30363d;
}

.smc-stripe {
    width: 4px;
    flex-shrink: 0;
}

.smc-content {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.smc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.smc-row.smc-header {
    margin-bottom: 2px;
}

.smc-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.smc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.smc-badge {
    font-size: 12px;
    font-weight: 700;
    color: #c9d1d9;
    letter-spacing: 0.3px;
}

.smc-count-badge {
    font-size: 11px;
    font-weight: 600;
    color: #8b949e;
    background: #21262d;
    padding: 1px 5px;
    border-radius: 4px;
}

.smc-card .smc-time {
    font-size: 11px;
    color: #6e7681;
}

.smc-label {
    font-size: 13px;
    font-weight: 500;
    color: #c9d1d9;
}

.smc-value {
    font-size: 13px;
    font-weight: 700;
}

.smc-detail {
    font-size: 12px;
    color: #8b949e;
}

.smc-row.smc-desc {
    font-size: 11px;
    color: #6e7681;
    font-style: italic;
    margin-top: 2px;
}

/* =====================================================
   TOAST NOTIFICATION
   ===================================================== */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #c9d1d9;
    background: #21262d;
    border: 1px solid #30363d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99999;
    pointer-events: none;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.toast-warning {
    background: #3d2a1a;
    border-color: #f0883e;
    color: #f0883e;
}

.toast-notification.toast-error {
    background: #3d1a1a;
    border-color: #f85149;
    color: #f85149;
}

.toast-notification.toast-success {
    background: #1a3d2a;
    border-color: #3fb950;
    color: #3fb950;
}

/* ========== SMC HISTORY SECTION ========== */
.smc-history-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(139, 148, 158, 0.15);
}

.smc-history-title {
    font-size: 10px;
    font-weight: 600;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.smc-history-title .smc-more {
    font-weight: 400;
    color: #484f56;
    font-size: 9px;
}

.smc-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 8px;
    margin-bottom: 3px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid rgba(139, 148, 158, 0.2);
    transition: background 0.15s ease, border-color 0.15s ease;
}

.smc-history-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Alarm tipine göre history item border renkleri */
.smc-card.bigmoney .smc-history-item { border-left-color: rgba(240, 138, 36, 0.4); }
.smc-card.bigmoney .smc-history-item:hover { border-left-color: #F08A24; background: rgba(240, 138, 36, 0.08); }
.smc-card.volumeshock .smc-history-item { border-left-color: rgba(246, 195, 67, 0.4); }
.smc-card.volumeshock .smc-history-item:hover { border-left-color: #F6C343; background: rgba(246, 195, 67, 0.08); }
.smc-card.sharp .smc-history-item { border-left-color: rgba(34, 197, 94, 0.4); }
.smc-card.sharp .smc-history-item:hover { border-left-color: #22c55e; background: rgba(34, 197, 94, 0.08); }
.smc-card.insider .smc-history-item { border-left-color: rgba(168, 85, 247, 0.4); }
.smc-card.insider .smc-history-item:hover { border-left-color: #a855f7; background: rgba(168, 85, 247, 0.08); }
.smc-card.dropping .smc-history-item { border-left-color: rgba(248, 81, 73, 0.4); }
.smc-card.dropping .smc-history-item:hover { border-left-color: #f85149; background: rgba(248, 81, 73, 0.08); }
.smc-card.publicmove .smc-history-item { border-left-color: rgba(255, 204, 0, 0.4); }
.smc-card.publicmove .smc-history-item:hover { border-left-color: #FFCC00; background: rgba(255, 204, 0, 0.08); }
.smc-card.volumeleader .smc-history-item { border-left-color: rgba(6, 182, 212, 0.4); }
.smc-card.volumeleader .smc-history-item:hover { border-left-color: #06b6d4; background: rgba(6, 182, 212, 0.08); }
.smc-card.mim .smc-history-item { border-left-color: rgba(59, 130, 246, 0.4); }
.smc-card.mim .smc-history-item:hover { border-left-color: #3b82f6; background: rgba(59, 130, 246, 0.08); }

.smc-h-time {
    font-size: 11px;
    color: #6e7681;
}

.smc-h-val {
    font-size: 12px;
    font-weight: 600;
}


/* =====================================================
   APP LOGO - SMART [ICON] FLOW
   Trading/Analytics Tool Design - Premium Edition
   ===================================================== */

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    height: 100%;
}

.app-logo {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.logo-smart,
.logo-flow {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 1;
    color: #fff;
}

.logo-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
    transform: translateY(-1px);
    opacity: 1;
    filter:
        drop-shadow(0 0 8px rgba(0,255,120,0.45))
        drop-shadow(0 0 8px rgba(200,45,45,0.35))
        contrast(1.1)
        brightness(1.05);
}

/* Hide mobile-only last update on desktop */
.mobile-last-update {
    display: none;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.75;
    letter-spacing: 0.2px;
    line-height: 1.1;
    color: #8B949E;
    white-space: nowrap;
}

/* =====================================================
   MOBILE / DESKTOP VISIBILITY HELPERS
   ===================================================== */

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex;
}

/* Table specifically */
table.desktop-only {
    display: table;
}

/* =====================================================
   MOBILE RESPONSIVE STYLES - Premium Compact Design
   Only applies to screens <= 768px
   ===================================================== */

@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    table.desktop-only {
        display: none !important;
    }
    
    /* ========== MOBILE 2-ROW TAB SYSTEM - Modern Minimal ========== */
    .mobile-tab-system {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    }
    
    /* ---- LAYER A: Group Selection (Moneyway | Odds) ---- */
    .mobile-tab-row.group-row {
        display: flex;
        width: 100%;
        background: rgba(22, 27, 34, 0.4);
        border-radius: 0;
        padding: 0 16px;
        gap: 0;
        border-bottom: none;
    }
    
    .mobile-tab-row.group-row .mobile-tab-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 8px;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.3px;
        color: #484f58;
        background: transparent;
        border: none;
        border-radius: 0;
        cursor: pointer;
        transition: color 0.2s ease;
        white-space: nowrap;
        position: relative;
    }
    
    .mobile-tab-row.group-row .mobile-tab-btn::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 24px;
        height: 2px;
        background: #4ade80;
        border-radius: 1px;
        transition: transform 0.2s ease;
    }
    
    .mobile-tab-row.group-row .mobile-tab-btn.active {
        color: #e6edf3;
        font-weight: 600;
        background: transparent;
    }
    
    .mobile-tab-row.group-row .mobile-tab-btn.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .mobile-tab-row.group-row .mobile-tab-btn:active {
        opacity: 0.7;
    }
    
    /* ---- LAYER B: Market Selection (1X2 | 2.5 | BTTS) ---- */
    .mobile-tab-row.market-row {
        display: flex !important;
        width: 100% !important;
        background: transparent !important;
        border-radius: 0 !important;
        padding: 8px 16px 10px !important;
        gap: 8px !important;
        border-bottom: 1px solid rgba(48, 54, 61, 0.3) !important;
    }
    
    .mobile-tab-row.market-row .mobile-tab-btn {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 7px 8px !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        letter-spacing: 0.2px !important;
        color: #484f58 !important;
        background: rgba(48, 54, 61, 0.3) !important;
        border: 1px solid transparent !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
    }
    
    .mobile-tab-row.market-row .mobile-tab-btn::before {
        display: none !important;
    }
    
    .mobile-tab-row.market-row .mobile-tab-btn.active {
        color: #4ade80 !important;
        font-weight: 600 !important;
        background: rgba(74, 222, 128, 0.08) !important;
        border-color: rgba(74, 222, 128, 0.25) !important;
    }
    
    .mobile-tab-row.market-row .mobile-tab-btn:active {
        transform: scale(0.97) !important;
        opacity: 0.8 !important;
    }
    
    /* ========== SAFE AREA + OVERFLOW FIX ========== */
    html, body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        padding-top: env(safe-area-inset-top);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    /* ========== HEADER - Mobile Layout ========== */
    .header {
        display: flex !important;
        flex-wrap: nowrap !important;
        height: 60px !important;
        padding: 8px 12px !important;
        gap: 8px !important;
        align-items: center !important;
        position: relative !important;
        z-index: 100 !important;
        justify-content: space-between !important;
    }
    
    .header-left {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
    }
    
    .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        flex: 0 0 auto !important;
    }
    
    /* Hide desktop elements on mobile */
    .header-right .status-indicator,
    .header-right .refresh-btn,
    .header-right .last-update-info {
        display: none !important;
    }
    
    /* Logo container: column layout with slogan below */
    .logo-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
    }
    
    .app-logo {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    
    .logo-smart, .logo-flow {
        font-size: 18px !important;
        font-weight: 600 !important;
    }
    
    .logo-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Show slogan below logo */
    .logo-subtitle {
        display: block !important;
        font-size: 10px !important;
        color: #8b949e !important;
        opacity: 0.8 !important;
    }
    
    /* Mobile: Show "Son: 17:40" on right side - clean, no pill */
    .mobile-last-update {
        display: inline-flex !important;
        align-items: center !important;
        font-size: 12px !important;
        color: #6e7681 !important;
        font-weight: 400 !important;
        white-space: nowrap !important;
    }
    
    .mobile-last-update #mobileLastUpdateTime {
        color: #8b949e !important;
        margin-left: 3px !important;
    }

    /* ========== TAB BAR - Compact Pills ========== */
    .market-tabs {
        padding: 6px 8px;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        background: #161b22;
    }
    
    .market-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab {
        padding: 5px 10px;
        font-size: 10px;
        flex-shrink: 0;
        border-radius: 14px;
        min-height: 28px;
        gap: 4px;
    }
    
    .tab svg {
        width: 10px;
        height: 10px;
    }
    
    .tab.active {
        background: #238636;
    }

    /* ========== MAIN CONTENT ========== */
    .main-content {
        padding: 8px;
        height: auto;
        min-height: calc(100vh - 150px);
        overflow-y: auto;
    }
    
    .matches-section {
        height: auto;
    }

    /* ========== TOOLBAR - Compact Layout ========== */
    .toolbar {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
        position: relative;
    }
    
    .toolbar-left {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }
    
    /* Search - Compact */
    .search-box {
        width: 100%;
        padding: 8px 10px;
        border-radius: 8px;
        gap: 6px;
    }
    
    .search-box svg {
        width: 14px;
        height: 14px;
    }
    
    .search-box input {
        font-size: 13px;
    }

    /* ========== MOBILE FILTER BAR ========== */
    .mobile-filter-bar {
        display: flex !important;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 6px 10px;
        background: rgba(22, 27, 34, 0.9);
        border-radius: 8px;
        margin-top: 6px;
        gap: 8px;
    }
    
    .mobile-filter-left {
        display: flex;
        align-items: center;
    }
    
    .mobile-filter-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* Segmented Control - Compact */
    .day-filter-segment {
        display: flex;
        background: rgba(33, 38, 45, 0.8);
        border-radius: 6px;
        padding: 2px;
        gap: 2px;
    }
    
    .day-filter-segment .seg-btn {
        padding: 5px 10px;
        background: transparent;
        border: none;
        border-radius: 5px;
        font-size: 10px;
        font-weight: 600;
        color: #8b949e;
        cursor: pointer;
        transition: all 0.15s;
        font-family: 'Inter', sans-serif;
    }
    
    .day-filter-segment .seg-btn.active {
        background: rgba(46, 160, 67, 0.3);
        color: #58D68D;
    }
    
    .day-filter-segment .seg-btn:not(.active):active {
        background: rgba(255,255,255,0.05);
    }
    
    /* Mobile Match Count */
    .mobile-match-count {
        font-size: 11px;
        font-weight: 600;
        color: #E6EDF3;
        padding: 4px 10px;
        background: rgba(33, 38, 45, 0.8);
        border-radius: 12px;
    }
    
    .mobile-match-count .match-label {
        color: #4ade80;
        font-weight: 600;
    }
    
    /* Mobile Alarm Button */
    .mobile-alarm-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 5px 10px;
        margin-left: 6px;
        background: rgba(33, 38, 45, 0.8);
        border: none;
        border-radius: 6px;
        cursor: pointer;
        color: #8B949E;
        transition: all 0.15s;
    }
    
    .mobile-alarm-btn:active {
        background: rgba(46, 160, 67, 0.2);
    }
    
    .mobile-alarm-btn svg {
        width: 12px;
        height: 12px;
        stroke: #8B949E;
    }
    
    .mobile-alarm-text {
        font-size: 10px;
        font-weight: 500;
        color: #8B949E;
    }
    
    .mobile-alarm-badge {
        font-size: 10px;
        font-weight: 700;
        color: #4ade80;
        min-width: 12px;
        text-align: center;
    }
    
    /* Hide desktop match count on mobile */
    .match-count {
        display: none !important;
    }

    /* ========== MATCH CARD LIST (Replaces Table) ========== */
    .table-container {
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #30363d;
    }
    
    /* Hide table on mobile */
    .matches-table {
        display: none;
    }
    
    /* Match Card List */
    .match-card-list {
        display: flex;
        flex-direction: column;
    }
    
    .match-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        background: #161b22;
        border-bottom: 1px solid rgba(48, 54, 61, 0.5);
        cursor: pointer;
        transition: background 0.15s;
        gap: 8px;
    }
    
    .match-card:last-child {
        border-bottom: none;
    }
    
    .match-card:active {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .match-card-left {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    .match-card-teams {
        font-size: 13px;
        font-weight: 600;
        color: #e6edf3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .match-card-teams .vs {
        color: #6e7681;
        font-weight: 400;
        margin: 0 4px;
    }
    
    .match-card-meta {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: #8b949e;
    }
    
    .match-card-league {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .match-card-separator {
        color: #484f58;
    }
    
    .match-card-datetime {
        white-space: nowrap;
        color: #6e7681;
    }
    
    .match-card-right {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }
    
    .match-card-volume {
        font-size: 12px;
        font-weight: 600;
        color: #22c55e;
        font-family: 'Inter', sans-serif;
    }
    
    .match-card-arrow {
        color: #484f58;
        font-size: 12px;
    }
    
    /* ========== MOBILE ODDS/MONEYWAY CARD ========== */
    .match-card.odds-card {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
    }
    
    .odds-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
    }
    
    .odds-card-teams {
        font-size: 14px;
        font-weight: 600;
        color: #e6edf3;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .odds-card-volume {
        font-size: 12px;
        font-weight: 600;
        color: #22c55e;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .odds-card-meta {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        color: #8b949e;
    }
    
    .odds-card-meta .meta-sep {
        color: #484f58;
    }
    
    .odds-card-row {
        display: flex;
        gap: 6px;
        margin-top: 4px;
    }
    
    .odds-card-row.three .odds-block {
        flex: 1;
    }
    
    .odds-card-row.two .odds-block {
        flex: 1;
    }
    
    .odds-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: rgba(33, 38, 45, 0.8);
        border-radius: 6px;
        padding: 8px 4px;
        border: 1px solid rgba(48, 54, 61, 0.5);
    }
    
    .odds-block-label {
        font-size: 10px;
        font-weight: 500;
        color: #8b949e;
        margin-bottom: 2px;
    }
    
    .odds-block-value {
        font-size: 15px;
        font-weight: 700;
        color: #e6edf3;
        font-family: 'Inter', monospace;
    }
    
    .odds-block-pct {
        display: flex;
        align-items: center;
        gap: 2px;
        font-size: 10px;
        color: #6e7681;
        margin-top: 2px;
    }
    
    .odds-block-pct.pct-up {
        color: #22c55e;
    }
    
    .odds-block-pct.pct-down {
        color: #ef4444;
    }
    
    .odds-block-pct .trend-icon {
        font-size: 9px;
    }
    
    /* Moneyway percentage - blue color */
    .odds-block-pct.mw-pct {
        color: #3B82F6;
        font-weight: 600;
    }

    /* ========== ALARMS SIDEBAR - Full Screen ========== */
    .alarms-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        top: 0 !important;
        padding-top: env(safe-area-inset-top);
    }
    
    .alarms-sidebar-header {
        padding: 10px 12px;
    }
    
    .alarms-sidebar-title {
        font-size: 14px;
    }
    
    .alarms-sidebar-content {
        padding: 10px;
    }
    
    .alarm-card {
        padding: 10px;
        min-height: auto;
        border-radius: 6px;
    }
    
    .alarm-name {
        font-size: 11px;
    }
    
    .alarm-detail {
        font-size: 12px;
    }
    
    .alarm-description {
        font-size: 10px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .header {
        height: 44px;
        padding: 0 8px;
        gap: 4px;
    }
    
    .header-right {
        gap: 4px;
    }
    
    .logo-smart, .logo-flow {
        font-size: 11px;
    }
    
    .logo-icon {
        width: 12px;
        height: 12px;
    }
    
    .status-indicator {
        padding: 3px 5px;
    }
    
    .status-indicator .status-text {
        display: none;
    }
    
    .refresh-btn {
        padding: 3px 6px;
    }
    
    .last-update-info {
        padding: 3px 5px;
    }
    
    .last-update-tz {
        display: none;
    }
    
    .tab {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .tab svg {
        display: none;
    }
    
    .main-content {
        padding: 6px;
        height: calc(100vh - 120px);
    }
    
    .search-box {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .btn-today {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .btn-today svg {
        display: none;
    }
    
    .matches-table {
        min-width: 500px;
    }
}

/* =====================================================
   MOBILE MODAL - Full Screen
   ===================================================== */

@media (max-width: 768px) {
    .modal-overlay {
        padding: 0;
        align-items: stretch;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0;
        border: none;
    }
    
    .modal-header {
        padding: 14px 16px;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .modal-title h2 {
        font-size: 15px;
    }
    
    .modal-subtitle {
        font-size: 11px;
    }
    
    .modal-body {
        padding: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Match Info Card */
    .match-info-card {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .info-columns {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-column {
        width: 100%;
        min-width: auto;
        padding: 10px 12px;
    }
    
    /* Charts */
    .chart-wrapper {
        min-height: 340px !important;
        height: 40vh !important;
        max-height: 460px !important;
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .chart-title {
        font-size: 13px;
    }
    
    /* Selections Grid */
    .selections-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
    
    .selection-card {
        padding: 12px;
    }
    
    /* SMC Cards */
    .smc-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    
    .smc-card {
        padding: 12px;
    }
    
    /* Alarm Cards in Modal */
    .alarm-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
}

/* =====================================================
   TOUCH-FRIENDLY IMPROVEMENTS
   ===================================================== */

@media (max-width: 768px) {
    /* Larger touch targets */
    button, .btn, .tab, .sel-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better tap feedback */
    .tab:active,
    .btn:active,
    .sel-btn:active,
    .matches-table tr:active {
        opacity: 0.7;
        transition: opacity 0.1s;
    }
    
    /* Prevent text selection on interactive elements */
    button, .btn, .tab, .sel-btn, .matches-table tr {
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Smooth scrolling */
    .table-container,
    .modal-body,
    .alarms-sidebar-content {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}

/* =====================================================
   MOBILE HEADER - FINAL OVERRIDE (Must be last!)
   Logo left with slogan, Son güncelleme right
   ===================================================== */
@media (max-width: 768px) {
    .header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 56px !important;
        padding: 8px 12px !important;
    }
    
    .header-left {
        display: flex !important;
        align-items: center !important;
    }
    
    .logo-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
    }
    
    .app-logo {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
    
    .logo-smart, .logo-flow {
        font-size: 18px !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
    }
    
    .logo-icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .logo-subtitle {
        display: block !important;
        font-size: 9px !important;
        color: #8b949e !important;
        opacity: 0.9 !important;
        margin-top: 1px !important;
    }
    
    .header-right {
        display: flex !important;
        align-items: center !important;
    }
    
    .header-right .status-indicator,
    .header-right .refresh-btn,
    .header-right .last-update-info {
        display: none !important;
    }
    
    .mobile-last-update {
        display: flex !important;
        align-items: center !important;
        font-size: 12px !important;
        color: #4ade80 !important;
        white-space: nowrap !important;
    }
    
    .mobile-last-update #mobileLastUpdateTime {
        color: #4ade80 !important;
        margin-left: 3px !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 480px) {
    .header {
        height: 52px !important;
        padding: 6px 10px !important;
    }
    
    .logo-smart, .logo-flow {
        font-size: 16px !important;
    }
    
    .logo-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    .logo-subtitle {
        font-size: 8px !important;
    }
    
    .mobile-last-update {
        font-size: 12px !important;
        color: #4ade80 !important;
        font-family: 'JetBrains Mono', monospace !important;
        font-weight: 600 !important;
    }
}

/* =====================================================
   MOBILE MODAL - Modern Compact Redesign
   ===================================================== */

@media (max-width: 768px) {
    /* === HEADER - Compact === */
    .modal-header {
        padding: 12px 16px !important;
        gap: 12px !important;
        background: #0d1117 !important;
        border-bottom: 1px solid rgba(48, 54, 61, 0.5) !important;
    }
    
    .modal-title {
        flex: 1;
        min-width: 0;
    }
    
    .modal-title h2 {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #e6edf3 !important;
        margin-bottom: 2px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .modal-subtitle {
        font-size: 11px !important;
        color: #6e7681 !important;
    }
    
    .modal-close {
        padding: 6px !important;
        min-height: 32px !important;
        min-width: 32px !important;
    }
    
    .modal-close svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* === BODY - Tighter padding === */
    .modal-body {
        padding: 10px 12px !important;
        background: #0d1117 !important;
    }
    
    /* === CHART TABS - Minimal Text Style === */
    .chart-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
        padding: 0 !important;
        margin-bottom: 12px !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
    }
    
    .chart-tabs::before {
        content: '';
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(48, 54, 61, 0.3);
        position: absolute;
        bottom: 0;
    }
    
    .chart-tab {
        flex: none !important;
        padding: 8px 12px !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #6e7681 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        min-height: 36px !important;
        position: relative !important;
        transition: color 0.15s ease !important;
    }
    
    .chart-tab::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 20px;
        height: 2px;
        background: #4ade80;
        border-radius: 1px;
        transition: transform 0.15s ease;
    }
    
    .chart-tab.active {
        color: #e6edf3 !important;
        font-weight: 600 !important;
        background: transparent !important;
    }
    
    .chart-tab.active::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    /* === MATCH INFO CARD - Single Row Table === */
    .match-info-card {
        background: rgba(22, 27, 34, 0.6) !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin-bottom: 12px !important;
        border: 1px solid rgba(48, 54, 61, 0.4) !important;
        overflow: hidden;
    }
    
    .info-columns {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .info-column {
        width: 100% !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(48, 54, 61, 0.3) !important;
    }
    
    .info-column:last-child {
        border-bottom: none !important;
    }
    
    .column-header {
        display: none !important;
    }
    
    /* Odds row style */
    .info-column {
        display: flex !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 12px !important;
    }
    
    .column-value {
        margin-bottom: 0 !important;
    }
    
    .column-value.odds {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #e6edf3 !important;
    }
    
    .column-value.money {
        font-size: 11px !important;
        color: #4ade80 !important;
    }
    
    .column-value.pct {
        font-size: 11px !important;
        margin-left: auto !important;
    }
    
    /* === SMART MONEY SECTION - Compact === */
    .smart-money-section {
        margin-bottom: 12px !important;
    }
    
    .smart-money-header {
        padding: 10px 12px !important;
        background: rgba(22, 27, 34, 0.6) !important;
        border-radius: 6px !important;
    }
    
    .smart-money-icon {
        font-size: 14px !important;
    }
    
    .smart-money-title {
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    
    .smart-money-grid {
        gap: 8px !important;
        margin-top: 8px !important;
    }
    
    .smart-money-card {
        padding: 10px 12px !important;
        border-left-width: 3px !important;
        border-radius: 6px !important;
    }
    
    .sm-type-label {
        font-size: 9px !important;
    }
    
    .sm-time {
        font-size: 9px !important;
    }
    
    .sm-score {
        font-size: 11px !important;
    }
    
    /* === CHART WRAPPER - Compact === */
    .chart-wrapper {
        min-height: 340px !important;
        height: 40vh !important;
        max-height: 460px !important;
        padding: 10px !important;
        margin-bottom: 12px !important;
        border-radius: 8px !important;
        background: rgba(22, 27, 34, 0.6) !important;
        border: 1px solid rgba(48, 54, 61, 0.4) !important;
    }
    
    /* === CHART LEGEND FILTERS - Compact === */
    .chart-legend-filters {
        gap: 6px !important;
        margin-bottom: 8px !important;
        flex-wrap: wrap !important;
    }
    
    .legend-item {
        padding: 4px 8px !important;
        font-size: 10px !important;
        border-radius: 4px !important;
    }
    
    /* === VOLUME DISPLAY - Simple Text === */
    .volume-display {
        font-size: 11px !important;
        color: #6e7681 !important;
        padding: 8px 12px !important;
        background: transparent !important;
        border: none !important;
        text-align: center !important;
    }
    
    .volume-display strong {
        color: #4ade80 !important;
    }
}

/* =====================================================
   MOBILE MODAL - Tab System v5
   Header → Summary → [Tabs: Chart|Events|Details] → Active Tab Content
   ===================================================== */

/* DESKTOP: Tab bar ve mobil kontroller gizle, tüm içerik görünür */
@media (min-width: 769px) {
    .mobile-tab-bar {
        display: none !important;
    }
    .mobile-tab-content {
        display: block !important;
    }
    .mobile-chart-controls {
        display: none !important;
    }
    .mobile-value-panel {
        display: none !important;
    }
    .mobile-value-header {
        display: none !important;
    }
    .mobile-time-pills {
        display: none !important;
    }
    .chart-tab .tab-short {
        display: none !important;
    }
    .chart-tab .tab-full {
        display: inline !important;
    }
}

@media (max-width: 768px) {
    
    /* === 1. STICKY HEADER === */
    .modal-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        padding: 12px 16px !important;
        background: #0d1117 !important;
        border-bottom: 1px solid #21262d !important;
    }
    
    .modal-title h2 {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #f0f6fc !important;
        margin-bottom: 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: calc(100vw - 80px) !important;
        letter-spacing: -0.01em !important;
    }
    
    .modal-subtitle {
        font-size: 12px !important;
        color: #8b949e !important;
        font-weight: 500 !important;
    }
    
    .modal-close {
        width: 32px !important;
        height: 32px !important;
        padding: 6px !important;
        opacity: 0.7 !important;
    }
    
    /* === 2. SUMMARY CARD === */
    .match-info-card {
        background: #161b22 !important;
        border: none !important;
        border-radius: 10px !important;
        padding: 12px !important;
        margin: 12px 16px !important;
    }
    
    .match-info-card .info-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .match-info-card .info-column {
        display: grid !important;
        grid-template-columns: 40px 1fr auto !important;
        grid-template-rows: auto auto !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 14px 0 24px 0 !important;
        position: relative !important;
        gap: 0 10px !important;
    }
    
    .match-info-card .info-column:last-child {
        padding-bottom: 20px !important;
    }
    
    .match-info-card .info-column:first-child {
        padding-top: 8px !important;
    }
    
    .match-info-card .column-header {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        background: rgba(74, 222, 128, 0.15) !important;
        border: none !important;
        border-radius: 50% !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        color: #4ade80 !important;
        margin: 0 !important;
        padding: 0 2px !important;
        text-align: center !important;
        line-height: 1.1 !important;
    }
    
    .match-info-card .column-row {
        display: contents !important;
        margin: 0 !important;
    }
    
    .match-info-card .column-row .row-label {
        display: none !important;
    }
    
    .match-info-card .row-value.odds {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        align-self: center !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #c9d1d9 !important;
        font-family: 'Inter', -apple-system, sans-serif !important;
        letter-spacing: -0.02em !important;
    }
    
    .match-info-card .row-value.money {
        grid-column: 3 !important;
        grid-row: 2 !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #8b949e !important;
        text-align: right !important;
        justify-self: end !important;
    }
    
    .match-info-card .column-row.row-pct {
        display: contents !important;
    }
    
    .match-info-card .column-row.row-pct::before {
        display: none !important;
    }
    
    .match-info-card .label-pct {
        display: none !important;
    }
    
    .match-info-card .row-value.pct {
        grid-column: 3 !important;
        grid-row: 1 !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #4ade80 !important;
        text-align: right !important;
        justify-self: end !important;
    }
    
    .match-info-card .info-column .mobile-progress {
        position: absolute !important;
        bottom: 4px !important;
        left: 0 !important;
        height: 6px !important;
        background: #4ade80 !important;
        border-radius: 9999px !important;
    }
    
    .match-info-card .info-column::before {
        content: '' !important;
        position: absolute !important;
        bottom: 4px !important;
        left: 0 !important;
        right: 0 !important;
        height: 6px !important;
        background: rgba(48, 54, 61, 0.5) !important;
        border-radius: 9999px !important;
    }
    
    .volume-bar {
        background: transparent !important;
        border: none !important;
        border-top: 1px solid rgba(48, 54, 61, 0.5) !important;
        border-radius: 0 !important;
        padding: 12px 0 4px 0 !important;
        margin: 8px 0 0 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .volume-label {
        font-size: 10px !important;
        color: #6e7681 !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
    }
    
    .volume-value {
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #4ade80 !important;
    }
    
    /* === 3. MOBILE TAB BAR === */
    .mobile-tab-bar {
        display: flex !important;
        gap: 0 !important;
        padding: 0 16px !important;
        margin: 8px 0 !important;
        background: transparent !important;
        border-bottom: 1px solid #21262d !important;
    }
    
    .mobile-tab-bar .mob-tab {
        flex: 1 !important;
        padding: 10px 0 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #6e7681 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 2px solid transparent !important;
        text-align: center !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
    }
    
    .mobile-tab-bar .mob-tab.active {
        color: #4ade80 !important;
        border-bottom-color: #4ade80 !important;
    }
    
    /* === 4. TAB CONTENT - Sadece aktif görünür === */
    .mobile-tab-content {
        display: none !important;
    }
    
    .mobile-tab-content.active {
        display: block !important;
    }
    
    /* === 5. CHART TAB İÇERİĞİ === */
    .chart-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 6px !important;
        padding: 10px 16px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        scrollbar-width: none !important;
    }
    
    .chart-tabs::-webkit-scrollbar {
        display: none !important;
    }
    
    .chart-tab {
        flex-shrink: 0 !important;
        padding: 5px 10px !important;
        font-size: 10px !important;
        font-weight: 500 !important;
        color: rgba(110, 118, 129, 0.5) !important;
        background: transparent !important;
        border: 0.5px solid rgba(48, 54, 61, 0.6) !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        opacity: 0.7 !important;
        transition: all 0.2s ease !important;
    }
    
    .chart-tab.active {
        color: #4ade80 !important;
        background: rgba(74, 222, 128, 0.08) !important;
        border-color: rgba(74, 222, 128, 0.3) !important;
        opacity: 1 !important;
    }
    
    .chart-legend-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        padding: 8px 16px !important;
        margin: 0 !important;
    }
    
    .legend-item {
        padding: 5px 10px !important;
        font-size: 10px !important;
        border-radius: 10px !important;
        background: transparent !important;
        border: 1px solid #30363d !important;
        color: #6e7681 !important;
    }
    
    .legend-item.active {
        border-color: rgba(74, 222, 128, 0.4) !important;
        background: rgba(74, 222, 128, 0.1) !important;
        color: #4ade80 !important;
    }
    
    .chart-wrapper {
        min-height: 360px !important;
        height: 48vh !important;
        max-height: 500px !important;
        width: calc(100% - 16px) !important;
        padding: 8px 4px !important;
        margin: 0 8px 8px 8px !important;
        background: #0d1117 !important;
        border: none !important;
        border-radius: 12px !important;
    }
    
    /* === 6. EVENTS TAB İÇERİĞİ - Premium Design === */
    .smart-money-section {
        margin: 8px 16px 16px !important;
        background: transparent !important;
        border: none !important;
    }
    
    .smart-money-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 0 10px 0 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #30363d !important;
        border-radius: 0 !important;
        margin-bottom: 12px !important;
    }
    
    .smart-money-icon {
        font-size: 11px !important;
        opacity: 0.8 !important;
    }
    
    .smart-money-title {
        font-size: 11px !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
        color: #8b949e !important;
    }
    
    .smart-money-chevron {
        display: none !important;
    }
    
    .smart-money-header {
        pointer-events: none !important;
        cursor: default !important;
    }
    
    .smart-money-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .smart-money-card {
        display: flex !important;
        flex-direction: column !important;
        padding: 14px 14px 14px 16px !important;
        border: none !important;
        border-left: 4px solid !important;
        border-radius: 10px !important;
        background: #161b22 !important;
        gap: 6px !important;
        position: relative !important;
    }
    
    /* Soft accent colors */
    .smart-money-card.sharp {
        border-left-color: rgba(74, 222, 128, 0.7) !important;
        background: linear-gradient(90deg, rgba(74, 222, 128, 0.06) 0%, #161b22 30%) !important;
    }
    
    .smart-money-card.bigmoney {
        border-left-color: rgba(251, 146, 60, 0.7) !important;
        background: linear-gradient(90deg, rgba(251, 146, 60, 0.06) 0%, #161b22 30%) !important;
    }
    
    .smart-money-card.insider {
        border-left-color: rgba(167, 139, 250, 0.7) !important;
        background: linear-gradient(90deg, rgba(167, 139, 250, 0.06) 0%, #161b22 30%) !important;
    }
    
    .smart-money-card.volumeshock {
        border-left-color: rgba(251, 191, 36, 0.7) !important;
        background: linear-gradient(90deg, rgba(251, 191, 36, 0.06) 0%, #161b22 30%) !important;
    }
    
    .smart-money-card.dropping {
        border-left-color: rgba(248, 113, 113, 0.7) !important;
        background: linear-gradient(90deg, rgba(248, 113, 113, 0.06) 0%, #161b22 30%) !important;
    }
    
    .smart-money-card.publicmove {
        border-left-color: rgba(96, 165, 250, 0.7) !important;
        background: linear-gradient(90deg, rgba(96, 165, 250, 0.06) 0%, #161b22 30%) !important;
    }
    
    .smart-money-card.volumeleader {
        border-left-color: rgba(45, 212, 191, 0.7) !important;
        background: linear-gradient(90deg, rgba(45, 212, 191, 0.06) 0%, #161b22 30%) !important;
    }
    
    /* Card header row */
    .sm-type-label {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        margin-bottom: 0 !important;
    }
    
    .sm-time {
        font-size: 10px !important;
        color: #6e7681 !important;
        margin: 0 !important;
        font-weight: 400 !important;
    }
    
    /* Card details */
    .sm-details {
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: #c9d1d9 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    /* Card money/market row */
    .sm-money-hero {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #c9d1d9 !important;
    }
    
    .sm-market-badge {
        font-size: 9px !important;
        padding: 2px 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: none !important;
        border-radius: 4px !important;
        color: #8b949e !important;
        font-weight: 500 !important;
    }
    
    /* Softer type colors for text */
    .smart-money-card.sharp .sm-type-label {
        color: #4ade80 !important;
    }
    .smart-money-card.bigmoney .sm-type-label {
        color: #fb923c !important;
    }
    .smart-money-card.insider .sm-type-label {
        color: #a78bfa !important;
    }
    .smart-money-card.volumeshock .sm-type-label {
        color: #fbbf24 !important;
    }
    .smart-money-card.dropping .sm-type-label {
        color: #f87171 !important;
    }
    .smart-money-card.publicmove .sm-type-label {
        color: #60a5fa !important;
    }
    .smart-money-card.volumeleader .sm-type-label {
        color: #2dd4bf !important;
    }
    
    /* Empty state */
    .smart-money-empty {
        padding: 24px 16px !important;
        text-align: center !important;
        color: #6e7681 !important;
        font-size: 12px !important;
        font-style: normal !important;
        background: transparent !important;
        border: none !important;
    }
    
    /* === SMC CARDS - Premium Compact Design === */
    .smc-cards-grid,
    .smart-money-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    .smc-card {
        display: flex !important;
        background: #161b22 !important;
        border: none !important;
        border-radius: 10px !important;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .smc-stripe {
        width: 4px !important;
        flex-shrink: 0 !important;
    }
    
    .smc-content {
        flex: 1 !important;
        padding: 10px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .smc-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    
    .smc-row.smc-header {
        margin-bottom: 1px !important;
    }
    
    .smc-left {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }
    
    .smc-dot {
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
    }
    
    .smc-badge {
        font-size: 9px !important;
        font-weight: 600 !important;
        color: #c9d1d9 !important;
        letter-spacing: 0.02em !important;
        white-space: nowrap !important;
    }
    
    .smc-count-badge {
        font-size: 8px !important;
        font-weight: 600 !important;
        color: #8b949e !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 1px 4px !important;
        border-radius: 3px !important;
        flex-shrink: 0 !important;
    }
    
    .smc-card .smc-time {
        font-size: 9px !important;
        color: #6e7681 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .smc-label {
        font-size: 11px !important;
        font-weight: 500 !important;
        color: #c9d1d9 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .smc-value {
        font-size: 11px !important;
        font-weight: 700 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .smc-detail {
        font-size: 10px !important;
        color: #8b949e !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .smc-detail:last-child {
        flex-shrink: 0 !important;
        flex: none !important;
        text-align: right !important;
    }
    
    .smc-row.smc-desc {
        font-size: 9px !important;
        color: #6e7681 !important;
        font-style: italic !important;
        margin-top: 1px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        line-height: 1.3 !important;
    }
    
    /* === 7. MOBİLDE GİZLENECEKLER === */
    
    /* Zoom UI tamamen gizle */
    .zoom-controls,
    .zoom-slider,
    .zoom-info,
    .zoom-range,
    .data-zoom,
    .zoom-bar,
    .chart-zoom-info,
    .chart-zoom-controls,
    .brush-container,
    .brush-slider,
    .brush-track,
    .brush-range,
    .brush-handle,
    .brush-label,
    .chart-zoom-hint,
    .range-selector {
        display: none !important;
    }
    
    /* PNG/CSV export butonları gizle */
    .export-buttons,
    .chart-export-btn,
    .export-btn,
    [class*="export"] {
        display: none !important;
    }
    
    /* Desktop legend filters mobilde gizle */
    .chart-legend-filters {
        display: none !important;
    }
    
    /* === 8. MOBİL KONTROLLER === */
    .mobile-chart-controls {
        display: block !important;
        padding: 8px 16px !important;
        background: #0d1117 !important;
    }
    
    .mob-ctrl-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    
    /* %/£ Toggle */
    .mob-view-toggle {
        display: flex !important;
        background: #161b22 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        border: 1px solid #30363d !important;
    }
    
    .mob-view-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #8b949e !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        min-height: 36px !important;
    }
    
    .mob-view-btn.active {
        background: #238636 !important;
        color: #fff !important;
    }
    
    /* 1-X-2 Selection Toggle */
    .mob-selection-toggle {
        display: flex !important;
        background: #161b22 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        border: 1px solid #30363d !important;
    }
    
    .mob-sel-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        color: #8b949e !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        min-height: 36px !important;
        min-width: 32px !important;
    }
    
    .mob-sel-btn.active {
        background: #3b82f6 !important;
        color: #fff !important;
    }
    
    /* Time Dropdown */
    .mob-time-dropdown {
        position: relative !important;
    }
    
    .mob-time-btn {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        color: #c9d1d9 !important;
        background: #161b22 !important;
        border: 1px solid #30363d !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        min-height: 36px !important;
    }
    
    .mob-time-icon {
        font-size: 11px !important;
    }
    
    .mob-time-arrow {
        font-size: 8px !important;
        opacity: 0.6 !important;
    }
    
    .mob-time-menu {
        display: none;
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        margin-top: 4px !important;
        background: #161b22 !important;
        border: 1px solid #30363d !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        z-index: 100 !important;
        min-width: 100px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
    }
    
    .mob-time-menu.open {
        display: block !important;
    }
    
    .mob-time-option {
        display: block !important;
        width: 100% !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        color: #c9d1d9 !important;
        background: transparent !important;
        border: none !important;
        text-align: left !important;
        cursor: pointer !important;
    }
    
    .mob-time-option:hover,
    .mob-time-option.active {
        background: #21262d !important;
    }
    
    .mob-time-option.active {
        color: #4ade80 !important;
    }
    
    /* === 9. MOBİL VALUE PANEL === */
    .mobile-value-panel {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 10px 16px !important;
        background: #161b22 !important;
        border-bottom: 1px solid #21262d !important;
        font-size: 13px !important;
    }
    
    .mvp-time {
        color: #8b949e !important;
        font-weight: 500 !important;
    }
    
    .mvp-divider {
        color: #30363d !important;
    }
    
    .mvp-value {
        color: #4ade80 !important;
        font-weight: 600 !important;
    }
    
    /* === 10. MOBİL GRAFİK BÜYÜT (Finance App Style - Eksensiz) === */
    .chart-wrapper {
        min-height: 360px !important;
        height: 48vh !important;
        max-height: 500px !important;
        width: calc(100% - 16px) !important;
        padding: 8px 4px !important;
        margin: 0 8px 8px 8px !important;
        background: #0d1117 !important;
        border: none !important;
        border-radius: 12px !important;
    }
    
    #oddsChart {
        height: 100% !important;
        width: 100% !important;
        background: transparent !important;
    }
    
    /* Zoom slider gizle */
    .brush-slider-container,
    .brush-slider,
    .brush-handle,
    .brush-help-text {
        display: none !important;
    }
    
    /* === 11. MARKET TABS 2x3 GRID === */
    .chart-tabs {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        overflow: visible !important;
    }
    
    .chart-tab {
        height: 34px !important;
        padding: 6px 8px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .chart-tab .tab-full {
        display: none !important;
    }
    
    .chart-tab .tab-short {
        display: inline !important;
    }
    
    /* === 12. FINANCE-APP STYLE VALUE HEADER === */
    .mobile-value-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 16px 12px 12px !important;
        background: linear-gradient(180deg, #0d1117 0%, #161b22 100%) !important;
        border-bottom: 1px solid #21262d !important;
    }
    
    .mvh-main {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: 8px !important;
    }
    
    .mvh-big-value {
        font-size: 36px !important;
        font-weight: 700 !important;
        color: #4ade80 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.5px !important;
    }
    
    .mvh-change {
        font-size: 13px !important;
        color: #8b949e !important;
        margin-top: 4px !important;
    }
    
    .mvh-change.positive {
        color: #4ade80 !important;
    }
    
    .mvh-change.negative {
        color: #f87171 !important;
    }
    
    .mvh-details {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 12px !important;
        color: #8b949e !important;
    }
    
    .mvh-details strong {
        color: #e6edf3 !important;
        font-weight: 600 !important;
    }
    
    /* Dropping Odds: Para value yellow */
    #mvhOdds.dropping-para {
        color: #eab308 !important;
    }
    
    /* Değişim value colors based on sign */
    #mvhStake.positive {
        color: #22c55e !important;
    }
    
    #mvhStake.negative {
        color: #ef4444 !important;
    }
    
    /* Moneyway: Para value yellow */
    #mvhStake.moneyway-para {
        color: #eab308 !important;
    }
    
    /* Moneyway: Oran value white */
    #mvhOdds.moneyway-oran {
        color: #e6edf3 !important;
    }
    
    /* === ODOMETER / ROLLING DIGITS ANIMATION === */
    #mvhBigValue {
        display: inline-flex;
        overflow: hidden;
    }
    
    .odometer-digit {
        display: inline-block;
        position: relative;
    }
    
    .odometer-digit.static {
        /* No animation needed */
    }
    
    .odometer-digit.changing {
        overflow: hidden;
        height: 1.2em;
    }
    
    .odometer-digit.changing .odometer-old,
    .odometer-digit.changing .odometer-new {
        display: block;
        transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    }
    
    .odometer-digit.changing .odometer-old {
        transform: translateY(0);
    }
    
    .odometer-digit.changing .odometer-new {
        transform: translateY(0);
    }
    
    .odometer-digit.changing.animate .odometer-old {
        transform: translateY(-100%);
    }
    
    .odometer-digit.changing.animate .odometer-new {
        transform: translateY(-100%);
    }
    
    .mvh-sep {
        opacity: 0.4 !important;
    }
    
    /* === 13. TIME RANGE PILLS === */
    .mobile-time-pills {
        display: flex !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px 16px !important;
        background: #0d1117 !important;
    }
    
    .time-pill {
        padding: 6px 14px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        color: #8b949e !important;
        background: transparent !important;
        border: 1px solid #30363d !important;
        border-radius: 16px !important;
        cursor: pointer !important;
        transition: all 0.2s !important;
    }
    
    .time-pill:hover {
        background: #21262d !important;
    }
    
    .time-pill.active {
        background: #238636 !important;
        border-color: #238636 !important;
        color: #fff !important;
    }
    
    /* === 14. HIDE ZOOM/EXPORT ON MOBILE === */
    .brush-slider,
    .chart-zoom-controls,
    .chart-export-controls,
    .chart-controls-row,
    .chart-legend-filters {
        display: none !important;
    }
    
    /* === 15. CONTROLS KOMPAKT === */
    .mobile-chart-controls {
        padding: 8px 16px !important;
        background: #0d1117 !important;
        border-top: 1px solid #21262d !important;
    }
    
    .mob-ctrl-row {
        display: flex !important;
        justify-content: center !important;
        gap: 16px !important;
    }
    
    /* Hide old value panel */
    .mobile-value-panel {
        display: none !important;
    }
    
    /* === GENEL === */
    .modal-body {
        padding: 0 !important;
    }
    
    .modal-content {
        padding-bottom: 16px !important;
    }
}
