/* CodeMirror styles */
/* Change keywords in Modelica to bold and green */
.cm-keyword {
font-weight: bold;
color: green;
}

/* Change comments to italic and gray */
.cm-comment {
font-style: italic;
color: #888888;
}

/* Strings in dark red */
.cm-string {
color: darkred;
}

/* Numbers in dark blue */
.cm-number {
color: darkblue;
}

/* Variables in teal */
.cm-variable {
color: teal;
}

/*CodeMirror styles end */

/* Material icons */
.material-symbols-outlined {
    font-size: 20px;
}

body{
    font-family: Arial, Helvetica, sans-serif;
}

.header{
    background-color: rgb(96, 103, 156);
    padding: 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    display: flex;
    align-items: center;
}

#headerTitle {
    font-size: 24px;
}

.iconButton{
    background-color: rgb(9, 20, 102);
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
    max-height: 40px;
    transition: 0.2s;
}

.iconButton:hover {
    background-color: rgb(12, 25, 128);
}

.buttonText {
    margin-left: 5px;
}

.customSelectOptions{
    
    position: absolute;
    background-color: rgb(247, 248, 255);
    z-index: 100;
    font-size: 13px;
    min-width: 50px;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    height: 0px;
    transition: 0.1s;
    transition-property: height;
}

.customSelectOptions.active{
    height: min-content; /* fallback for browsers that do not support calc-size */
    height: calc-size(min-content, size);
}

.customSelectOption
{
    padding: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: rgb(255, 255, 255);
    transition: 0.1s;
}

.customSelectOption:nth-of-type(even){
    background-color: rgb(240, 240, 240);
}

.customSelectOption:hover{
    background-color: rgb(209, 215, 255);
}

.customSelectSelect{
    z-index: 120;
    margin: 5px;
    margin-bottom: 0px;
    border-radius: 2px;
    padding: 2px;
    border: 0px;
    background-color: rgb(231, 231, 231);
    cursor: pointer;
    width: min-content;
    min-width: 40px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.1s;
    user-select: none;
}

.customSelectSelect:hover{
    background-color: rgb(209, 215, 255);
}

.customSelectSelect:focus{
    outline-color: black;
}

.customSelectSelect.disabled{
    opacity: 0.5;
    pointer-events: none;
}

.customSelectText{
    margin: 5px;
    display: inline-block;
    white-space: nowrap;
}

.modelTextDiv{
    padding: 10px;
}

.modelSelectDiv{
    padding: 10px;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    flex-direction: row;
}

.codeMirrorWrapper{
    padding: 10px;
    padding-bottom: 0px;
    background-color: rgb(209, 215, 255);
}

.simulationDiv{
    padding: 10px;
    background-color: rgb(209, 215, 255);
    height: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.simulateButton {
    height: min-content;
    cursor: pointer;
    padding-top: 3px;
}

.simulateButtonIcon{
    color: green;
    transition: 0.2s;
    font-size: 36px;
    margin-right: 1px;
}

.simulateButtonIcon:hover{
    color: darkgreen;
    margin-right: 0px;
    font-size: 38px;

}

.simulateButtonIcon.small{
    color: rgb(57, 68, 158);
    font-size: 20px;
    margin-right: 6px;
}

.simulateButtonIcon.small:hover{
    color: rgb(9, 20, 102);
    margin-right: 5px;
    font-size: 22px;
}

.simulateButtonIcon.small.disabled{
    opacity: 0.3;
}

.stopTimeLabel{
    font-size: 12px;
}
.inputField{
    margin: 4px;
    padding: 4px;
    margin-left: 10px;
    border: none;
    background-color: rgb(230, 241, 255)
}

#error{
    padding: 10px;
    border: 1px solid red;
    background-color: bisque;
}

.dialogContainer{
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: left;
    min-width: 200px;
}

.dialogTitle{
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 5px;
    text-align: left;

}

#dialog{
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.row {
    margin-left: 5px;
}

.resultContainer {
    margin-right: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.plotContainer{
    min-width: 300px;
    max-width: 800px;
    border: 2px solid rgb(96, 103, 156);
    padding: 10px;
    border-radius: 2px;
}
