:root {
    --primary: #f3ba2f;
    --secondary: #1e2329;
    --bg: #0b0e11;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --green: #02c076;
    --red: #f84960;
    --text: #eaecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: radial-gradient(circle at top right, #1e2329, #0b0e11);
    color: var(--text);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary);
}

.status-badge {
    background: var(--glass);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.glass-select {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 8px 15px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

.glass-select option {
    background: #121212;
    color: white;
}

.glass-select-small {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 25px;
}

.glass-select-small option {
    background: #121212;
    color: white;
}

.timeframe-selector {
    display: flex;
    gap: 8px;
    align-items: center;
}

.history-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.glass-input-small {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    outline: none;
}

.glass-input-small::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.strategy-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(2, 192, 118, 0.1);
    color: var(--green);
}

.indicator.cb {
    background: rgba(248, 73, 96, 0.1);
    color: var(--red);
}

.indicator.hidden {
    display: none;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

.pulse {
    box-shadow: 0 0 0 rgba(2, 192, 118, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 192, 118, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(2, 192, 118, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(2, 192, 118, 0);
    }
}

.overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.glass::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.6s;
    pointer-events: none;
}

.glass:hover {
    transform: translateY(-8px);
    border-color: rgba(243, 186, 47, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(243, 186, 47, 0.05);
}

.glass:hover::after {
    left: 100%;
}

.card h3 {
    font-size: 0.9rem;
    color: #848e9c;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.value {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.value small {
    font-size: 1rem;
    color: #848e9c;
}

.green {
    color: var(--green);
}

.red {
    color: var(--red);
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

small {
    opacity: 0.7;
    font-size: 0.8em;
}

.trend {
    font-size: 0.85rem;
    font-weight: 600;
}

.up {
    color: var(--green);
}

.charts-section {
    margin-bottom: 30px;
}

.chart-container {
    height: 400px;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    color: #848e9c;
    padding: 12px;
    font-size: 0.85rem;
}

td {
    padding: 16px 12px;
    border-top: 1px solid var(--glass-border);
}

.empty {
    text-align: center;
    color: #848e9c;
    padding: 40px;
}

footer {
    text-align: center;
    margin-top: 50px;
    color: #848e9c;
    font-size: 0.8rem;
}

/* Security & Settings Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.login-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 40px;
}

.login-card h2 {
    margin-bottom: 10px;
}

.login-card p {
    color: #848e9c;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.login-card input {
    width: 100%;
    padding: 15px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
}

.login-card input:focus {
    border-color: var(--primary);
    outline: none;
}

button {
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn,
#login-btn,
#verify-otp-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
}

.primary-btn:hover,
#login-btn:hover,
#verify-otp-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(243, 186, 47, 0.3);
}

.error-msg {
    color: var(--red);
    margin-top: 15px;
    font-size: 0.85rem;
    min-height: 20px;
}

.blurred {
    filter: blur(20px);
    pointer-events: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.icon-btn:hover {
    background: var(--glass-border);
    border-color: var(--primary);
}

.icon-btn.logout:hover {
    border-color: var(--red);
    color: var(--red);
}

/* Settings Panel */
.settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    z-index: 900;
}

.settings-panel.hidden {
    display: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.close-btn {
    background: none;
    border: none;
    color: #848e9c;
    font-size: 1.5rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.input-group label {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.hint {
    font-size: 0.75rem;
    color: #848e9c;
    margin-bottom: 10px;
    line-height: 1.2;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text);
    transition: all 0.3s ease;
}

.input-group select option {
    background: #1e2329;
    color: white;
}

.input-group input:focus, .input-group select:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.2);
    outline: none;
}

/* Advanced Settings Toggles */
.settings-grid.advanced {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.toggle-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
}

.toggle-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle-control label {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: none !important;
}

.toggle-control input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.advanced .hint {
    margin-bottom: 0;
    font-size: 0.7rem;
}

#qr-container canvas {
    background: white;
    padding: 10px;
    border-radius: 12px;
    margin: 15px 0;
}

.small {
    font-size: 0.75rem !important;
}

@keyframes flickerUp {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
        text-shadow: 0 0 10px var(--green);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes flickerDown {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
        text-shadow: 0 0 10px var(--red);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Spinner */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 15px 0 5px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #ff9900);
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(243, 186, 47, 0.3);
}

/* Scrollable Table */
.table-wrapper.scrollable {
    max-height: 600px;
    overflow-y: auto;
}

.table-wrapper.scrollable::-webkit-scrollbar {
    width: 6px;
}

.table-wrapper.scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.empty {
    padding: 40px !important;
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
}

/* Asset Bar Styling - Premium Version */
.asset-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 35px !important;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary);
    background: linear-gradient(90deg, rgba(243, 186, 47, 0.1), rgba(255, 255, 255, 0.02)) !important;
    box-shadow: inset 0 0 20px rgba(243, 186, 47, 0.05);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.asset-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(243, 186, 47, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(243, 186, 47, 0.2);
}

.asset-details {
    display: flex;
    flex-direction: column;
}

.asset-bar .label {
    font-size: 0.75rem;
    color: #848e9c;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.asset-bar .value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.asset-valuation {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.asset-valuation .value {
    font-size: 1.4rem;
    opacity: 0.9;
    color: var(--text);
}

.asset-valuation .label {
    font-size: 0.7rem;
    color: #848e9c;
    margin-bottom: 2px;
}

.chart-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 17, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--primary);
}

