body {
    margin: 0;
    background: #111;
    font-family: Arial;
    color: white;
    display: flex;
    justify-content: center;
    padding: 30px;
}

.app {
    width: 100%;
    max-width: 1300px;
}

h1 {
    text-align: center;
    color: #6fccdd;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

input {
    padding: 12px;
    width: 140px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #f15822;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

    button:hover {
        opacity: 0.9;
    }

#status {
    text-align: center;
    margin-bottom: 15px;
    color: #bbb;
}

#pairInfo {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
}

.chartWrap {
    background: white;
    border-radius: 14px;
    padding: 20px;
}

canvas {
    width: 100%;
    height: 600px;
    display: block;
}
.bottomRow {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.chartWrap {
    flex: 1;
    background: white;
    border-radius: 14px;
    padding: 20px;
}

.tableWrap {
    flex: 1;
    background: white;
    border-radius: 14px;
    padding: 20px;
    overflow-x: auto;
    color: black;
}

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

#tradeTable th,
#tradeTable td {
    padding: 4px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

@media (max-width: 1000px) {

    .bottomRow {
        flex-direction: column;
    }
}
