.workspace {
    width: 100%;
    height: 100vh;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.draggable-window {
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    cursor: move;
}

.title-bar {
    background-color: #007bff;
    color: white;
    padding: 5px;
    font-weight: bold;
}

.close-button {
    position: absolute;
    top: 2px;
    right: 5px;
    background: transparent;
    color: red;
    border: none;
    font-weight: bold;
    cursor: pointer;
}
/*.draggable-window {
    background: white;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
}*/

.chart-title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 5px;
}

.chart-area {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 5px;
}

.chart-notes {
    font-size: 12px;
    color: gray;
    text-align: center;
    margin-top: 10px;
}

/* Fix Right Panel Layout */
.right-panel {
    width: 250px; /* Ensure consistent width */
    min-width: 220px;
    max-width: 250px;
    padding: 10px;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start; /* Ensures content stays at the top */
    gap: 10px;
    overflow: hidden; /* Prevents unexpected stretching */
}

/* Fix the broken selector and ensure the container behaves correctly */
.wt-date-time-container {
    display: flex;
    flex-direction: row; /* Keep inputs and buttons in a row */
    align-items: center;
    justify-content: start;
    gap: 10px;
    height: auto;
    min-height: 30px; /* Ensure it doesn't collapse */
    max-height: 40px;
    overflow: visible; /* Ensures elements inside are not cut off */
}

/* Fix Input Field and Button Heights */
.wt-date-time-container input {
    height: 24px !important;
    font-size: 14px;
    padding: 2px 8px;
    border: 1px solid #aaa;
    border-radius: 4px;
    width: 120px;
}

.wt-button {
    height: 24px !important;
    font-size: 14px;
    padding: 2px 10px;
    border: 1px solid #777;
    border-radius: 4px;
    background-color: #f0f0f0;
    cursor: pointer;
    white-space: nowrap; /* Ensures text doesn't wrap */
}

.wt-button:hover {
    background-color: #ddd;
}
