body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
}

.toolbar {
    padding: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle{
    padding: 10px 15px;
    font-size: 14px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropdown-toggle:hover {
    background-color: #0056b3;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.dropdown-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px;
    font-size: 14px;
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropdown-menu button:hover {
    background-color: #f4f4f4;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.content {
    display: flex;
    padding: 15px;
    gap: 15px;
}



.editor,
.output {
    flex: 1;
    padding: 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 300px;
    height: 90%;
    align-items: center;
    overflow: scroll;
}

.editor textarea {
    width: 80%;
    height: 500px;
    font-family: monospace;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    /* resize: both; */
    align-items: center;
}

.output pre {
    width: 80%;
    height: 500px;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
    overflow: scroll;
    /* max-height: 300px; */
}

.output-table {
    width: 100%;
    border-collapse: collapse;
}

.output-table th,
.output-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

.copybutton {
    width: 100%;
    padding: 10px 15px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.copybutton:hover {
    background: #45a049;
}

@media (max-width: 600px) {
    .toolbar {
        flex-wrap: wrap;
        /* Allows buttons to wrap to the next row */
        justify-content: flex-start;
        /* Aligns to the start on smaller screens */
    }
}

/* footer {
    text-align: center;
    padding: 15px;
    background: #f1f1f1;
} */