body {
    font-family: Arial, sans-serif;
    margin: 40px;
}

h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group2 label {
    margin-bottom: 0;
    white-space: nowrap;
}

.form-group2 input[type="text"] {
    flex: 1;
    width: auto;
}

label {
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    font-family: monospace;
}

select {
    width: auto;
}

textarea {
    height: 200px;
}

button {
    padding: 10px 20px;
    cursor: pointer;
}

#result {
    margin-top: 25px;
    background: #f4f4f4;
    padding: 15px;
    white-space: pre-wrap;
    border: 1px solid #ccc;
    font-family: monospace;
}
/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 5px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: black;
}
.spacer {
    height: 20px;
}