* {
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0997a7;
    --secondary-color: #e9f5f7;
}

body {
    font-family: sans-serif;
    display: flex;
    height: 100vh;
}

h1,
h2,
h3 {
    color: var(--primary-color);
}

.config-header {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 10px;
}

.title {
    color: var(--primary-color);
}

.logo {
    height: 40px;
    display: block;
}

.sidebar {
    width: 50%;
    background: #f5f5f5;
    padding: 20px;
    border-right: 1px solid #ccc;
    overflow-y: auto;
}

.output {
    flex: 1;
    display: flex;
    flex-direction: column;
}
textarea {
    flex: 1;
    border: none;
    padding: 20px;
    font-family: monospace;
    font-size: 14px;
    outline: none;
    resize: none;
}
.settings {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 5px;
    top: 5px;
}
.actions {
    display: flex;
    position: absolute;
    right: 5px;
    bottom: 5px;
}

#config-search {
    width: 100%;
    padding: 4px;
    margin-bottom: 8px;
}

.config-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    color: #222;
}

.config-table input,
.config-table select {
    width: 100%;
}

.config-table thead {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: bold;
    text-align: left;
}

.config-table th,
.config-table td {
    padding: 10px 12px;
}

.config-table th {
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

/* span as checkbox */
.config-table tr span {
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    user-select: none;
}

.config-table tr.unsupported {
    opacity: 0.2;
    font-style: italic;
}

.config-table tr.checked {
    opacity: 1;
    font-weight: bold;
}

/* Alternating row colors */
.config-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.config-table tbody tr:nth-child(even) {
    background: #f0f0f0;
}

.config-table tbody tr.checked:nth-child(odd) {
    background: #90d69d;
}

.config-table tbody tr.checked:nth-child(even) {
    background: #7acb86;
}

/* Row hover effect */
.config-table tbody tr:hover {
    background: #d8e6ff;
}

/* subtle grid lines */
.config-table td {
    border-bottom: 1px solid #ddd;
}
