.input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

#input-textarea {
    margin-bottom: 18px;
}

.result-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.result-summary {
    margin: 0;
    font-weight: bold;
}

#remove-and-copy {
    flex: 0 0 auto;
    padding: 10px 16px;
    border: solid 1px #087fd1;
    border-radius: 5px;
    background: #087fd1;
    color: #fff;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

#remove-and-copy:hover:not(:disabled),
#remove-and-copy:focus-visible {
    background: #006ab2;
}

#remove-and-copy:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.copy-status {
    min-height: 1.5em;
    margin: 0 0 10px;
    color: #08783e;
    font-weight: bold;
}

.copy-status.error {
    color: #c62828;
}

.empty-result {
    min-height: 100px;
    padding: 24px 16px;
    box-sizing: border-box;
    border: solid 1px #c7c7c7;
    border-radius: 5px;
    background: #fff;
    color: #666;
    text-align: center;
}

.empty-result.clean {
    border-color: #20b66b;
    background: #f0fff7;
    color: #08783e;
}

.result-table-wrap {
    overflow-x: auto;
    border: solid 1px #c7c7c7;
    border-radius: 5px;
    background: #fff;
}

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

.result-table th,
.result-table td {
    padding: 12px 14px;
    border-bottom: solid 1px #e5e5e5;
    text-align: left;
    white-space: nowrap;
}

.result-table th {
    background: #f4f6f8;
}

.result-table tr:last-child td {
    border-bottom: 0;
}

.unicode-code {
    padding: 3px 7px;
    border-radius: 4px;
    background: #fff0f1;
    color: #b4232b;
    font-family: monospace;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .result-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    #remove-and-copy {
        width: 100%;
    }

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