@media (max-width: 767.98px) {
  table.table thead {display: none;}
  table.table tbody tr {display: block;margin-bottom: 1rem; border: 1px solid #dee2e6;border-radius: 0.5rem;padding: 0.75rem;position: relative;}
  .mobile-entry-header {display: flex;justify-content: center;width:100%;align-items: center;margin-bottom: 0.75rem;}
  .mobile-symbol {font-weight: bold;font-size: 1rem;margin-right: 3ch;}
  .mobile-status {font-size: 0.875rem;}
  table.table tbody tr td {display: flex;justify-content: space-between;padding: 0.5rem 0;border: none;border-bottom: 1px solid #eee;}
  table.table tbody tr td::before {content: attr(data-label);font-weight: bold;margin-right: 1rem;flex: 1;color: #555;}
  table.table tbody tr td:last-child {border-bottom: none;}
  table.table tbody tr td > *:not(:last-child) {margin-right: 0.5rem;}
  .hide-mobile {display: none !important;}
}

.ib-modal-fullscreen {
    width: 98vw !important;
    height: 96vh !important;
    margin: 1% !important;
    display: flex;
    flex-direction: column;
}
.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.modal-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
    height: 100%;
}
#chartModalContent {
    position: relative;
}

#tradingpair-candle-chart {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    display: block !important;
}
#tradingpair-tick-chart {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 600px;
    height: 300px;                /* by ChatGPT: Höhe realistisch zum Chart */
    z-index: 2000;
    padding: 4px 4px 0 4px;       /* by ChatGPT: kein zusätzlicher Boden-Padding */
    background-color: rgba(255,255,255,0.5); /* halbtransparent reicht */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: visible;
    cursor: move;
}


.rua-label {
    position: absolute;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    pointer-events: none;
}

.top-right {
    top: 7px;
    right: 320px;
}

.top-left {
    top: 7px;
    left: 26px;
}
