#phpbb .copy-message-editor {
    width: 100%;
}

#phpbb fieldset.fields1 .copy-message-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 2px 4px;
    border: 1px solid #bdbdbd;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    background-color: #ffffff;
    transition: border-color .15s ease;
}

#phpbb .copy-message-editor:hover .copy-message-toolbar,
#phpbb .copy-message-editor:focus-within .copy-message-toolbar {
    border-color: #13a4ec;
}

#phpbb .copy-message-editor > textarea.copy-message-textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    border-radius: 0 0 3px 3px;
}

#phpbb .copy-message-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #212121;
    cursor: pointer;
    opacity: .4;
    transition: color .15s ease, opacity .15s ease;
}

#phpbb .copy-message-editor.has-text .copy-message-button {
    opacity: 1;
}

#phpbb .copy-message-button:disabled {
    cursor: default;
}

#phpbb .copy-message-button:not(:disabled):hover,
#phpbb .copy-message-button:not(:disabled):focus-visible {
    background: transparent;
    color: #13a4ec;
    outline: none;
}

#phpbb .copy-message-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
}

#phpbb .copy-message-icon .o-icon,
#phpbb .copy-message-icon svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

#phpbb .copy-message-icon[hidden] {
    display: none;
}

#phpbb .copy-message-button.is-copied .copy-message-icon-copied {
    color: #009900;
}