.chart-loader.hidden {
    display: none;
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@media (max-width: 768px) {
    .asset-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Orders Dual Columns */
.orders-section.dual-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.buy-orders {
    border-top: 4px solid var(--green);
}

.sell-orders {
    border-top: 4px solid var(--red);
}

.badge.green { background: rgba(2, 192, 118, 0.2); color: var(--green); }
.badge.red { background: rgba(248, 73, 96, 0.2); color: var(--red); }

/* --- Premium Market Price Card --- */
.price-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.price-card.up {
    border-color: rgba(2, 192, 118, 0.4);
    box-shadow: 0 0 40px rgba(2, 192, 118, 0.15);
}

.price-card.down {
    border-color: rgba(248, 73, 96, 0.4);
    box-shadow: 0 0 40px rgba(248, 73, 96, 0.15);
}

.price-display {
    text-align: center;
}

.price-main {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 10px 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.price-main small {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.6;
}

.price-arrow {
    font-size: 2rem;
}

.percentage-badge {
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.percentage-badge.up {
    background: rgba(2, 192, 118, 0.2);
    color: #02c076;
}

.percentage-badge.down {
    background: rgba(248, 73, 96, 0.2);
    color: #f84960;
}

.price-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 600;
}

/* Animations */
@keyframes pricePulseUp {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pricePulseDown {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* --- Ultra Premium Total Card --- */
.total-card, .price-card, .status-card, .asset-bar {
    position: relative;
    overflow: hidden;
}

.total-card::before, .price-card::before, .status-card::before, .asset-bar::before {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
    transition: all 0.5s ease;
}

.total-card::before { content: '฿'; }
.price-card::before { content: '📈'; font-size: 8rem; right: -10px; bottom: -10px; }
.status-card::before { content: '⚡'; font-size: 9rem; }
.asset-bar::before { content: '₿'; right: 20px; bottom: -40px; }

.glass:hover::before {
    transform: rotate(-10deg) scale(1.1);
    color: rgba(243, 186, 47, 0.05);
}

.total-card {
    padding: 30px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-left: 5px solid var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.total-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.total-card .price-label {
    margin: 0;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.total-card .value {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    margin: 10px 0;
}

.total-card .subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 192, 118, 0.1);
    padding: 6px 14px;
    border-radius: 10px;
    font-weight: 700;
    color: #02c076;
    margin-top: 5px;
    border: 1px solid rgba(2, 192, 118, 0.1);
    text-shadow: 0 0 10px rgba(2, 192, 118, 0.2);
}



.status-card {
    position: relative;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    background: rgba(2, 192, 118, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.asset-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2) !important;
}

.asset-valuation {
    color: var(--text-dim);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .orders-section.dual-columns {
        grid-template-columns: 1fr;
    }
}

.flicker-up {
    animation: flickerUp 0.5s ease;
}

.flicker-down {
    animation: flickerDown 0.5s ease;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 25px;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .status-badge {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
        order: 10;
        /* Push to bottom of header */
    }

    .overview {
        grid-template-columns: 1fr;
    }

    .settings-panel {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        border-radius: 0;
    }
}

/* Console Styling */
.console-section {
    margin-top: 30px;
}

.console-card {
    padding: 20px !important;
}

.console-output {
    background: #000;
    color: #0f0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    padding: 15px;
    border-radius: 12px;
    height: 300px;
    overflow-y: auto;
    border: 1px solid #333;
    line-height: 1.5;
}

.log-line {
    margin-bottom: 6px;
    border-bottom: 1px solid #111;
    padding-bottom: 4px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.log-line .time {
    color: #888;
    min-width: 85px;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.log-line .msg {
    flex-grow: 1;
    word-break: break-all;
}

.log-line.system {
    color: #888;
    font-style: italic;
}

.log-line.info {
    color: #0f0;
}

.log-line.error {
    color: #f84960;
}

.console-output::-webkit-scrollbar {
    width: 8px;
}

.console-output::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.badge {
    background: var(--red);
    color: white;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Fleet Overview (Multi-Pair) Styling */
.fleet-overview {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding: 5px 5px 15px 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.fleet-overview::-webkit-scrollbar {
    height: 4px;
}

.fleet-overview::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.mini-card {
    min-width: 160px;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 18px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mini-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.mini-card.active {
    background: rgba(243, 186, 47, 0.1);
    border-color: rgba(243, 186, 47, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(243, 186, 47, 0.1);
}

.mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-symbol {
    font-size: 0.85rem;
    font-weight: 700;
    color: #848e9c;
}

.mini-card.active .mini-symbol {
    color: var(--primary);
}

.mini-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #444;
}

.mini-status-dot.online {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.mini-price {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.mini-change {
    font-size: 0.7rem;
    font-weight: 600;
}