* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1e222d;
    color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-container {
    width: 100%;
    max-width: 1200px;
    height: 80vh;
    background-color: #2a2e3a;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chart-header {
    padding: 12px 15px;
    background-color: #3a3f4b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.symbol-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

#symbol {
    background-color: #2a2e3a;
    color: white;
    border: 1px solid #4a4f5b;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 14px;
}

.current-price {
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

#bid {
    color: #f44336;
}

#ask {
    color: #4CAF50;
}

.timeframes {
    display: flex;
    gap: 8px;
}

.timeframes button {
    background-color: #2a2e3a;
    color: #a0a4ad;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.timeframes button.active {
    background-color: #4CAF50;
    color: white;
}

.chart-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#priceChart {
    width: 100%;
    height: 100%;
    background-color: #1e222d;
}

.crosshair-x, .crosshair-y {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    display: none;
}

.crosshair-x {
    height: 1px;
    width: 100%;
    left: 0;
}

.crosshair-y {
    width: 1px;
    height: 100%;
    top: 0;
}

.price-tooltip {
    position: absolute;
    background-color: rgba(42, 46, 58, 0.9);
    border: 1px solid #4a4f5b;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    display: none;
}

.chart-footer {
    padding: 10px 15px;
    background-color: #3a3f4b;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.ohlc-display {
    display: flex;
    gap: 15px;
}

.ohlc-display div {
    font-family: 'Courier New', monospace;
}