/* CSS styling for the heading */
h1 {
    height: 40px;
    text-align: left;
    font-size: 36px;
    color: #F7F9FB;
    background-color: #687864;
    padding: 10px;
    margin-top: -20px;
    margin-left: 40px;
    margin-right: -20px;
}

/* CSS styling for the page */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F7F9FB;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.container {
    width: 100%;
}

#description {
    color: #687864;
    margin-bottom: 30px;
}

/* CSS styling for the form elements */
label {
    display: block;
    margin-bottom: 5px;
}

textarea {
    width: 460px;
    height: 150px;
    margin-bottom: 20px;
}

input[type="number"] {
    width: 50px;
}

.options-container {
    display: flex;
    max-width: 460px;
    margin-bottom: 20px;
}

.options-container-stack {
    display: block;
    max-width: 230px;
}

.option {
    flex: 1;
    width: 220px;
    margin-right: 10px;
}

.option-parallel {
  display: flex;
  width: 220px;
  align-items: center;
  margin-bottom: 5px;
}

.option-checkbox {
  margin-right: 10px;
}

.option-label {
  margin-bottom: 0;
}

.option-checkbox {
    margin-right: 5px;
}

.split-option {
    display: flex;
    margin-bottom: 5px;
}

.split-option label {
    flex: 0 0 120px;
}

.split-option select {
    flex: 1;
    margin-right: 10px;
    max-width: 120px;
}

.custom-separator {
    display: none;
    max-width: 80px;
}

.sub-options {
    max-width: 460px;
    padding: 20px 5px 1px 5px;
    margin-bottom: 5px;
    border-top: 1px solid #687864;
    border-bottom: 1px solid #687864;
}

button {
    margin: 10px;
}

table {
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    padding: 10px;
    border: 1px solid #5085A5;
    background-color: #31708E;
    color: white;
}

td {
    padding: 10px;
    border: 1px solid #5085A5;
    background-color: #F7F9FB;
    color: #687864;
}

.home-button {
    position: absolute;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #30382F;
    color: #F7F9FB;
    font-size: 24px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #525E4E;
}

a {
    text-decoration: none;
}

.clear {
    color: #590404;
}

.data-box {
    max-width: 440px;
    border: 1px solid #5085A5;
    background-color: #F7F9FB;
    color: #687864;
    padding: 0px 10px;
    margin-top: 10px;
}

.data-box pre {
  white-space: pre-wrap; /* Allow word wrapping */
  word-wrap: break-word; /* Handle long words */
  font-family: Arial, sans-serif;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
  
    h1 {
        margin-top: -10px;
        margin-left: 50px;
        margin-right: -10px;
    }
  
    .container {
        width: 100%;
    }
  
    input[type="checkbox"] {
        width: 25px;
        height: 25px;
    }
  
    textarea {
        width: 99%;
    }
  
    input, button {
        width: 30%;
        margin-bottom: 10px;
    }

    input, select, button {
        padding: 10px;
    }
    
    button {
        margin: 10px 4px 10px 4px;
    }
}

/* CSS styling for the toggle switch */
.toggle-container {
    display: flex;
    align-items: center;
}

.toggle-option {
  display: flex;
}

.toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 20px 5px 20px;
    color: #000000;
    text-decoration: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: background-color 0.2s ease;
}

.toggle-label[data-format="table"] {
    margin-right: 2px;
}

.toggle-label[data-format="list"] {
    margin-left: 2px;
}

.toggle-label:hover {
    color: #F7F9FB;
    background-color: #687864;
}

.toggle-label.active {
    color: #F7F9FB;
    background-color: #687864;
}

.toggle-separator {
    margin: 0 5px;
}

.custom-encapsulator {
    display: none;
}

.custom-encapsulator-input {
    max-width: 30px;
    margin-right: 10px;
}

