.groupbox {
    position: relative;
    padding: 5px 3px 3px 3px; /* top, right, bottom, left */
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 8px; /* Verklein de margin */
}
.groupbox-label {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: small;
    color: var(--mud-palette-text-primary); /* Of secondary, afhankelijk van je voorkeur */
    background-color: var(--mud-palette-background); /* Of een andere relevante achtergrondkleur */
    padding: 0 5px; /* Optioneel: om het label netjes uit te lijnen */
}
.groupbox-content {
    overflow-x: auto; /* alleen de content scrollt */
    max-width: 100%;
    box-sizing: border-box;
}
.invisible-text {
    color: transparent;
}
th {
    background-color: black !important;
    color: white !important;
    border: 1px solid gray !important;
    font-weight: bold !important;
}
.white-cell {
    background-color: white !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .white-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.gray-cell {
    background-color: silver !important;
    color: black !important;
    border: 1px solid gray !important;
}

    .gray-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green-cell {
    background-color: #d5f5e3 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green0-cell {
    background-color: white !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green0-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green1-cell {
    background-color: #d5f5e3 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green1-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green2-cell {
    background-color: #acecc8 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green2-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green4-cell {
    background-color: #83e2ac !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green4-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green8-cell {
    background-color: #5ad891 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green8-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green16-cell {
    background-color: #30cf75 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green15-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green32-cell {
    background-color: #27a55e !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green32-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.green64-cell {
    background-color: #1d7c46 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .green64-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.yellow-cell {
    background-color: #fcf3cf !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .yellow-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red-cell {
    background-color: #fadbd8 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red0-cell {
    background-color: white !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red0-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red1-cell {
    background-color: #fadbd8 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red1-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red2-cell {
    background-color: #f6c0bb !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red2-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red4-cell {
    background-color: #f0968e !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red4-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red8-cell {
    background-color: #ea6c61 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red8-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red16-cell {
    background-color: #e54334 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red16-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red32-cell {
    background-color: #cb291a !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red32-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.red64-cell {
    background-color: #9e2015 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .red64-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.blue-cell {
    background-color: #d6eaf8 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .blue-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.purple-cell {
    background-color: #e8daef !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .purple-cell:hover {
        background-color: #4A90E2 !important;
        color: white !important;
    }
.border-cell {
    background-color: transparent !important;
    border: 1px solid gray !important;
}
    .border-cell:hover {
        background-color: navy !important;
        color: white !important;
    }
.menulink {
    color: #cccccc !important;
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out
}
    .menulink:hover {
        color: #a5ce3a !important;
        display: block;
        padding: .5rem 1rem;
        text-decoration: none;
        transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out
    }
.menuline {
    background-color: #a5ce3a;
    border: none;
    height: 1px;
}
.blur {
    backdrop-filter: blur(10px);
}
.mud-dialog .mud-dialog-title {
    background-color: black;
    color: white;
    height: 45px;
    padding: 10px 0px 10px 20px; /* top right bottom left */
    cursor: move;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.mud-dialog {
    border: 1px solid var(--mud-palette-primary);
    border-radius: 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    cursor: default;
}
.no-footer .mud-table-foot {
    display: none !important;
}
.hourglass-cursor {
    cursor: wait !important;
}
.zeerpositief-cell {
    background-color: #14AE2C !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .zeerpositief-cell:hover {
        background-color: black !important;
        color: #14AE2C !important;
    }
.positief-cell {
    background-color: #88BC1B !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .positief-cell:hover {
        background-color: black !important;
        color: #88BC1B !important;
    }
.matig-cell {
    background-color: #EEBE13 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .matig-cell:hover {
        background-color: black !important;
        color: #EEBE13 !important;
    }
.negatief-cell {
    background-color: #F0840A !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .negatief-cell:hover {
        background-color: black !important;
        color: #F0840A !important;
    }
.zeernegatief-cell {
    background-color: #E22014 !important;
    color: black !important;
    border: 1px solid gray !important;
}
    .zeernegatief-cell:hover {
        background-color: black !important;
        color: #E22014 !important;
    }
.compact-select .mud-input {
    height: 40px; /* Pas dit aan op basis van je MudTextField */
    padding-top: 0px;
    padding-bottom: 0px;
    display: flex;
    align-items: center;
}
.compact-select .mud-input-control {
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
}
.floating-dialog {
    position: fixed;
    z-index: 1000;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-background);
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 4px;
}
.floating-header {
    background-color: black;
    color: white;
    height: 45px;
    padding: 10px 0px 10px 20px; /* top right bottom left */
    cursor: move;
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.close-button {
    background: none;
    height: 45px;
    width: 45px;
    color: white;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}
    .close-button:hover {
        background: red;
    }
.minimize-button {
    background: none;
    height: 45px;
    width: 45px;
    color: white;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
}
    .minimize-button:hover {
        background: gray;
    }
.floating-content {
    padding: 1rem;
}
.floating-dialog.minimized {
    height: auto;
    overflow: hidden;
}
.floating-dialog.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1000;
}
.header-buttons {
    float: right;
}
    .header-buttons button {
        background: none;
        border: none;
        cursor: pointer;
        margin-left: 4px;
        font-size: 14px;
    }
.hidden {
    display: none;
}
.resize-handle {
    position: absolute;
    width: 16px;
    height: 16px;
    right: 0;
    bottom: 0;
    cursor: se-resize;
    background-color: transparent;
}
.chat-message {
    margin: 0.5rem 0;
}
    .chat-message.user {
        text-align: right;
    }
    .chat-message.ai {
        text-align: left;
    }
.markdown-body {
    font-family: system-ui, sans-serif;
    padding: 0.75rem;
    border: 1px solid gray !important;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.streaming {
    font-family: monospace;
    color: var(--mud-palette-text-primary);
    white-space: pre-wrap;
}
.copy-button {
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
